Re: [fpc-devel] TLCLMemanager

2006-09-29 Thread Vincent Snijders
Vincent Snijders schreef: Michael Van Canneyt schreef: If the lazarus people agree with this, I see no problem in doing so. I think they will agree, but I will ask to make sure. Mattias, who wrote the unit, agrees. Vincent ___ fpc-devel

[fpc-devel] sse2 registers

2006-09-29 Thread Vincent Snijders
I am trying out the sse2 support in fpc 2.1.1 and compile my code with -Cfsse2. The program is the mandelbrot benchmark: http://shootout.alioth.debian.org/gp4/benchmark.php?test=mandelbrotlang=fpascal The innerloop is like this: Zr := 0; Zi := 0; Tr := 0; Ti := 0; i := 0;

Re: [fpc-devel] patch - fpcunit timing results

2006-09-21 Thread Vincent Snijders
Graeme Geldenhuys wrote: Hi, Attached is a patch for fpcUnit, which adds test timing results to the test results. Individual timings as well as overall timing. Patch needs to be applied from the root fpc source directory. Thanks. Applied. Vincent

Re: [fpc-devel] paszlib documentation?

2006-09-20 Thread Vincent Snijders
Daniël Mantione schreef: Op Wed, 20 Sep 2006, schreef Scott Pascoe: Is the paszlib package documented in the fpcdocs? If not, I'm considering using it as my first try at documenting a unit/package. I haven't been able to find the docs yet, so I'll assume it doesn't exist. To my knowledge

Re: [fpc-devel] 2.1.1 SVN revision doesn't compile

2006-09-18 Thread Vincent Snijders
Graeme Geldenhuys schreef: Got an update 5 minutes ago did a 'make clean' and 'make install' and got this compiler error. as --32 -o /mnt/data/opt/fpc_2.1.1/src/rtl/units/i386-linux/gprt21.o i386/gprt21.as /mnt/data/opt/fpc_2.1.1/bin/ppc386 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../unix

[fpc-devel] fpc-devel archives of September are missing

2006-09-07 Thread Vincent Snijders
Hi, http://lists.freepascal.org/lists/fpc-devel/ doesn't contain links to September archives. On http://lists.freepascal.org/mailman/listinfo/fpc-devel the link to archives is broken (already reported in the bug tracker). Vincent ___ fpc-devel

Re: [fpc-devel] patch - types.pp (InflateRect)

2006-09-06 Thread Vincent Snijders
Graeme Geldenhuys schreef: Hi, I sent a patch for this before on the 25 July, but it hasn't been applied yet. I think the reason might have been due to that patch file containing a new Size() method as well which caused some problems. Anyway, this patch only contains the InflateRect()

Re: [fpc-devel] Propose: change TComponent.Tag from longint to PtrInt

2006-09-04 Thread Vincent Snijders
Daniël Mantione schreef: Op Mon, 4 Sep 2006, schreef Mattias Gaertner: Me2. Just one disadvantage: The Tag is published. If someone stores a 64bit value and the component is stored, the stream can not be read under 32bit anymore. ...which makes it impossible to use streams for anything

Re: [fpc-devel] Propose: change TComponent.Tag from longint to PtrInt

2006-09-04 Thread Vincent Snijders
Daniël Mantione schreef: Op Mon, 4 Sep 2006, schreef Vincent Snijders: Daniël Mantione schreef: Op Mon, 4 Sep 2006, schreef Mattias Gaertner: Me2. Just one disadvantage: The Tag is published. If someone stores a 64bit value and the component is stored, the stream can not be read under

Re: [fpc-devel] RE: FloatToStrF problem

2006-09-01 Thread Vincent Snijders
Danie Wessels schreef: Thanks people for this update 2.0.4 of fpc with windows version. That seems now to have resolved issue 1 partly and issue 2. How can I incorporate the new units now into Lazarus (on Win2k)? I tried copying (and also installing) all the stuff under \fpc\2.0.4\ (of fpc) to

[fpc-devel] Reading empty collection from stream

2006-08-27 Thread Vincent Snijders
Hi, I am investigating Lazarus issue 7305. The TSynEdit class has a KeyStrokes property of the type TSynEditKeyStrokes, which is a TCollection descendant. The TSynEdit constructor fills the collection with some default items. If I remove the items and stream the TSynEdit, the following line

Re: [fpc-devel] FPC compiles malformed code

2006-08-24 Thread Vincent Snijders
Graeme Geldenhuys wrote: Hi, Shouldn't FPC complain about the code below - I marked the lines with comments. lData.Name is typed as lData .Name the same for the function lDate.AsString is typed as lData .AsString. Notice the space before the dot... - CUT

Re: [fpc-devel] FPC documentation xml files

2006-08-18 Thread Vincent Snijders
Michael Van Canneyt wrote: On Thu, 17 Aug 2006, Vincent Snijders wrote: Graeme Geldenhuys wrote: I will file a bug report and post all the comments from this thread so it doesn't get forgotten. Regards, - Graeme - Tonight I will update the docs on sf using fpc 2.1.1's fpdoc, it seems

Re: [fpc-devel] FPC documentation xml files

2006-08-17 Thread Vincent Snijders
Graeme Geldenhuys wrote: I will file a bug report and post all the comments from this thread so it doesn't get forgotten. Regards, - Graeme - Tonight I will update the docs on sf using fpc 2.1.1's fpdoc, it seems to be fixed in that version. It still seems to be an issue in fpdoc from

Re: [fpc-devel] 2.0.4-rc3 available

2006-08-14 Thread Vincent Snijders
Tomas Hajny schreef: Hello, I'd like to announce that the third (and hopefully last) release candidate for FPC 2.0.4 is available for download for most platforms (i386-linux, x86_64-linux, i386-win32, powerpc- macosx, i386-go32v2, arm-linux and powerpc- linux). You can download it from

Re: AW: AW: AW: [fpc-devel] MemoryLeak with AS Operator

2006-08-14 Thread Vincent Snijders
Jonas Maebe schreef: On 14 aug 2006, at 13:06, Helmut Hartl wrote: Is valgrind support broken or do I have to do something beyond setting the valgrind compiler switch? You don't have to do anything but compile all your program's units and the program itself with the -gv switch. Note: all

Re: [fpc-devel] doc build fails

2006-07-23 Thread Vincent Snijders
Stefan Kisdaroczi wrote: Michael Van Canneyt wrote: On Sat, 22 Jul 2006, Stefan Kisdaroczi wrote: Michael Van Canneyt wrote: On Sat, 22 Jul 2006, Stefan Kisdaroczi wrote: Michael Van Canneyt wrote: On Sat, 22 Jul 2006, Stefan Kisdaroczi wrote: Hi, doc build fails with make deb in

Re: [fpc-devel] fpcmake keeps failing

2006-07-09 Thread Vincent Snijders
Graeme Geldenhuys wrote: Hi, I am new to fpcmake and the Makefile.fpc format. I tried to read the docs and see if I can find any problems, but nothing I can see. fpcmake keeps telling me that the rtl package is not found. I run under Linux i386. I am trying to compile with FPC 2.1.1 but I

Re: [fpc-devel] Apache headers

2006-07-04 Thread Vincent Snijders
Michael Van Canneyt schreef: On Mon, 3 Jul 2006, Felipe Monteiro de Carvalho wrote: Hello, I am translating the headers for apache 2.0.58 (should work with any 2.0.x), specifically to generate Apache modules with Free Pascal. My question is: Do you guys want this to be included on fpc? If

Re: [fpc-devel] Apache headers

2006-07-04 Thread Vincent Snijders
Peter Vreman schreef: I am translating the headers for apache 2.0.58 (should work with any 2.0.x), specifically to generate Apache modules with Free Pascal. My question is: Do you guys want this to be included on fpc? If not I can just add it to Lazarus Code and Component repository. Either way

Re: [fpc-devel] What is the meaning of this error Message ?

2006-06-30 Thread Vincent Snijders
ik wrote: Hi, I'm trying to translate the following error message: parser_e_ill_msg_param=03144_E_Message handlers can take only one call by ref. parameter % A method declared with the \var{message}-directive as message handler % can take only one parameter which must be declared as call by

Re: [fpc-devel] xml line endings

2006-06-04 Thread Vincent Snijders
Colin Western wrote: Vincent Snijders wrote: Hi, I saw in the log message of revision http://www.freepascal.org/cgi-bin/viewcvs.cgi?diff_format=lrev=3784sortby=dateview=rev that the xml units now use native line ending. Previously I noticed they were using #10 for line-ending

Re: [fpc-devel] xml line endings

2006-06-04 Thread Vincent Snijders
Vincent Snijders wrote: Colin Western wrote: Vincent Snijders wrote: Hi, I saw in the log message of revision http://www.freepascal.org/cgi-bin/viewcvs.cgi?diff_format=lrev=3784sortby=dateview=rev that the xml units now use native line ending. Previously I noticed they were using #10

Re: [fpc-devel] ShortString not work in Centrino

2006-06-01 Thread Vincent Snijders
Manuel R. Fernández R. wrote: Hello, I am professor of a university in Venezuela and we use free pascal. My problem is that installs the version 2.0.2 in a Pentium M Centrino 1,6 HP Compaq nx6110and does not work shortstring. What I must do? This is very little information. Can you

Re: [fpc-devel] FPDOC crashes if built with fpc 2.1.1

2006-05-29 Thread Vincent Snijders
Vincent Snijders schreef: Hi, If I use fpc 2.1.1 to compile fpdoc on linux and use that to create the rtl docs, I get the following error: An unhandled exception occurred at $080503F7 : EOutOfMemory : Out of memory $080503F7 NEWWIDESTRING, line 170 of /home/vsds/lazarus/source/fpc/2.1

Re: [fpc-devel] Internal linker for wince

2006-05-28 Thread Vincent Snijders
Yury Sidorov wrote: From: Florian Klaempfl [EMAIL PROTECTED] Yury Sidorov wrote: Hello, I added wince support to internal linker. Please try it and see if all works fine. Use -Xi compiler option to enable internal linker. Good job, now the internal assembler :) Thanks :) Internal

[fpc-devel] FPDOC crashes if built with fpc 2.1.1

2006-05-26 Thread Vincent Snijders
Hi, If I use fpc 2.1.1 to compile fpdoc on linux and use that to create the rtl docs, I get the following error: An unhandled exception occurred at $080503F7 : EOutOfMemory : Out of memory $080503F7 NEWWIDESTRING, line 170 of /home/vsds/lazarus/source/fpc/2.1/rtl/inc/wstrings.inc

Re: [fpc-devel] Definition of the time-fration in a TDateTime before 30/12/1899

2006-05-23 Thread Vincent Snijders
Joost van der Sluis schreef: On Mon, 2006-05-22 at 23:06 +0200, Graeme Geldenhuys wrote: On 5/22/06, Vincent Snijders [EMAIL PROTECTED] wrote: From Greame I would like to know how he proposes to update the TestSuite, if a new tests it added. I am busy looking at the /tests directory now

Re: [fpc-devel] Definition of the time-fration in a TDateTime before 30/12/1899

2006-05-23 Thread Vincent Snijders
Graeme Geldenhuys schreef: On 5/23/06, Michael Van Canneyt [EMAIL PROTECTED] wrote: On the other hand, it would speed up things quite a bit. Correct. I'm not against changing to fpcunit, but it will require again a lot of work... Yes much faster! I just finished a case in point on our

Re: [fpc-devel] Definition of the time-fration in a TDateTimebefore30/12/1899

2006-05-23 Thread Vincent Snijders
Graeme Geldenhuys schreef: On 5/23/06, Tomas Hajny [EMAIL PROTECTED] wrote: believe this may happen for other targets too - if you have a misbehaving RTL routine that overwrites half of your heap, you'll probably end up in the whole program crashing (i.e. if all the tests are run in one

Re: [fpc-devel] Definition of the time-fration in a TDateTime before 30/12/1899

2006-05-22 Thread Vincent Snijders
Graeme Geldenhuys schreef: On 5/22/06, Florian Klaempfl [EMAIL PROTECTED] wrote: Should we convert existing tests to fpcunit ? No, too much work, no real gain :) Just curious... I have never looked at the tests created in FPC, but how much work (lines of code) would it take to test

Re: [fpc-devel] Definition of the time-fration in a TDateTime before 30/12/1899

2006-05-22 Thread Vincent Snijders
Michael Van Canneyt wrote: On Mon, 22 May 2006, Graeme Geldenhuys wrote: Ok, so every set of tests is a actual program. [I am not forcing fpcUnit, just curious as what FPC's tests can do. Also not sure what your knowlegde is on the workings of a xUnit testing framework. ] So if you have

Re: [fpc-devel] Definition of the time-fration in a TDateTime before 30/12/1899

2006-05-22 Thread Vincent Snijders
Micha Nelissen wrote: On Mon, 22 May 2006 18:07:52 +0200 Joost van der Sluis [EMAIL PROTECTED] wrote: The attached patch fixs some problems with negative TDateTimes. Can you introduce constants instead of all these hardcoded numbers so the code is more readable ? Maybe Brams mail should

Re: [fpc-devel] something happening third party vendor

2006-05-19 Thread Vincent Snijders
Oro06 wrote: even if poor/no communication was made about that, it's important to see that one of the older delphi third party vendor start supporting lazarus and fpc. What third party vendor? Vincent ___ fpc-devel maillist -

Re: [fpc-devel] darwin - rtl include files

2006-05-17 Thread Vincent Snijders
Michael Van Canneyt schreef: On Wed, 17 May 2006, Marco van de Voort wrote: Most logical would be to store the conditionals that pkg is compiled with in package.fpc ? Well, the point is, you could get all source pathes from the currently valid ppus. If they are compiled on this system?

Re: [fpc-devel] dominant short strings in compiler source

2006-05-17 Thread Vincent Snijders
Jonas Maebe wrote: On 17 mei 2006, at 19:59, L505 wrote: What do you guys thing about the idea to implement what DEC Pascal and Extended Pascal have - a 2 byte length ShortString (MediumString?), uprdade *some* of the path related ShortStrings to be MediumString[1000] instead of

Re: [fpc-devel] dominant short strings in compiler source

2006-05-16 Thread Vincent Snijders
L505 wrote: well it would have to have a different in memory format. Maybe a -1 based array with the first two locations used for length would do it. Add new types that extend the 255 limit, using more bytes for storage to double and even triple our current 255 limit. I think once there

Re: [fpc-devel] smrtlinking on arm-wince

2006-05-16 Thread Vincent Snijders
Oro06 wrote: using -CX, rtl built fine .a are created then progs compiled with $SMARTLINK ON compile and run Do you see any difference when you using smartlinking or not? I tried the following test program: program Project1; {$mode objfpc}{$H+} uses Windows, Classes {

Re: [fpc-devel] Broken SVN url

2006-05-16 Thread Vincent Snijders
Jeff Pohlmeyer wrote: On page: http://svn.freepascal.org/svn/html/develop.fp Line #178: svn checkout http://svn.freepascal.org/svn/fpc/tages/releaseundersc;2undersc;0undersc;2 fpc Should be tags instead of tages Thanks. Fixed. Please, allow a day for updates on the website. Vincent

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Vincent Snijders
Daniël Mantione wrote: Op Sun, 14 May 2006, schreef Martin Schreiber: Since some time FPC doesn't flush output on pipes after writeln. On linux I can use a pseudo terminal, what can I do on win32 to get flushed output from FPC into the message window of MSEide? About flushing the

[fpc-devel] widestring on win32

2006-05-11 Thread Vincent Snijders
Hi, I am having some trouble with starting Lazarus using fpc 2.1.1, see stack trace below. Since the stack trace indicates memory errors and widestring problems, I thought it might be related to the recent change that widestrings on win32 are no longer reference counted (log message of

Re: [fpc-devel] arm-wince rtl

2006-04-27 Thread Vincent Snijders
Oro06 wrote: same for me, you should deactivate smartlinking Is the windows unit sufficiently cleaned up, that it can used without smartlinking? At least on windows 2k it isn't, because it contains windows xp declarations. Vincent. ___

[fpc-devel] arm-wince rtl

2006-04-26 Thread Vincent Snijders
Hi, If I compile the arm-wince rtl from svn trunk I get the following error message: C:/lazarus/source/fpc/2.1/compiler/ppcrossarm.exe -Ur -Twince -Parm -XParm-wince- -Xc -Xr -Ur -Xs -O2 -n -Fi../inc -Fi../arm -Fi../win -FDc:\fpc\crossbin -FE. -FUC:/lazarus/source/fpc/2.1/rtl/units/arm-wince

Re: [fpc-devel] Web Service Toolkit For FPC Lazarus

2006-04-24 Thread Vincent Snijders
Inoussa OUEDRAOGO schreef: Hi. My congratulations to the FPC team and Lazarus team. I'am working on this toolkit, to add Web Service support to FPC and Lazarus. My aim is to merge it with the FCL (LCL). The attached archive contains all the source code and a documentation file ( OpenDocument

Re: [fpc-devel] Web Service Toolkit For FPC Lazarus

2006-04-24 Thread Vincent Snijders
Inoussa OUEDRAOGO schreef: Does it overlap regarding functionality? This package have a different goal; The primary goal is to expose services as normal fpc interfaces by providing a proxy implementation as Delphi does; please take a look at the doc file. Unfortuanately, I don't have

Re: [fpc-devel] Which of them are right (Delphi or FPC)

2006-04-18 Thread Vincent Snijders
Amir Aavani wrote: I developed a project in lazarus (FPC) and now when I try to run it in Delphi, it acts incorrect! I have a class TObjectCollection which is a collection of TObject: TObjectCollection= class (TObject) FMembers: array of TObject; ... ... public

[fpc-devel] Problem using resouce strings and smartlinking

2006-03-30 Thread Vincent Snijders
Hi, I am using fpc 2.1.1. If I compile the LCL with -CX, at least some (but maybe not all) resourcestrings are empty. Recompiling the LCL without -CX or compiling the application with -XS solved this problem. I am not using the internal linker. Is this a know issue with fpc 2.1.1? Vincent.

Re: [fpc-devel] space char inside identifier's name

2006-03-25 Thread Vincent Snijders
Bisma Jayadi wrote: After trying out Morfix for some hours, I found very interesting feature of the implemented object Pascal language. Morfix Pascal allows space char within the identifier's name. If space char is used, then the name MUST BE enclosed within a double-quote char pair. Here are

Re: [fpc-devel] object as vararg

2006-03-19 Thread Vincent Snijders
Jonas Maebe wrote: On 18 Mar 2006, at 16:46, Vincent Snijders wrote: The gtk2int.pas file of lazarus doesn't compile with fpc 2.1.1 (revision 2954) anymore. The error message is: gtk2int.pas(268,67) Error: Wrong type TObject in array constructor Line 268 looks like

[fpc-devel] object as vararg

2006-03-18 Thread Vincent Snijders
Hi, The gtk2int.pas file of lazarus doesn't compile with fpc 2.1.1 (revision 2954) anymore. The error message is: gtk2int.pas(268,67) Error: Wrong type TObject in array constructor Line 268 looks like this: gtk_list_store_set(FGtkListStore, @ListItem, [FColumnIndex+1, AnObject, -1]);

Re: [fpc-devel] Dump_Stack broken in fpc 2.1.1

2006-03-11 Thread Vincent Snijders
Vincent Snijders wrote: Hi, Line info is broken in fpc 2.1.1 on win32. I have created the attached test program. Running the program gives: C:\lazarus\bugs\fpc\lineinfoproject1.exe In test opening the program in gdb gives. (no debugging symbols found)... Running the program compiled

[fpc-devel] add external links to fpdoc generated documents

2006-03-10 Thread Vincent Snijders
Hi, I would like to add a link to external documentation in a fpdoc generated document file. Is this possible. For example: On http://lazarus-ccr.sourceforge.net/docs/lcl/xmlpropstorage/txmlpropstorage.html I would like a See also link to

Re: [fpc-devel] add external links to fpdoc generated documents

2006-03-10 Thread Vincent Snijders
Michael Van Canneyt wrote: On Fri, 10 Mar 2006, Vincent Snijders wrote: Hi, I would like to add a link to external documentation in a fpdoc generated document file. Is this possible. For example: On http://lazarus-ccr.sourceforge.net/docs/lcl/xmlpropstorage/txmlpropstorage.html I would

[fpc-devel] Dump_Stack broken in fpc 2.1.1

2006-03-09 Thread Vincent Snijders
Hi, Line info is broken in fpc 2.1.1 on win32. I have created the attached test program. Running the program gives: C:\lazarus\bugs\fpc\lineinfoproject1.exe In test opening the program in gdb gives. (no debugging symbols found)... Running the program compiled with fpc 2.0.3 gives:

Re: [fpc-devel] Type definition

2006-03-05 Thread Vincent Snijders
Paul Davidson wrote: unit aUnit; interface type aType = ( at_First, at_aaa, at_bbb, at_Last ); aObj = class aVar : aType unit bUnit; interface uses aUnit; type bObj = class( aObj ) unit cUnit interface uses bUnit; I think some Pascal

[fpc-devel] TStrings.Assign doesn't copy Delimiter

2006-02-22 Thread Vincent Snijders
Hi, The program below exits with an error. I would expect the Delimiter to be copied too, when a TStrings is assigned. Is this a bug? Vincent {$mode objfpc}{$H+} uses Classes; var s1, s2: TStrings; begin s1 := TStringList.Create; s1.Delimiter := ';'; s2 := TStringList.Create;

[fpc-devel] fpc trunk broken for x86-64-linux

2006-02-10 Thread Vincent Snijders
Hi, If I do make all install, the created fpcmake doesn't work: If I run fpcmake in gdb, I get the following error: (gdb) bt #0 0x0040bed4 in fpc_intf_assign (D=Cannot access memory at address 0x8000ffdcdf38 ) at objpas.inc:60 #1 0x004670e0 in COMMONINIT () at

Re: [fpc-devel] troubles accessing svn repository in the last week

2006-02-03 Thread Vincent Snijders
Graeme Geldenhuys wrote: Has something changed on the SVN repository? For the last week I cannot get updates from SVN for FPC or Lazarus. I was using svn command line client ver.1.2.3 I just saw a new version of SVN was released, so thought that was the problem, so upgraded to ver.1.3.0 and

Re: [fpc-devel] troubles accessing svn repository in the last week

2006-02-03 Thread Vincent Snijders
Graeme Geldenhuys wrote: I can access all other repositories without error. Repositories I tested: Apache svn - no problems TechInsite running apache on Windows - no problems FPC and Lazarus - error mentioned below. All the above repositories run via HTTP using apache. I did a Google search

Re: [fpc-devel] PR: Advocates needed

2006-01-20 Thread Vincent Snijders
Bisma Jayadi wrote: It's not the advocacy that is needed but rather they need code for it to work. It says right in the article. I think we should stop the VB vs Pascal discussion now. It's useless since we all here already know which is the winner. Even Alex himself had already knew

Re: [fpc-devel] Importing 2 content files into fpdoc

2005-12-19 Thread Vincent Snijders
Michael Van Canneyt wrote: On Sun, 18 Dec 2005, Vincent Snijders wrote: [EMAIL PROTECTED] wrote: The code does read multiple content files, as far as I can tell. It does read them, but doesn't use them. While debugging I created the attached patch: It always override

Re: [fpc-devel] [RFC] fpdoc output comment from the source

2005-12-19 Thread Vincent Snijders
L wrote: under the documents (who wouldn't?). The author, for one :-) The commenting system puts extra load on the server which I don't want. Amazon.com has a patent on one click shopping, I believe. I think I know why. Well, with the FindPart function, back 7 months ago.. I found an

Re: [fpc-devel] FPC Cross Compiling

2005-12-18 Thread Vincent Snijders
Daniël Mantione wrote: Op Sun, 18 Dec 2005, schreef John: Anyone know where there would be a document describing how to create an FPC cross-compiler? I see the possibility listed in various spots, but no real documentation describing it. Specifically, I would like to try both an Arm and

[fpc-devel] Importing 2 content files into fpdoc

2005-12-16 Thread Vincent Snijders
Hi, I am trying to create LCL documentation with links to the classes unit (RTL) and process unit (FCL). I pass (among others) the following parameters on fpdoc's command line: --import=$FPCDocDir/fcl.xct,../fcl/ --import=$FPCDocDir/rtl.xct,../rtl/ fcl.xct and rtl.xct are generated by

Re: [fpc-devel] make cycle fails on win32

2005-12-15 Thread Vincent Snijders
Vincent Snijders wrote: Hi, On win32 I cannot cycle the compiler anymore. I used fpc 2.0.0 and fpc 2.0.2 as starting compilers, but both stop at the same place: D:/lazarus/source/fpc/2.1/compiler/ppc1.exe -Ur -Xs -OG2p3 -n -Fui386 -Fusystems -FuD:/lazarus/source/fpc/2.1/rtl/units/i386

Re: [fpc-devel] trunk/fcl/Makefile.fpc doesn't include db dir

2005-12-14 Thread Vincent Snijders
Michalis Kamburelis wrote: Hi In revision 1944 in trunk (log is + Add PTCpas package), among many changes to packages/extra/, fcl/Makefile.fpc was changed, line dirs=xml image db shedit passrc net fpcunit was changed to dirs=xml image shedit passrc net fpcunit Was there any reason to

Re: [fpc-devel] trunk/fcl/Makefile.fpc doesn't include db dir

2005-12-14 Thread Vincent Snijders
Peter Vreman wrote: In revision 1944 in trunk (log is + Add PTCpas package), among many changes to packages/extra/, fcl/Makefile.fpc was changed, line dirs=xml image db shedit passrc net fpcunit was changed to dirs=xml image shedit passrc net fpcunit Was there any reason to remove db dir from

[fpc-devel] make cycle fails on win32

2005-12-13 Thread Vincent Snijders
Hi, On win32 I cannot cycle the compiler anymore. I used fpc 2.0.0 and fpc 2.0.2 as starting compilers, but both stop at the same place: D:/lazarus/source/fpc/2.1/compiler/ppc1.exe -Ur -Xs -OG2p3 -n -Fui386 -Fusystems -FuD:/lazarus/source/fpc/2.1/rtl/units/i386-win32 -Fii386 -FE.

Re: [fpc-devel] Coding Questions

2005-12-03 Thread Vincent Snijders
VisionForce wrote: the readkey() function freezes the whole app until you press a key; this is async. You cannot change the behaviour of readkey, but you can use the keypressed function to see if there is a key to be read. Vincent. ___ fpc-devel

Re: [fpc-devel] MySQL v4.0 v4.1 and v5.0

2005-11-18 Thread Vincent Snijders
Joost van der Sluis wrote: For mysql connection I would prefer an component for each version so users have it clear from begining, and not need to change anything. The problem is that those different components coud not be installed at the same time. Why is it impossible to have a

Re: [fpc-devel] MySQL v4.0 v4.1 and v5.0

2005-11-17 Thread Vincent Snijders
Joost van der Sluis wrote: Hi all, atm I have a nearly finished mysql.inc file that can be used with MySQL v4.0 v4.1 and v5.0. Loaded dynamically and static. It uses several defines to set the right MySQL version and to turn the dynamically linking on or off. Create 6 different units in

[fpc-devel] gettext patch

2005-11-10 Thread Vincent Snijders
Hi, Attached patch removes the dos unit from the uses clause of the gettext unit. Patch is created in fpc/fixes/fcl. Regards, Vincent. Index: inc/gettext.pp === --- inc/gettext.pp (revision 1444) +++ inc/gettext.pp

Re: [fpc-devel] Templates / Generics; Vote

2005-11-09 Thread Vincent Snijders
[EMAIL PROTECTED] wrote: Delphi.Net2.0 is using Chrome is using C# is using C/C++ is using Why should FPC use generics ??? Because it is more readable. is an operator and therefore should not be used as bracket in generic definition. That b.s. will break the Delphi code base!

Re: [fpc-devel] (no subject)

2005-11-07 Thread Vincent Snijders
[EMAIL PROTECTED] wrote: Marco van de Voort wrote: Interesting switch in FPC 2.1.1: -Skload fpcylix unit what is it for? Afaik it implicitely USES the fpcylix unit that contains some identifiers for Kylix compat that we _really_ didn't want in the normal system/sysutils

Re: [fpc-devel] Several problems compiling fpc 2.1.1

2005-10-05 Thread Vincent Snijders
Vincent Snijders wrote: Peter Vreman wrote: Vincent Snijders wrote: Hi, None of my nightly builds seem to succeed with svn/fpc/trunk. snip Unable to reproduce this. The program itself has ended. What kernel version is used? And what is the result of a strace if you add {$linklib c

Re: [fpc-devel] fpc 2.0.1 and 2.1.1 behave differently

2005-10-05 Thread Vincent Snijders
Peter Vreman wrote: Hi, The following compiles with fpc 2.0.1, but not anymore with fpc 2.1.1. Is it a bug in my code (and fpc 2.0.1) or in fpc 2.1.1? program Project1; {$mode objfpc}{$H+} procedure test(l: longint); begin end; begin test(longint('')); end. You are dependning on the

Re: [fpc-devel] Several problems compiling fpc 2.1.1

2005-10-04 Thread Vincent Snijders
Vincent Snijders wrote: Hi, None of my nightly builds seem to succeed with svn/fpc/trunk. snip On another linux computer make cycle fails. ppc1 is created, but when executing /home/fpcfan/rpmbuild/BUILD/fpc/compiler/ppc1 -iVSPTPSOTO it just hangs (using all available cpu time). I did

Re: [fpc-devel] Several problems compiling fpc 2.1.1

2005-10-04 Thread Vincent Snijders
Peter Vreman wrote: Vincent Snijders wrote: Hi, None of my nightly builds seem to succeed with svn/fpc/trunk. snip Unable to reproduce this. The program itself has ended. What kernel version is used? And what is the result of a strace if you add {$linklib c} in pp.pas and try to run

[fpc-devel] revision 939 broken

2005-08-24 Thread Vincent Snijders
Hi, SVN revision 939 is broken: ppc386 -FE. -FU/home/fpcfan/src/fpc-test/rtl/units/i386-linux -di386 -dRELEASE ../unix/sockets.pp sockets.inc(431,3) Error: Identifier not found Result sockets.pp(69) Fatal: There were 1 errors compiling module, stopping sockets.pp(69) Error: Compilation

Re: [fpc-devel] cross-compiling (linux program from Win32 platform)

2005-08-02 Thread Vincent Snijders
Michael Van Canneyt wrote: On Tue, 2 Aug 2005, [koi8-r] ? ?? wrote: You need a cross-linker and cross-assembler binaries. Sorry, Where I can found them? I don't know; normally you must compile them yourself, but I suppose they can be downloaded from various sites.

Re: [fpc-devel] THandle and 64bit platforms

2005-08-02 Thread Vincent Snijders
Marc Weustink wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Florian Klaempfl Sent: dinsdag 21 december 2004 8:30 Peter Vreman wrote: My proposal is to rename the current THandle to TFileHandle. And add an platform independent type THandle=PtrUInt. Note that this can

Re: [fpc-devel] Patch: Exception handling without SysUtils

2005-07-07 Thread Vincent Snijders
Yury Sidorov wrote: By the way, messages with attachment are not posted to mailing list. Is it ok? I got your previous message with attachment too. Vincent. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

[fpc-devel] Lazarus instability on windows caused by widestrings?

2005-06-23 Thread Vincent Snijders
Hi, I am investigating some instabilities of lazarus and stumbled on the following (from UTF8Decode). var hs: widestring; begin SetLength(hs,20); SetLength(hs,8); end; In fpc_WideStr_SetLength first a string is allocated with NewWideString, which calls SysAllocStringLen on windows.

Re: [fpc-devel] Lazarus instability on windows caused by widestrings?

2005-06-23 Thread Vincent Snijders
Florian Klaempfl wrote: Vincent Snijders wrote: Hi, I am investigating some instabilities of lazarus and stumbled on the following (from UTF8Decode). var hs: widestring; begin SetLength(hs,20); SetLength(hs,8); end; In fpc_WideStr_SetLength first a string is allocated with NewWideString

Re: [fpc-devel] ExceptAddr, but no ExceptFrameCount and ExceptFrames

2005-06-21 Thread Vincent Snijders
Michael Van Canneyt wrote: On Tue, 21 Jun 2005, Vincent Snijders wrote: Hi, Sysutil has a function ExceptAddr to current exception address, but no corresponding functions to get the frame count and the frames of the current exception. Are these function just not yet implemented

Re: [fpc-devel] ExceptAddr, but no ExceptFrameCount and ExceptFrames

2005-06-21 Thread Vincent Snijders
Vincent Snijders wrote: Vincent Snijders wrote: I noticed that tortoisesvn doesn't put a full path into the diff like tortoisecvs did. Attached are two patches: 1. except.patch implements ExceptFrameCount and ExceptFrames This patch is taken from the rtl/objpas/sysutils directory. 2

Re: [fpc-devel] ExceptAddr, but no ExceptFrameCount and ExceptFrames

2005-06-21 Thread Vincent Snijders
Florian Klaempfl wrote: Vincent Snijders wrote: If these patches are applied in the trunk, wil they be merged into the fixes branch too? Applied, I'll merge them too. I think there was a typo in the merge command. Revision 361 was merged and not revision 461. From the logfile: 2005-06

[fpc-devel] rtl/win directory

2005-06-19 Thread Vincent Snijders
Hi, I am gathering information for fixing the codetools in lazarus with fpc 2.1. There seems to be a new directory: rtl/win. Is it a directory for files shared between win32 and win64? Is it going to be merged to the fixes branch? Vincent. ___

Re: [fpc-devel] Library and unit search paths under MacOSX with fpc 2.0.0?

2005-06-15 Thread Vincent Snijders
Furthermore, Lazarus will still not compile. It gets quite a bit further now, but it chokes on compiling PropertyStorage.pas with Fatal: Can't find unit RTLConst It turns out that I do have rtlconsts.ppu, that is, with an extra 's'. I suspect this is a Lazarus issue. Lazarus 0.9.6

Re: [fpc-devel] out parameters in RTL/FCL

2005-06-09 Thread Vincent Snijders
Peter J. Haas wrote: I write in German language because I'm not able to translate my statement comprehensibly. Maybe anybody can translate it for people, which don't can read German. Ich habe diese Mail hier geschrieben, weil im Vergleich mit diesem Thread deutlich zu sehen ist, das die zum

Re: [fpc-devel] fpc-svn177-units-Mysql broken

2005-06-03 Thread Vincent Snijders
Jan Ruzicka wrote: Hi the latest version (177) of fpc in svn does not compile on Mac OS X 10.3.9. The make all ends with following: /Users/j/fpc/fpc-svn/compiler/ppcppc -Xs -O1 -n -S2 -Fu/Users/j/fpc/fpc-svn/rtl/units/powerpc-darwin

Re: [fpc-devel] Re: [fpc-l] type discussion

2005-06-03 Thread Vincent Snijders
Jamie McCracken wrote: At the end of the day, if you dont like my new dialect then dont use it - stick to {$mode objfpc} in your code. I want to offer you a new dialect that should hopefully make your life easier but if it does not then fair enough. Thanks for the offer, where can I

[fpc-devel] ptrint and sizeint

2005-06-01 Thread Vincent Snijders
Hi, Can somebody explain what is the difference between a ptrint and a sizeint. http://www.freepascal.org/docs-html/rtl/system/ptrint.html and http://www.freepascal.org/docs-html/rtl/system/sizeint.html indicate there is a difference, but are there systems where these two are different?

[fpc-devel] gdb on amd64

2005-06-01 Thread Vincent Snijders
Hi, I am investigating a crash of lazarus on the amd64 platfrom. Part of the backtrace looks like this: #18 0x00434ea0 in TAPPLICATION__RUN (this=Cannot access memory at address 0x8000ed18 ) at application.inc:980 Note the parameter of TApplication.Run is not shown, because of

Re: [fpc-devel] fpdoc: ISO8859-1 - ISO-8859-1

2005-05-27 Thread Vincent Snijders
Michael Van Canneyt wrote: On Fri, 27 May 2005, Vincent Snijders wrote: Hi, I ran fpdoc generated html files through a html validator and it didn't like the ISO8859-1 encoding. Attached patch changes references to ISO8859-1 encoding to ISO-8859-1. Thanks. Applied. I also got errors

Re: [fpc-devel] fpdoc: ISO8859-1 - ISO-8859-1

2005-05-27 Thread Vincent Snijders
Michael Van Canneyt wrote: On Fri, 27 May 2005, Vincent Snijders wrote: Michael Van Canneyt wrote: On Fri, 27 May 2005, Vincent Snijders wrote: Hi, I ran fpdoc generated html files through a html validator and it didn't like the ISO8859-1 encoding. Attached patch changes references

[fpc-devel] patch for docs make file

2005-05-22 Thread Vincent Snijders
Hi, In order to create the rtl docs for sourceforge ( http://lazarus-ccr.sourceforge.net/docs/rtl/ ) I needed to pass the --footer=xxx to fpdoc. Because I wanted to use make, for creating these docs, I modified the Makefile (see attached diff). I also needed a content file as input for

[fpc-devel] wrong link to bug database in Changes.xxx

2005-05-10 Thread Vincent Snijders
Hi, Since the rebuild of the cvs server a month or two ago, the changes log file creates links if it finds the word bug in a change log. See for example: http://www.freepascal.org/cgi-bin/viewcvs.cgi/fpc/logs/Changes.rtl?rev=1.2149 it has a link to bug 3957 with the entry from 2005-05-09

[fpc-devel] lazarus bug report + fix: Utf8ToUnicode doesn't work correctly

2005-05-04 Thread Vincent Snijders
Hi, Can you take a look at this issue reported at the lazarus bug tracker: http://www.lazarus.freepascal.org/mantis/view.php?id=888 It contains a fixed version of the Utf8ToUnicode function. Since it is part of the rtl, I close this lazarus issue and send you this message. I did not test the

[fpc-devel] patch for xmlreader

2005-05-02 Thread Vincent Snijders
Hi, Attached patch fixed an error in the xmlreader. If a text attribute contained a quot;, but not at the end of the string it could fail. For example this (minimal) xml file: ?xml version=1.0? CONFIG Value=quot;TESTquot;. / TestProgram: program testxmlcfg; {$mode objfpc}{$H+} uses Classes,

<    1   2   3   4   5   6   >