Re: [fpc-pascal] fast text processing

2007-10-31 Thread Vincent Snijders
Florian Klaempfl schreef: Vincent Snijders schrieb: Why not SetLength(s,i)? StrLen is _very_ expensive. I don't see a way how another #0 can be before. No more strlen: http://www.hu.freepascal.org/fpcircbot/cgipastebin?msgid=1432 Vincent ___ fpc

Re: [fpc-pascal] fast text processing

2007-11-01 Thread Vincent Snijders
Daniël Mantione schreef: Op Wed, 31 Oct 2007, schreef Vincent Snijders: Florian Klaempfl schreef: Vincent Snijders schrieb: Why not SetLength(s,i)? StrLen is _very_ expensive. I don't see a way how another #0 can be before. No more strlen: http://www.hu.freepascal.org/fpcircbot/cgipastebin

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread Vincent Snijders
Marco van de Voort schreef: http://shootout.alioth.debian.org/gp4/benchmark.php?test=alllang=all The reason is that D's mean degraded from 1.40 to 1.43. I wonder how that could happen. They change often. Clean is also quite variable. I assume the differences are simply in the magnitude of

Re: [fpc-pascal] FPC now 3rd in shootout

2007-11-05 Thread Vincent Snijders
S. Fisher schreef: Is it true that a slow program has a worse effect on the shootout results than a missing program? That seems wrong to me. To me is seems wrong too, but is nevertheless the case. Look carefully at the scoring rules at

Re: [fpc-pascal] Faster fannkuch?

2007-11-07 Thread Vincent Snijders
S. Fisher schreef: This is faster than the one at the shootout (shootout.alioth.debian.org/gp4/benchmark.php?test=fannkuchlang=fpascalid=3) on my computer. See if it's faster on yours. Quite possible. I made some tweaks so it would work better with the fpc 2.0.4 register allocater, but I

Re: [fpc-pascal] GSoC

2007-11-12 Thread Vincent Snijders
Musan Antal schreef: Was you ever considering to get involved in the Google Summer of Code? There are lot of Open-Source projects in it, I think it would also be in the benefit of FPC to get some developers. But what do you think about this? It is a good idea. FPC applied twice and was

Re: [fpc-pascal] fpc 2.2.1 mysql50 is broken on complex queries

2007-11-26 Thread Vincent Snijders
Bee schreef: Just note in the related reports that in your relevant branch (2.2.1 + exact svn revision) the problem still persists. Done: 0010272 No, this is a new bug report, not the related reports. :-) Vincent ___ fpc-pascal maillist -

Re: [fpc-pascal] Capture HeadTrace output to file?

2007-11-30 Thread Vincent Snijders
Graeme Geldenhuys schreef: Hi, If I compile a project the -gh (Heaptrc unit), how to I capture the output generated when I quite the application to a file? I tried the normal: $./text out.log But that doesn't work... the out.log is empty. RTFM for the log=... use

Re: [fpc-pascal] can we have fpc's doc in chm format?

2007-12-02 Thread Vincent Snijders
Michael Van Canneyt schreef: On Sun, 2 Dec 2007, Bisma Jayadi wrote: Can we have fpc's doc in chm format? It's easier to navigate and search compare to other formats. :) The reference material: If you complete the chm backend of fpdoc, yes. The manuals: definitely out. I once made a chm

Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2007-12-03 Thread Vincent Snijders
Adrian Maier schreef: - The guide should avoid ending up like this one : http://wiki.lazarus.freepascal.org/Lazarus_Database_Tutorial which contains 6 tutorials , each having its own, unique structure. Some tutorials are verbose, others are shorter . Creating a connection is different for each

Re: [fpc-pascal] Re: FCL-DB/SQLDB docs started

2007-12-03 Thread Vincent Snijders
Adrian Maier schreef: I can give it a try. Where should i put the skeleton once I think about it ? here on the mailing list , or you are suggesting me to modify the online page ? Or create a new page and possibly move contents from the existing pages. Vincent

Re: [fpc-pascal] copy(), length(), and setlength() is not mentioned in fpc docs?

2007-12-05 Thread Vincent Snijders
Bee schreef: I have documentation of those at: http://lazarus-ccr.sourceforge.net/docs/rtl/system/stringfunctions.html Yes, they are there on fpc doc for fpc 2.0.4. But when I open fpc doc on fpc 2.2.0, the detail pages of those routines are gone. This is documentation generated with fpc

Re: [fpc-pascal] copy(), length(), and setlength() is not mentioned in fpc docs?

2007-12-05 Thread Vincent Snijders
Bee schreef: This is documentation generated with fpc 2.3.1 source code. Ah, there must be something wrong with fpc 2.2.0 generated documentation. :( BTW... where can I download laz 9.24 documentation? You can't, but watch this package:

Re: [fpc-pascal] copy(), length(), and setlength() is not mentioned in fpc docs?

2007-12-05 Thread Vincent Snijders
Bee schreef: http://www.freepascal.org/docs-html/rtl/system/stringfunctions.html That's exactly what I got. Notice that those 3 routines I mentioned are not formed as link to further explanation. I have documentation of those at:

Re: [fpc-pascal] 2x HeapTrc: output with -gl on ppcx64; QuickTrace/KeepReleased bug?

2007-12-14 Thread Vincent Snijders
Tom Verhoeff schreef: We use the HeapTrc facility in our education to get an impression of memory management issues in programs submitted for assignments. Typically our Peach.win.tue.nl system runs programs to test functionality and robustness (i.e. test for proper precondition checking through

Re: [fpc-pascal] FPC + GTK2 : Using variable into a Widget name ?

2008-01-04 Thread Vincent Snijders
[EMAIL PROTECTED] schreef: Hi, I use FPC with GTK2 and I have the following problem : In a loop with I'd like to be able to use the indice (incremented integer) on the name of widget to perform some actions. Use an array. Here is an example : var pFSImage01, pFSImage02, pFSImage03 :

Re: [fpc-pascal] Maybe a new fpc book :)

2008-01-06 Thread Vincent Snijders
Ingemar Ragnemalm schreef: On Jan 5, 2008, at 11:11 AM, Florian Klaempfl wrote: Speaking of books for teaching FPC, could one not take an old classic Pascal book and update it with the news? There are many abandoned books that the author may enjoy seeing brought back to life. But maybe it is

Re: [fpc-pascal] HTML or RichText viewer components

2008-01-07 Thread Vincent Snijders
Graeme Geldenhuys schreef: Anybody got some thoughts or code to offer? Maybe somebody saw a article explaining such a process (no matter the language). Code for html viewer: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/components/turbopower_ipro/?root=lazarus Code for RTF viewer:

Re: [fpc-pascal] Re: -Xg flag and lineinfo/lnfodwrf support

2008-01-20 Thread Vincent Snijders
Fabio Dell'Aria schreef: Ok Peter, I'm waiting for your news. Tip: subscribe to http://svn.freepascal.org/feeds/fpcsvn.rss. Vincent ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Lazarus with FPC 2.3.1 i386 Mac OSX

2008-02-05 Thread Vincent Snijders
Bent Normann Olsen schreef: Hi all, Anyone having an idea when Lazarus is to be released with FPC 2.3.1 for i386 Mac OSX? There won't be Lazarus releases with FPC 2.3.1, because FPC 2.3.1 is not a release, but a development snapshot. FPC 2.3.1 will become FPC 2.4.0, when it will be released.

Re: [fpc-pascal] lul.pas does not compile with fpc 2.2.0

2008-02-09 Thread Vincent Snijders
Skybuck Flying schreef: Yeah, well, what exactly is the difference ? The guide doesn't explain. I assume free pascal does support the class keyword ? The default compiler mode is {$mode fpc} which is more TP compatible. Turbo Pascal did not support the class keyword either. Vincent

Re: [fpc-pascal] syscalls and fpc

2008-02-15 Thread Vincent Snijders
Micha Nelissen schreef: ik wrote: Actually the assembler is not that hard to understand :) My point is, that I don't like the idea of 7 or 20 or 100 amount of parameters to give answer to every need. I think we should find a better way to implement it, like var args in C or open array in

Re: [fpc-pascal] syscalls and fpc

2008-02-16 Thread Vincent Snijders
ik schreef: OK, so why don't you just say that you do not understand ?! You don't understand. Let me start again. I never said that you, Micha, Daniel, Peter, Florian, or even the big bad wolf should implement all of the given syscall functions in the each platform in the world. The design

Re: [fpc-pascal] Empty record inside another record ?

2008-02-19 Thread Vincent Snijders
Tiziano De Togni schreef: Florian Klaempfl ha scritto: Skybuck Flying schrieb: One drawback of objects already discovered: Objects cannot have the same field identifiers. Indeed, especially if you want to win an obfuscation contest. ok, this is true for object type, but it should not be

[fpc-pascal] fpc 2.3.1 doesn't allow to pass literal constants as formal const parameter

2008-03-05 Thread Vincent Snijders
Currently fpc 2.3.1 cannot build lazarus anymore. It fails on lines like MyStream.Write(' ',1); The write method is declared as function Write(const Buffer; Count: Longint): Longint Why isn't passing literal constant to a formal const parameter allowed anymore? Vincent

Re: [fpc-pascal] fpc 2.3.1 doesn't allow to pass literal constants as formal const parameter

2008-03-06 Thread Vincent Snijders
Peter Vreman schreef: Currently fpc 2.3.1 cannot build lazarus anymore. It fails on lines like MyStream.Write(' ',1); The write method is declared as function Write(const Buffer; Count: Longint): Longint Why isn't passing literal constant to a formal const parameter allowed anymore? I

[fpc-pascal] Re: FPC on GSoC

2008-03-11 Thread Vincent Snijders
Musan Antal schreef: Could you please tell me more about this issue: Musan Antal schreef: Was you ever considering to get involved in the Google Summer of Code? There are lot of Open-Source projects in it, I think it would also be in the benefit of FPC to get some developers. But

Re: [fpc-pascal] MaskEdit

2008-03-16 Thread Vincent Snijders
Luca Olivetti schreef: En/na Marek Nožka ha escrit: On Mon, 28 Jan 2008 15:00:56 +0100 Roberto Padovani [EMAIL PROTECTED] wrote to FPC-Pascal users discussions fpc-pascal@lists.freepascal.org: a TMaskEdit was posted in attachment by David on 23-nov-2007 The subject wasRe: [lazarus]

Re: [fpc-pascal] How to get a full backtrace in code?

2008-04-10 Thread Vincent Snijders
Mattias Gaertner schreef: On Thu, 10 Apr 2008 16:39:09 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, I'm trying to create a default exception handler dialog for fpGUI. It should display the error message and when the user clicks on the 'Details' button, it should show the full

Re: [fpc-pascal] Installing fpc 2.2.0 deb packages

2008-04-11 Thread Vincent Snijders
[EMAIL PROTECTED] schreef: Hello, Are there better ways to install fpc 2.2.0 on ubuntu besides downloading ~15 debs from sourceforge ? I'm thinking that it would be much more convenient to have all those debs packaged into a single tar . Or maybe there is some deb repository available ?

Re: [fpc-pascal] FPC 2.2.1 on Mac OS X

2008-05-23 Thread Vincent Snijders
Bent Normann Olsen schreef: Hi, I have Lazarus 0.9.25 beta on Intel Mac OS X (2008-04-29), installed with fpcsrc 2.2.0 (2008-04-29) and fpc 2.2.0 (2008-04-29). On bugtracker I read there are problems with fpc 2.2.0 on Mac OS X and case sensitivity of filenames. And therefore I cannot use an

Re: [fpc-pascal] FPC 2.2.1 on Mac OS X

2008-05-23 Thread Vincent Snijders
Felipe Monteiro de Carvalho schreef: On Fri, May 23, 2008 at 8:49 AM, Bent Normann Olsen [EMAIL PROTECTED] wrote: I just tried to install fpc 2.2.1 and clean/build Lazarus, but it says (many lines skipped): ... Linking ./hello /usr/bin/ld: can't locate file for: -lglib-1.2.0 You are

Re: [fpc-pascal] Re: FPC 2.2.1 on Mac OS X

2008-06-05 Thread Vincent Snijders
Felipe Monteiro de Carvalho schreef: On Thu, Jun 5, 2008 at 3:11 AM, Karl-Michael Schindler [EMAIL PROTECTED] wrote: How do you use fink for your work with freepascal and lazarus? I think that the question is that using fink shouldn't be necessary to install the Carbon based Lazarus. It could

Re: [fpc-pascal] IPC on Windows?

2008-06-11 Thread Vincent Snijders
Lee Jenkins schreef: Does the FPC IPC implementation work on windows? I have not used it, but yes, it works. Vincent ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Release FPC-2.2.2rc1 is available for download

2008-06-18 Thread Vincent Snijders
Mazen NEIFER schreef: After 9 months of active development and bug fixes, the Free Pascal core team is proud to announce the availability of the first release candidate of the expected 2.2.2 compiler. Users who want to test this release candidate are encouraged to report bugs and regressions

[fpc-pascal] Unicode filenames

2008-06-29 Thread Vincent Snijders
How does the RTL support using unicode filenames (e.g. file names that cannot be represented by the ansi char set)? For example the FileExists function takes a string which is encoded in the system char set. If the system char set is UTF8, like most linuxes and Mac OS X, then there is no

Re: [fpc-pascal] Unicode filenames

2008-06-29 Thread Vincent Snijders
Marco van de Voort schreef: What are the exact plans of Lazarus in this? Is there some wiki page with how Lazarus plans to tackle this with all multi-platform concerns? All strings the LCL are UTF8, see http://wiki.lazarus.freepascal.org/LCL_Unicode_Support For windows this means all

Re: [fpc-pascal] Unicode filenames

2008-06-29 Thread Vincent Snijders
Graeme Geldenhuys schreef: 2008/6/29 Vincent Snijders [EMAIL PROTECTED]: How does the RTL support using unicode filenames (e.g. file names that cannot be represented by the ansi char set)? For example the FileExists function takes a string which is encoded in the system char set. If the system

Re: [fpc-pascal] Unicode filenames

2008-06-29 Thread Vincent Snijders
Graeme Geldenhuys schreef: 2008/6/29 Vincent Snijders [EMAIL PROTECTED]: I see you are crippled in the same way as the LCL, because you only can handle ansi filenames correctly. fpGUI was tested under Windows with Russian locale and filenames. Not tested by me, but my a co-developer (Vladimir

Re: [fpc-pascal] Unicode filenames

2008-06-29 Thread Vincent Snijders
Graeme Geldenhuys schreef: 2008/6/29 Vincent Snijders [EMAIL PROTECTED]: I see you are crippled in the same way as the LCL, because you only can handle ansi filenames correctly. fpGUI was tested under Windows with Russian locale and filenames. Not tested by me, but my a co-developer (Vladimir

Re: [fpc-pascal] Unicode filenames

2008-06-29 Thread Vincent Snijders
Graeme Geldenhuys schreef: 2008/6/29 Vincent Snijders [EMAIL PROTECTED]: If you create a file with a russian name on your hard disk, can you use fpgFileExists to check for its existence? My Windows doesn't contain a Russian locale, but I tried it with French, German etc names and it works. I

Re: [fpc-pascal] Unicode filenames

2008-06-30 Thread Vincent Snijders
Graeme Geldenhuys schreef: 2008/6/30 Mattias Gaertner [EMAIL PROTECTED]: Even Linux's terminal didn't display the russian directory correcty. A whole bunch of '?' instead. fpGUI worked fine! ;-) How did you change to russian locale? By setting the LANG environment variable. export

Re: [fpc-pascal] Unicode filenames

2008-06-30 Thread Vincent Snijders
Graeme Geldenhuys schreef: 2008/6/30 Mattias Gaertner [EMAIL PROTECTED]: Can you test to create a chinese filename in the explorer. For example: 北方话.txt I can't create that file in Windows Explorer. I'm using Windows 2000 in a VMWare session. I opened explorer. Then copied the filename above

Re: [fpc-pascal] Unicode file routines proposal

2008-06-30 Thread Vincent Snijders
Marco van de Voort schreef: It looks simple to me, there are just 2 ways to go, either utf-8 or utf-16. There are more possibilities: - native encoding (utf-8 on *nix, utf-16 on windows) - have two types. How can one write portable code with these options? - an unified type (type contains

Re: [fpc-pascal] Unicode file routines proposal

2008-06-30 Thread Vincent Snijders
Marco van de Voort schreef: Marco van de Voort schreef: It looks simple to me, there are just 2 ways to go, either utf-8 or utf-16. There are more possibilities: - native encoding (utf-8 on *nix, utf-16 on windows) - have two types. How can one write portable code with these options? How

Re: [fpc-pascal] Unicode file routines proposal

2008-07-01 Thread Vincent Snijders
Florian Klaempfl schreef: Felipe Monteiro de Carvalho wrote: ansistrings don't mean everything. They mean either ISO or utf-8. This assumption is wrong. ansistring means the system encoding which uses 8 bit chars. Even if the system encoding is UTF8? Vincent

[fpc-pascal] csLoading

2008-07-09 Thread Vincent Snijders
Hi, This is sequel to this thread of almost two years ago: http://lists.freepascal.org/lists/fpc-devel/2006-September/008737.html Some things changed (e.g. TComponent.Loading has been added), but I stil did not find an easy way to fix lazarus bug 7305. Looking at TReader.ReadComponent I

Re: [fpc-pascal] csLoading

2008-07-10 Thread Vincent Snijders
Martin Schreiber schreef: On Wednesday 09 July 2008 23.24:31 Vincent Snijders wrote: Hi, This is sequel to this thread of almost two years ago: http://lists.freepascal.org/lists/fpc-devel/2006-September/008737.html Some things changed (e.g. TComponent.Loading has been added), but I stil did

Re: [fpc-pascal] csLoading

2008-07-10 Thread Vincent Snijders
Vincent Snijders schreef: Martin Schreiber schreef: You could check csLoading of the AOwner parameter. Thanks. That is a good suggestion. I'll use it if nothing better comes up. This was simple enough. I used it in r15730 of Lazarus. Thanks. Vincent

Re: [fpc-pascal] Getting fast output

2008-07-22 Thread Vincent Snijders
Marco van de Voort schreef: will add 64k to the executable because it's allocated on the stack. Huh? A filebuffer variable must be available always, so it is a global variable. I thought the file buffer variable must available for the time a file is opened and can be discarded after the

Re: [fpc-pascal] Ugly exception during compilation FPC 2.3.1 MacOS X 10.5 PowerPC

2008-07-22 Thread Vincent Snijders
Roland Turcan schreef: Hello FPC-Pascal users discussions! Compilation shows me next ugly error messages during building lazarus with our components. How can I turn on move verbose outputs to see more about the problem. The strangest is, the same source code is buildable into Lazarus/Linux

Re: [fpc-pascal] Access inherited^2

2008-08-10 Thread Vincent Snijders
Johann Glaser schreef: Hi! How can I access an inherited inherited method which was overloaded? Try the following, mark the constructors as overloaded: == Example: == {$mode objfpc}{$H+} Program TestInherited; Uses Classes, SysUtils; Type TFirst = class Constructor

Re: [fpc-pascal] Converting C's bit field struct

2008-08-13 Thread Vincent Snijders
leledumbo schreef: Found on the net that Pascal doesn't provide it :-(( What if FPC creates it as an extension =)? FPC supports bitpacked records. I cannot find it in the docs right now. Vincent ___ fpc-pascal maillist -

Re: [fpc-pascal] Converting C's bit field struct

2008-08-13 Thread Vincent Snijders
Michael Van Canneyt schreef: On Wed, 13 Aug 2008, leledumbo wrote: Found on the net that Pascal doesn't provide it :-(( What if FPC creates it as an extension =)? FPC has it, but only in MacPas mode. I copied the example program from: http://qc.codegear.com/wc/qcmain.aspx?d=56480 Added

Re: [fpc-pascal] FPC Lazarus Snapshot link

2008-08-13 Thread Vincent Snijders
Richard Ward schreef: I can't seem get through to the Laz snapshot page which is provided from the Wiki page. http://www.de.freepascal.org/lazarus/ That is an old link. IT should be http://www.hu.freepascal.org/lazarus/ Where did you find that link? Vincent

Re: [fpc-pascal] Compiler option to check return value ignorance

2008-08-13 Thread Vincent Snijders
Vinzent Höfler schreef: Joost van der Sluis wrote: Ok, so I misunderstood you. You want that the compiler complains if you don't assign the result of a function. While that can be done, I don't think you want that. Well, don't decide for others, please. I am a stupid programmmer, I am

Re: [fpc-pascal] Compiler option to check return value ignorance

2008-08-13 Thread Vincent Snijders
Vinzent Höfler schreef: Vincent Snijders wrote: Vinzent Höfler schreef: Joost van der Sluis wrote: Ok, so I misunderstood you. You want that the compiler complains if you don't assign the result of a function. While that can be done, I don't think you want that. Well, don't decide

Re: [fpc-pascal] RE: Laz Snapshot Link

2008-08-15 Thread Vincent Snijders
Richard Ward schreef: That is an old link. IT should be http://www.hu.freepascal.org/lazarus/ -- Thanks for the info. I was at this page: http://wiki.lazarus.freepascal.org/OS_X_Programming_Tips#Download_Free_Pascal_and_Lazarus and the link in question

Re: [fpc-pascal] Manual smartlinking

2008-08-20 Thread Vincent Snijders
leledumbo schreef: How to manually smartlink programs? I have a bunch of units and a program entry point defined in asm file. Currently, I only link all the *.o files. Though I've used -CX, I don't think the executable is smartlinked as it is quite big. T The -XX compiler parameter enables

Re: [fpc-pascal] Mac OSX API call

2008-08-29 Thread Vincent Snijders
EarMaster - Bent Olsen schreef: Extern OSStatus AudioFileReadPackets ( AudioFileID inAudioFile, Boolean inUseCache, UInt32*outNumBytes,

Re: [fpc-pascal] Exe size

2008-09-04 Thread Vincent Snijders
Paul schreef: I have to use: C:\FPC\2.2.2\bin\i386-win32\strip.exe --strip-all D:\FreePascal\Projects\Test\Project1.exe, anything else fails. In my Dutch version here, after compling is on the top position in that compiler tab which is in fact before compling Probably a translation bug.

Re: [fpc-pascal] Exe size

2008-09-04 Thread Vincent Snijders
Paul schreef: You cannot have both: a small size without debug info *and* a working debugger. I do not need a working debugger. B: an executable that has a small size and can be released: disable all debugging options (-g, -gl, -gh) and enable string (-Xs) in the linking tab. I've done

Re: [fpc-pascal] Binary compatibility between Intel CPU and PowerPC CPU

2008-09-16 Thread Vincent Snijders
Roland Turcan schreef: Hello all, Thanks for all responses and I've got the answer I thought I get, but I don't like it. :-| Never mind. I cannot make any change on the data structure which is on the market about 10 years, but at least I have one advantage. The software was developed and is

Re: [fpc-pascal] Can't resize form in WinCE

2008-09-17 Thread Vincent Snijders
Paul schreef: Installed these packages Lazarus-0.9.25-16602-fpc-2.2.2-20080916-win32.exe Lazarus-0.9.25-16602-fpc-2.2.2-20080916-cross-arm-wince-win32.exe If I try to compile the project, this error pops up: FATAL: Can't find unit interfaces used by project 1 in project file at line: uses

Re: [fpc-pascal] Can't resize form in WinCE

2008-09-17 Thread Vincent Snijders
Mattias Gaertner schreef: On Wed, 17 Sep 2008 09:30:16 +0200 Paul [EMAIL PROTECTED] wrote: Installed these packages Lazarus-0.9.25-16602-fpc-2.2.2-20080916-win32.exe Lazarus-0.9.25-16602-fpc-2.2.2-20080916-cross-arm-wince-win32.exe My guess: you forgot to cross compile the LCL. Tools /

Re: [fpc-pascal] Next stabel installation for WinCE ?

2008-09-18 Thread Vincent Snijders
Paul schreef: It will depend on you luck a bit, but if you had followed mattias advices you would have made it work. Maybe, but in both installed versions, I can even find folder c:\lazarus\fpc\2.2.2\units\arm-wince\wince\ The \wince\ subfolder doesn't exist. Ah, I am sorry, I must have

Re: [fpc-pascal] Can't resize form in WinCE

2008-09-18 Thread Vincent Snijders
Vincent Snijders schreef: Mattias Gaertner schreef: On Wed, 17 Sep 2008 09:30:16 +0200 Paul [EMAIL PROTECTED] wrote: Installed these packages Lazarus-0.9.25-16602-fpc-2.2.2-20080916-win32.exe Lazarus-0.9.25-16602-fpc-2.2.2-20080916-cross-arm-wince-win32.exe My guess: you forgot to cross

[fpc-pascal] Default compiler options for shootout using fpc 2.2.0

2008-10-05 Thread Vincent Snijders
What should be the default compiler options for the shootout benchmarks? The used compiler is fpc 2.2.0. The benchmarks are run on a Intel Q6600 quad-core, either with 32 bits or 64 bits Ubuntu. There is some controversion about it, see

Re: [fpc-pascal] Default compiler options for shootout using fpc 2.2.0

2008-10-05 Thread Vincent Snijders
Jonas Maebe schreef: On 05 Oct 2008, at 11:09, Vincent Snijders wrote: If I look at http://svn.freepascal.org/cgi-bin/viewvc.cgi/tags/release_2_2_0/compiler/x86_64/cpuinfo.pas?view=markup it seems that in fpc 2.2.0 regvars are not enabled. Why not? Because they didn't work properly

Re: [fpc-pascal] Default compiler options for shootout using fpc 2.2.0

2008-10-05 Thread Vincent Snijders
Florian Klaempfl schreef: Vincent Snijders schrieb: What should be the default compiler options for the shootout benchmarks? The used compiler is fpc 2.2.0. The benchmarks are run on a Intel Q6600 quad-core, either with 32 bits or 64 bits Ubuntu. There is some controversion about it, see

Re: [fpc-pascal] Default compiler options for shootout using fpc 2.2.0

2008-10-05 Thread Vincent Snijders
Florian Klaempfl schreef: Vincent Snijders schrieb: What should be the default compiler options for the shootout benchmarks? The used compiler is fpc 2.2.0. The benchmarks are run on a Intel Q6600 quad-core, either with 32 bits or 64 bits Ubuntu. There is some controversion about it, see

Re: [fpc-pascal] stdout refuses to be redirected

2008-10-09 Thread Vincent Snijders
Arjan van Dijk schreef: Hi! The following small piece of code, with filename 'test.pas': PROGRAM Test; USES CRT,DOS; VAR DirInfo: SEARCHREC; BEGIN FINDFIRST('*.pas',ARCHIVE,DirInfo); WRITELN(DirInfo.Name); END. just gives the name of the first file with extension .pas. It compiles and

Re: [fpc-pascal] stdout refuses to be redirected

2008-10-09 Thread Vincent Snijders
Arjan van Dijk schreef: 1. Don't use the crt unit, it grabs the handling of output (writeln(s) is translated to writeln(output,s); 2. Use writeln(stdout, DirInfo.Name) to bypass crt's handling of output. This indeed seems to solve both problems. Does this really mean that I should replace all

Re: [fpc-pascal] Cross compiling on Windows

2008-10-14 Thread Vincent Snijders
Marco van de Voort schreef: Please file a bug anyway, with as much details as possible. It would be really great if you could get the strace output of the compiler run in both cases. Yes, but where to download strace for win32? Vincent ___

Re: [fpc-pascal] New object created in custom pool

2008-10-28 Thread Vincent Snijders
JoshyFun schreef: Hello FPC-Pascal, My application will create thousands of small objects of the same class, this objects are not created or destroyed in a row, so memory fragmentation could becomes a serious problem after some time. My question is: Is there any way to override the object

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Vincent Snijders
Graeme Geldenhuys schreef: The important thing for TZipFile component is that the archive format must compresses every file separately. Otherwise you can't extract a specific file without unpacking everything first. And at the same time, that is its weak point for packing a large number of

Re: [fpc-pascal] Advantages page in website

2008-10-31 Thread Vincent Snijders
Graeme Geldenhuys schreef: On Fri, Oct 31, 2008 at 1:29 PM, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: What happened to the advantages page in the Free Pascal website? It used to be: http://www.freepascal.org/advantage.html I got no idea why it's gone, but you can get to it via the

Re: [fpc-pascal] re: Cannot run mplayer with TProcess when options is poUsePipes in Windows

2008-11-10 Thread Vincent Snijders
Dusan Halicky schreef: Well. The only way how to make mplayer visible is read all data from output repeat i := Output.Read(buf[0],100); until i0; but since my program is console application, it stay blocked on the last read from output and do not continue to application main loop None of

Re: [fpc-pascal] Cannot run mplayer with TProcess when options is poUsePipes in Windows

2008-11-10 Thread Vincent Snijders
Dusan Halicky schreef: Following code works in linux, but not in windows. In windows program freeze, or I don't see mplayer. Thanks. program bug; {$mode objfpc}{$H+} uses Classes, SysUtils, Process; begin with TProcess.Create(nil) do try //Options := [];// this work on

Re: [fpc-pascal] re: Cannot run mplayer with TProcess when options is poUsePipes in Windows

2008-11-10 Thread Vincent Snijders
Dusan Halicky schreef: is there an mplayer.exe in a directory on the path (or windows directory)? yes. (when I remove poUsePipes the video plays normally) Maybe you need to add poNoConsole? I still can't see a video (nor audio) with this option, however it helps a little (application dont

Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-05 Thread Vincent Snijders
Skybuck Flying schreef: If everybody does a little bit it could go quite quickly. Some (arbitrary numbers) from http://www.ohloh.net/p/linux: Codebase 10,679,927 lines Effort (est.) 3,396 Person Years So, if everybody on this list (maybe 300 persons) work on it, then it can be

Re: [fpc-pascal] RTL function list?

2008-12-09 Thread Vincent Snijders
Marco van de Voort schreef: In our previous episode, Francisco Reyes said: Is there a list of functions and which RTL libraries they belong to? The index of the documentation comes a long way. e.g. http://lazarus-ccr.sourceforge.net/fpcdoc/rtl/index.html Vincent

Re: [fpc-pascal] RTL function list?

2008-12-09 Thread Vincent Snijders
Francisco Reyes schreef: Vincent Snijders writes: e.g. http://lazarus-ccr.sourceforge.net/fpcdoc/rtl/index.html I was looking for something like.. AnsiCompareStr Sysutils DaySpan dateutils Oops, wrong link, I meant: http://lazarus-ccr.sourceforge.net/fpcdoc/rtl/index-8.html

Re: [fpc-pascal] Interactive process with TProcess

2008-12-16 Thread Vincent Snijders
leledumbo schreef: OK, since no one answers this in Lazarus forum, I'll ask here as it's more FPC (FCL, actually) related than LCL. I want to create an interactive process, so I need to read the output as soon as it's available and write it to the screen (or somewhere else). Here's the partial

Re: [fpc-pascal] TListBox bug in LCL of Lazarus?

2008-12-21 Thread Vincent Snijders
Jürgen Hestermann schreef: I used the Delphi-to-Lazarus convertion for my (Delphi) program. Why isn't it also converting to UTF-8 if that's necessary? Maybe we should consider removing the convert from the IDE, if it misleads more than helps. I don't think so, it's better than nothing. The

Re: [fpc-pascal] TListBox bug in LCL of Lazarus?

2008-12-21 Thread Vincent Snijders
Jürgen Hestermann schreef: Maybe we should consider removing the convert from the IDE, if it misleads more than helps. I don't think so, it's better than nothing. The problem is, that there are more pitfalls than the conversion routine handles (can handle?). Yes, and until that is fixed, it

Re: [fpc-pascal] TListBox bug in LCL of Lazarus?

2008-12-21 Thread Vincent Snijders
Jürgen Hestermann schreef: Well, they cannot put the blaim on the Lazarus converter, but only on their own ignorance with respect to porting to Lazarus. Why ignorance? I remember someone asking here how to learn programming with FPC/Lazarus and someone else answered that each Delphi learning

Re: [fpc-pascal] TListBox bug in LCL of Lazarus?

2008-12-22 Thread Vincent Snijders
Jürgen Hestermann schreef: Can we expect some improvements (patches) from you soon. I would like to but as I am new with Lazarus my knowledge about it is not sufficient to give advices (as you can see ;-)). More of such pitfalls may lurk somewhere which I don't know about so I cannot give

Re: [fpc-pascal] for .. in loop implementation

2009-01-07 Thread Vincent Snijders
leledumbo schreef: OK, I've read http://wiki.freepascal.org/Modernised_Pascal this (and the FAQ as well). I disagree with any statement saying that for .. in loop is only a type-saver. It's a good language extension and should be included (since Delphi already have this, it will also be a good

Re: [fpc-pascal] Workaround for #0011837 (FPC = 2.2.2 with GTK = 2.13)

2009-01-19 Thread Vincent Snijders
Michalis Kamburelis schreef: In case someone wonders how to workaround this bug http://mantis.freepascal.org/view.php?id=11837 (occurs with GTK = 2.13.4, e.g. on Ubuntu 8.10 we have GTK 2.14): I found that the quick workaround that works is to pass --noinhibit-exec to ld, that is

Re: [fpc-pascal] Workaround for #0011837 (FPC = 2.2.2 with GTK = 2.13)

2009-01-19 Thread Vincent Snijders
Giovanni Premuda schreef: Michalis Kamburelis wrote: In case someone wonders how to workaround this bug http://mantis.freepascal.org/view.php?id=11837 (occurs with GTK = 2.13.4, e.g. on Ubuntu 8.10 we have GTK 2.14): I found that the quick workaround that works is to pass --noinhibit-exec to

Re: [fpc-pascal] Workaround for #0011837 (FPC = 2.2.2 with GTK = 2.13)

2009-01-21 Thread Vincent Snijders
Giovanni Premuda schreef: Vincent Snijders wrote: Yes, anybody can do that. Sorry? I don't get it. Anybody (also Giovanni Premuda) anyone spread this all over the Lazarus site by posting forum messages and submitting news items, anybody (also Giovanni Premuda) can edit the Lazarus

Re: [fpc-pascal] Workaround for #0011837 (FPC = 2.2.2 with GTK = 2.13)

2009-01-23 Thread Vincent Snijders
Giovanni Premuda schreef: Vincent Snijders wrote: Anybody (also Giovanni Premuda) anyone spread this all over the Lazarus site OK, I had the wrong impression that the lazarus docs where editable only by insiders, as the main site seems to be. Good, Lazarus is essentially a community

Re: [fpc-pascal] Compiler error

2009-01-25 Thread Vincent Snijders
Jonas Maebe schreef: On 25 Jan 2009, at 11:43, Chris Kirkpatrick wrote: I have recently been getting the following error when tring to compile fpc using the standard sequence: svn update fpc make clean make all I tried deleting my complete fpc repository and checking out again; same thing

Re: [fpc-pascal] Compiler error

2009-01-25 Thread Vincent Snijders
Vincent Snijders schreef: Michael Van Canneyt schreef: Hm. Hopefully fixed in rev. 12594. Please test. I don't think so: make.exe[3]: Leaving directory `c:/Lazarus/source/fpc/2.3/packages/fpmkunit' make.exe[2]: *** No rule to make target `iconvenc_all', needed by `fcl-xml_all'. Stop

Re: [fpc-pascal] Suggestions for fpspreadsheet

2009-01-29 Thread Vincent Snijders
Travis Siegel schreef: Don't confuse the poor users, start at 1. You mean: Don't confuse the poor programmers, start at 1. Vincent ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] PasCocoa design

2009-02-13 Thread Vincent Snijders
dmitry boyarintsev schreef: How about adding it to PasCocoa? um.. no, it's a bad idea for now. sorry! Why? Copyright reasons? Vincent ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] GNU binutils in Windows installer

2009-02-23 Thread Vincent Snijders
leledumbo schreef: FPC under Windows uses its own internal assembler and linker (and resource compiler, too?). Is it still necessary to have them? If not, why bloat the installer with them? At times, they can be useful for bugs (or missing features) in the internal linker. The external

Re: [fpc-pascal] Creating FPC enabled websites

2009-03-04 Thread Vincent Snijders
Prince Riley schreef: snip a lot of non freepascal things Wasn't this thread supposed to be continued on fpc-other? If you are ignorant: http://www.hu.freepascal.org/mailman/listinfo/fpc-other/ Vincent ___ fpc-pascal maillist -

Re: [fpc-pascal] fpdoc search engine progress

2009-03-16 Thread Vincent Snijders
leledumbo schreef: How's the progress of adding search engine to fpdoc? Either Graeme's work with Tipue and someone else's with Ioda. For off line search, using the chm output and a chm viewer would be good enough, don't you think? Vincent ___

<    1   2   3   4   5   >