Re: [fpc-devel]making pdf docs

2003-02-13 Thread Michael Van Canneyt
On Thu, 13 Feb 2003, Mattias Gaertner wrote: Hi all, I have trouble making the current docs in pdf (fpc cvs, redhat 7.3). I tried: [fpc]# make -C docs pdf make: Entering directory `/[...]/fpc/docs' pdflatex user This is pdfTeX, Version 3.14159-14h-released-20010417 (Web2C 7.3.3.1)

Re: [fpc-devel]x11 fix (and a feature in h2pas)

2003-07-30 Thread Michael Van Canneyt
On Wed, 30 Jul 2003, Nikolay Nikolov wrote: I already sent this message to the fpc-devel list (3 days ago), but I still haven't seen it being delievered, so I'm sending it again... Basically the X11 package doesn't work. The reason is h2pas. It converts typedef char* XPointer; to

Re: [fpc-devel]GetPropInfos in fpc 1.1

2003-08-14 Thread Michael Van Canneyt
On Tue, 5 Aug 2003, kino wrote: Hi I've founded an incompatibility between Delphi and FPC 1.1 for GetPropInfos function: * Delphi return a list order by NameIndex * FPC return a list with all property of current class, all property of parent class, and so on I'm not sure the nameindex

Re: [fpc-devel]Format() incompatibility with Delphi

2003-11-08 Thread Michael Van Canneyt
On Fri, 7 Nov 2003, Michalis Kamburelis wrote: Hi What should Format('%d %d %0:d %d', [0, 1, 2, 3]) return ? Delphi help is clear about that : Setting the index specifier affects all subsequent formatting, so it should return '0 1 0 1' (and it does when compiled with Delphi). Let me

Re: [fpc-devel]SHUT_* constants (sockets)

2003-11-10 Thread Michael Van Canneyt
On Sun, 9 Nov 2003, Johannes Berg wrote: On Sun, 2003-11-09 at 23:50, [EMAIL PROTECTED] wrote: I've added them. Thanks. One less item on the list of my local patches ;) Feel free to present other patches for submission as well. I don't guarantee that they will be incorporated at once or

Re: [fpc-devel]patch for ReadPropValue

2003-12-15 Thread Michael Van Canneyt
On Sun, 14 Dec 2003, Darek Mazur wrote: Hi I investigated read property from Lazarus LRS, and I noticed that tColor property with Identifies don't work and crash program (for example tForm.COLOR:=clWindow) I write small patch to avoid this this is new function in CLASSES.INC //

Re: [fpc-devel](no subject)

2004-01-06 Thread Michael Van Canneyt
On Tue, 6 Jan 2004 [EMAIL PROTECTED] wrote: Why is there no daily binary snapshot at ftp://ftp.freepascal.org/pub/fpc/snapshot/v11/win32-i386/ ??? Latest files are marked with 14/12/03. It probably means that the build fails for some reason. Michael.

Re: [fpc-devel]Pchar issue on Win32 with 1.9.2

2004-01-16 Thread Michael Van Canneyt
On Fri, 16 Jan 2004, Skovrup, Morten Juel wrote: I couldn't get in contact with the bug-report system, but the following code behaves incorrectly (compiled using -Sd): No, it is correct. The result of a PChar() typecast on an expression is not defined outside the expression. This is correct

[fpc-devel]Re: problem with sqlite test program

2004-01-26 Thread Michael Van Canneyt
On Sun, 25 Jan 2004, Matt Henley wrote: Michael, I am still trying to get sqlite working under fpc (and lazarus). I got the package to compile under fpc. I also compiled the test program. When I run ./test I get: [EMAIL PROTECTED] sqlite $ ./test Creating class Inconsistency detected

Re: [fpc-devel]TProcess doesn't set environment variables correct in win32

2004-02-03 Thread Michael Van Canneyt
On Tue, 3 Feb 2004, Vincent Snijders wrote: On Tue, 3 Feb 2004 00:47:44 +0100 (CET) [EMAIL PROTECTED] wrote: On Mon, 2 Feb 2004, Vincent Snijders wrote: Hi, I noticed that TProcess sets the environment variables the same way on win32 as on unix systems. This is not

Re: [fpc-devel]IDE (general and Darwin)

2004-02-05 Thread Michael Van Canneyt
On Thu, 5 Feb 2004, Karl-Michael Schindler wrote: Hi there, What is actually the idea about further developments of the IDE, with my particular interest in Darwin. My impression is that the FPIDE is winx and linux, but not *bsd and not much further development. Then there is lazarus with

Re: [fpc-devel]fpc l10n issue

2004-03-03 Thread Michael Van Canneyt
On Wed, 3 Mar 2004, Rimgaudas Laucius wrote: Hello, 1) did you thought ever about creation l10n framework for fpc? I think contributors could submit translated fpc messages files (.msg) and other locale dependent stuff there. It needs tool for merging translated messages from one version

Re: [fpc-devel]fcl, classes unit, memory issue

2004-04-19 Thread Michael Van Canneyt
On Sun, 18 Apr 2004, Rimgaudas Laucius wrote: Hello, uses classes; var l: tstringlist; begin l.loadfromfile('file.txt'); //-hangs here ... end. Program hangs (under windows, 1.9.2 and earlier v.) then i try to load relatively large file (~7 MB) without raising any error

Re: [fpc-devel]Delphi compiler Sibyl

2004-05-08 Thread Michael Van Canneyt
On Sat, 8 May 2004 [EMAIL PROTECTED] wrote: Hi! Some years ago there was a Delphi compiler named Sibyl for OS2 from a German company. Now it's under GPL. Can be found at http://members.chello.at/webstar/ I think there are interesting concepts. I have these sources since some years.

Re: [fpc-devel]Patch for rpm generation

2004-05-27 Thread Michael Van Canneyt
On Wed, 26 May 2004, Colin Western wrote: The attached patch provides some small fixes so that make rpm works - it was not working for me under Fedora, and I think the fixes are not restricted to the distribution I am using. 1. Fix bug number 2773 2. Allow make rpm to work as non root

[fpc-devel]FPC Version 1.9.4 released.

2004-06-02 Thread Michael Van Canneyt
Hello, The FPC team is pleased to announce that version 1.9.4 has been uploaded on the web. Version 1.9.4 is a pre-release of the upcoming version 2.0. However, the FPC team believes that the quality is sufficient for production work: version 1.9.4 scores significantly better in the testsuite

Re: [fpc-devel]xresource.pp

2004-06-09 Thread Michael Van Canneyt
On Wed, 9 Jun 2004, Jeff Pohlmeyer wrote: X11R6/include/X11/Xresource.h says: typedef char *XrmString; typedef XrmHashBucket *XrmHashTable; fpc/packages/extra/x11/xresource.pp says: TXrmString = char; TXrmHashTable = TXrmHashBucket; I think that should be:

Re: [fpc-devel]Building 1.9.4 on a Windows box

2004-07-16 Thread Michael Van Canneyt
On Thu, 15 Jul 2004, Ken Linder wrote: Hi All, Maybe its my lack of sleep or too much coffee but I just cant seem to get 1.9.4 to build. I have the 1.9.2 binary installed and it is working fine. I keep getting the error: system.pp(32,2) Fatal: Can't open include file systemh.inc

Re: [fpc-devel]Access violation with IndexName property of TDbf

2004-08-03 Thread Michael Van Canneyt
On Tue, 3 Aug 2004, Tony Maro wrote: Tony Maro wrote: I'm not sure if this is a TDbf issue, or an FPC db issue, so I'm posting both places. I'm using CVS of FPC from about 1 hour ago. Basically, whatever I do, if I try to set the IndexName or IndexFieldNames property of the TDbf I

Re: [fpc-devel]TDataset Buffer rewrite

2004-08-03 Thread Michael Van Canneyt
On Tue, 3 Aug 2004, Joost van der Sluis wrote: Ok, i've had it with the TDataset Buffers. :-) Join the club. They work now but not as they should, resync is buggy and it's not very Delphi-compatible. Well. It was modeled to be compatible with D3 code. The main issue here is that

Re: [fpc-devel]FPC CVS breaks Lazarus build within IDE

2004-08-13 Thread Michael Van Canneyt
On Fri, 13 Aug 2004, Tony Maro wrote: I just updated my FPC cvs today. My last update was 3 or 4 days ago. I haven't updated Lazarus in a week or so. The latest FPC update breaks building Lazarus from inside the IDE. For those familiar, if you try to install a package, Lazarus will

Re: [fpc-devel]FPC CVS breaks Lazarus build within IDE

2004-08-13 Thread Michael Van Canneyt
On Fri, 13 Aug 2004, Vincent Snijders wrote: On Fri, 13 Aug 2004 10:10:46 +0200 (W. Europe Daylight Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Fri, 13 Aug 2004, Tony Maro wrote: I just updated my FPC cvs today. My last update was 3 or 4 days ago. I haven't updated

Re: [fpc-devel]FPC CVS breaks Lazarus build within IDE

2004-08-13 Thread Michael Van Canneyt
On Fri, 13 Aug 2004, Joost van der Sluis wrote: Vincent, the problem is that the ExecVE call gets the complete TProcess.CommandLine property as the first argument, when it should only get the binary name. The error is probably in the MakeCommand() line in process.inc. I don't know if

Re: [fpc-devel]How to get the milliseconds since January 1, 1900

2004-09-06 Thread Michael Van Canneyt
On Mon, 6 Sep 2004, Olle Raab wrote: 04-09-02 20.15, skrev Zhong Wang följande: Hello, everybody In Java and Java script, a date time can be converted to the milliseconds since January 1, 1900, and a long integer can be get. Is there a convenient function in FPC to be compatible

Re: [fpc-devel] mysql error when compiling latest CVS

2004-09-29 Thread Michael Van Canneyt
On Wed, 29 Sep 2004, ales wrote: I get this with latest CVS: Compiling /home/ales/fpc/packages/base/mysql/mysql.pp mysqldb.pp(241,30) Error: Illegal qualifier mysqldb.pp(241,24) Error: Operator is not overloaded mysqldb.pp(241,30) Fatal: Syntax error, THEN expected but identifier NAME

Re: [fpc-devel] Problem with PASSRC units

2004-12-06 Thread Michael Van Canneyt
On Sun, 5 Dec 2004 [EMAIL PROTECTED] wrote: While attempting to run MAKESKEL/FPDOC against the Windows system unit, I got an error on the line TPCharArray = packed array [ . stating 'Expected record at token array' In researching this problem, I found that the PASSRC units only handled

Re: [fpc-devel] Problem with PASSRC units

2004-12-06 Thread Michael Van Canneyt
On Mon, 6 Dec 2004, Michael Van Canneyt wrote: On Sun, 5 Dec 2004 [EMAIL PROTECTED] wrote: While attempting to run MAKESKEL/FPDOC against the Windows system unit, I got an error on the line TPCharArray = packed array [ . stating 'Expected record at token array' In researching

Re: [fpc-devel] Variants and strings

2004-12-20 Thread Michael Van Canneyt
On Mon, 20 Dec 2004, Joost van der Sluis wrote: Hi all, I've found a problem in the string-implementation of the variants, but I thought I would better discus it first, before I start doing all sort of work for nothing. In variants string-values are stored as PWideChar's. (called

Re: [fpc-devel] Variants and strings

2004-12-20 Thread Michael Van Canneyt
On Mon, 20 Dec 2004, Joost van der Sluis wrote: I've found a problem in the string-implementation of the variants, but I thought I would better discus it first, before I start doing all sort of work for nothing. In variants string-values are stored as PWideChar's. (called

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

2004-12-21 Thread Michael Van Canneyt
On Tue, 21 Dec 2004, Florian Klaempfl wrote: Peter Vreman wrote: That said, the RTL should also avoid confusion with the Windows/Delphi THandle type, and introduce a cross-platform and opaque TFileHandle type. It's text/file/file of in pascal ;) Which will happen to be equal to

Re: [fpc-devel] TList slowness in classes

2004-12-24 Thread Michael Van Canneyt
On Fri, 24 Dec 2004, Michalis Kamburelis wrote: Hi, I tested your code and found that indeed version in ucopylist is slightly faster (by about 9.5 / 7 =~ 1.357). Two things: 1. Speedup is only 1.357x, not 3x, like you said. Are you sure that you're getting 3x speedup ? On what OS and

Re: [fpc-devel] TList slowness in classes

2004-12-24 Thread Michael Van Canneyt
On Fri, 24 Dec 2004, Michalis Kamburelis wrote: Peter Vreman wrote: This is because there is an extra (implicit) Try/Finally block. Thank you and Peter for answers. This way I was able to see how try...finally section looks in assembler :) Anyway, I understand that the answer is can't be

Re: [fpc-devel] TList slowness in classes

2004-12-24 Thread Michael Van Canneyt
On Fri, 24 Dec 2004, Mattias Gaertner wrote: On Fri, 24 Dec 2004 10:56:24 +0100 (W. Europe Standard Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: If the answer is yes, then maybe it's safe to compile parts of FPC sources in lists.inc (like TList.Get) inside {$IMPLICITEXCEPTIONS

Re: [fpc-devel] TList slowness in classes

2004-12-24 Thread Michael Van Canneyt
On Fri, 24 Dec 2004, Mattias Gaertner wrote: On Fri, 24 Dec 2004 11:49:10 +0100 (W. Europe Standard Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Fri, 24 Dec 2004, Mattias Gaertner wrote: On Fri, 24 Dec 2004 10:56:24 +0100 (W. Europe Standard Time) Michael Van Canneyt

Re: [fpc-devel] small patch for db

2004-12-28 Thread Michael Van Canneyt
On Tue, 30 Nov 2004, Jesus Reyes wrote: Tfielddefs.assign handle fielddefs starting at index 1, it should start at index 0 Thanks. Applied. Michael. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] TList slowness in classes

2004-12-28 Thread Michael Van Canneyt
On Fri, 24 Dec 2004, Mattias Gaertner wrote: On Fri, 24 Dec 2004 12:13:15 +0100 (W. Europe Standard Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Fri, 24 Dec 2004, Mattias Gaertner wrote: [...] And creates the implicit exception frame only in RaiseIndexError. I have changed

Re: [fpc-devel] Portability Standards

2005-01-02 Thread Michael Van Canneyt
On Sat, 1 Jan 2005, DrDiettrich wrote: In the meantime I downloaded the Abbrevia package from SourceForge, and came across several unpleasent constructs. Please let me introduce my preferred programming model for portable code. 1) Target Dependencies I don't accept any OS or machine

Re: [fpc-devel] compiler bug?

2005-01-02 Thread Michael Van Canneyt
No offence meant but, Can this thread (see subject) please be stopped ? It is no longer interesting for the rest of us, and threatens to lead to a flame war. I'm sure no-one is interested in that either. Michael. ___ fpc-devel maillist -

Re: [fpc-devel] Portability Standards

2005-01-03 Thread Michael Van Canneyt
On Mon, 3 Jan 2005, Tomas Hajny wrote: On Sun, 2 Jan 2005 23:35:10 +0100 (Romance Standard Time), Michael Van Canneyt wrote On Sun, 2 Jan 2005, DrDiettrich wrote: Michael Van Canneyt wrote: . . 2) File Restructuring I've separated the spaghetti code in AbUtils.pas

Re: [fpc-devel] Portability Standards

2005-01-03 Thread Michael Van Canneyt
On Mon, 3 Jan 2005, Marco van de Voort wrote: 2) File Restructuring I've separated the spaghetti code in AbUtils.pas into distinct MSWINDOWS and UNIX sections, each containing complete procedures. These sections could be moved into dedicated OS specific include files - what's the

Re: [fpc-devel] Abbrevia Port (was: Portability Standards)

2005-01-04 Thread Michael Van Canneyt
On Tue, 4 Jan 2005, DrDiettrich wrote: Michael Van Canneyt wrote: Question: What's preferrable, a direct port of the Abbrevia library, or a new and better portable design instead, that interfaces with the not otherwise available worker classes as implemented in Abbrevia? Second

Re: [fpc-devel] Portability Standards

2005-01-04 Thread Michael Van Canneyt
On Tue, 4 Jan 2005, DrDiettrich wrote: Michael Van Canneyt wrote: The FPC units are not POSIX, hence, UNIX. (long threads have already been spent on that, and it is a done deal) I don't want to resurrect a discussion, but can somebody give me an idea how UNIX and POSIX are different

Re: [fpc-devel] FPC 1.9.6 (a.k.a. 2.0.0-RC1) is out

2005-01-04 Thread Michael Van Canneyt
On Tue, 4 Jan 2005, Tomas Hajny wrote: On Sun, 02 Jan 2005 21:41:59 +0100, DrDiettrich wrote [EMAIL PROTECTED] wrote: If no major bugs are found, version 2.0 will be released in a short timeframe. I would like to test the Win32 distribution, but the archives are too big for an

Re: [fpc-devel] FPC 1.9.6 (a.k.a. 2.0.0-RC1) is out

2005-01-04 Thread Michael Van Canneyt
Maybe we should start making CDs and sell them for the price of CD+Shipping. Like Marco proposed. (He's been shouting in the desert since years... ;-) ) Michael. If you go this way I'd suggest adding also Lazarus. I know the thing is just another project made with FPC but I think

Re: [fpc-devel] Another small issue in win32 package

2005-01-05 Thread Michael Van Canneyt
On Tue, 4 Jan 2005, pascalive wrote: The precompiled units of sqlite, cdrom ,odbc, winver and tcl comes in the install file (fpc-1.9.6.i386-win32.zip) but arent installed in the units folder. Also, this is a known issue, and has been fixed meanwhile. The next installer for Win32 will be

Re: [fpc-devel] FPC 1.9.6 (a.k.a. 2.0.0-RC1) is out

2005-01-07 Thread Michael Van Canneyt
On Fri, 7 Jan 2005, DrDiettrich wrote: So let me list the problems I encountered with a preceding version: - Mouse buttons inoperative (W2K, no menu selection...) - \\ contained in all stored pathes, IMO due to input of the FPC directory ending with an \. Please only report

Re: [fpc-devel] Resource string in TStringList

2005-01-08 Thread Michael Van Canneyt
On Sat, 8 Jan 2005, pascalive wrote: Some time ago there was a discussion about the use of Resource string in TList that resulted in a modification in TList.Get function (Created TList.RaiseIndexError function). I think that the same could be done in TStringList (i noticed that

Re: [fpc-devel] File Dates

2005-01-24 Thread Michael Van Canneyt
On Mon, 24 Jan 2005, DrDiettrich wrote: Currently I'm trying to define an object for file dates. This object shall allow to compare time stamps for files on disk and in archives, and it also shall be usable to set time stamps for such files. Now I'm undecided what unique internal date/time

Re: [fpc-devel] File Dates

2005-01-29 Thread Michael Van Canneyt
On Fri, 28 Jan 2005, DrDiettrich wrote: Michael Van Canneyt wrote: What time stamps are in use on the various platforms? Too various. I suggest using simply TDateTime. It has microsecond resolution, which should be more than enough. It offers the additional advantage

Re: [fpc-devel] File Dates

2005-01-29 Thread Michael Van Canneyt
On Sat, 29 Jan 2005, Marco van de Voort wrote: Michael Van Canneyt wrote: routines. There are a lot of TDateTime routines in the RTL, they would all be at your disposal. Okay, I'll use TDateTime internally, with the following questions: FPC defines 1900-1-1 as the start date

Re: [fpc-devel] VMT compatibility

2005-01-29 Thread Michael Van Canneyt
On Sun, 30 Jan 2005, Alexey Barkovoy wrote: I where any chance to see FreePascal generating VMT's for classes that is more compatible with C++ / TurboPascal / Delphi one? To explain mine question: recently I've been porting Delphi framework interfacing to C++ code to FPC and finded out

Re: [fpc-devel] Re: File Dates

2005-01-30 Thread Michael Van Canneyt
On Sat, 29 Jan 2005, Jeff Pohlmeyer wrote: AFAIR Unix has some kind of registry for file types, based on file extensions and characteristic bytes at the begin of an file. Does somebody know more about that registry, so that it could be integrated into the intended registry for archive

Re: [fpc-devel] File Dates

2005-01-30 Thread Michael Van Canneyt
On Sun, 30 Jan 2005, DrDiettrich wrote: Michael Van Canneyt wrote: FPC defines 1900-1-1 as the start date, whereas Delphi defines 1899-12-30 as the start date - note: neither 1900 nor dec. 31! This requires different constants for converting a Unix date into TDateTime, or portable

Re: [fpc-devel] VMT compatibility

2005-01-30 Thread Michael Van Canneyt
On Sun, 30 Jan 2005, Marco van de Voort wrote: // Call C++ function and pass to it our special interface Result := D3DXLoadMeshHierarchyFromX_FPC_{$}(Filename, MeshOptions, pD3DDevice, AllocI, pUserDataLoader, ppFrameHierarchy, ppAnimController); Dec(PInteger(AllocI)^, $C); //

Re: [fpc-devel] InstantObjects

2005-02-01 Thread Michael Van Canneyt
On Tue, 1 Feb 2005 [EMAIL PROTECTED] wrote: Hi, I'm going to port IO (www.instantobjects.org) to fpc. The codebase is quite large (about 3 lines of code) and I don't really know fpc, but I hope I'll understand it better at the end of the story. ;) I'm in touch with IO main developers so

Re: [fpc-devel] Modernising Pascal

2005-02-24 Thread Michael Van Canneyt
On Thu, 24 Feb 2005, Jamie McCracken wrote: It might be better to do this in an IDE and get it to add the try..finally crap. EG if I say use the @ symbol to indicate a variable should be auto created and destroyed then I could have : var st@, st2@ : tstringlist; begin st.add('some text');

Re: [fpc-devel] Local procedures as procedural parameter

2005-03-14 Thread Michael Van Canneyt
On Mon, 14 Mar 2005, Adriaan van Os wrote: 7. Consider the following program: program func; type tfun = function( x: real): real; procedure iso_fun( function f( x: real): real); begin end; procedure typ_fun( pf: tfun); begin end;

Re: [fpc-devel] Local procedures as procedural parameter

2005-03-14 Thread Michael Van Canneyt
On Mon, 14 Mar 2005, Jonas Maebe wrote: On 14 mrt 2005, at 09:45, Michael Van Canneyt wrote: 7. Consider the following program: program func; type tfun = function( x: real): real; procedure iso_fun( function f( x: real): real); begin end; procedure

Re: [fpc-devel] Local procedures as procedural parameter

2005-03-14 Thread Michael Van Canneyt
On Mon, 14 Mar 2005, Florian Klaempfl wrote: Michael Van Canneyt wrote: I will object against a solution that causes existing code to be altered in any way, such as an extra hidden parameter for all callbacks. For the ISO ones, I don't think there is any other way of doing it. As long

Re: [fpc-devel] Local procedures as procedural parameter

2005-03-14 Thread Michael Van Canneyt
On Mon, 14 Mar 2005, Jonas Maebe wrote: On 14 mrt 2005, at 11:11, Michael Van Canneyt wrote: No, because normally, one never mixes 'procedure of object' with 'procedural'. You program either linear, either OOP, so you either use one or the other, never both. The distinction is also very clear

Re: [fpc-devel] Friend classes?

2005-03-15 Thread Michael Van Canneyt
On Tue, 15 Mar 2005, DrDiettrich wrote: I just came about code that uses protected members of other classes, defined in other units. In Delphi this possible by a declaration like: type TFriendClass = class(TNotMyClass); This is a simple descendent. After this declaration the protected (and

Re: [fpc-devel] crt unit fix

2005-03-16 Thread Michael Van Canneyt
On Wed, 16 Mar 2005, Dr. Karl-Michael Schindler wrote: Hi, When I was at the crt unit, I noticed that a number procedures are small (less then 5 lines of code) and called only once. Some others are quite general like scrollregion, but called only once with one line. In my opinion the code

Re: [fpc-devel] xf86dga unit

2005-03-17 Thread Michael Van Canneyt
On Thu, 17 Mar 2005, Nikolay Nikolov wrote: xf86dga unit attached you may add it to packages/extra/x11 Added, thanks ! Michael. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] TField.IsNull for Interbase (or rather Firebird :) implemented

2005-03-17 Thread Michael Van Canneyt
On Thu, 17 Mar 2005, Michalis Kamburelis wrote: Hi I managed to implement correct TField.IsNull behaviour for fields inside TIBQuery dataset. I'm attaching: -- patch to packages/base/ibase/ibase60types.inc, this fixes a small bug in ibase60 unit that defined Short as Integer (= 32 bits, since

Re: [fpc-devel] Friend classes?

2005-03-18 Thread Michael Van Canneyt
On Wed, 16 Mar 2005, DrDiettrich wrote: Michael Van Canneyt wrote: type TFriendClass = class(TNotMyClass); This is a simple descendent. Yes and no. The only purpose of this declaration is to get access to the protected members of the class, not to extend the class in any way. Yes. This is OK

Re: [fpc-devel] Changing transaction properties specific to IB when using IBConnection

2005-03-18 Thread Michael Van Canneyt
On Fri, 18 Mar 2005, Michalis Kamburelis wrote: Hi I played with Sqldb and IBConnection units, and now I see the real benefit of them: there's only one dataset and one transaction class for all Firebird, PostgreSQL and MySQL bindings. Each specific database binding must only introduce new

Re: [fpc-devel] fpc_ShortStr_To_WideStr

2005-03-21 Thread Michael Van Canneyt
On Mon, 21 Mar 2005, C Western wrote: Is the assignment to Size meant to be commented out? (I have just started having trouble with a program which I think has just started using widestrings because the DOM unit has been switched to widestrings.) The DOM unit has always been using

Re: [fpc-devel] First benchmark of Abbrevia 4.0

2005-03-29 Thread Michael Van Canneyt
On Sun, 27 Mar 2005, DrDiettrich wrote: A friend of mine just has tested my archiver, with the following results for an TAR with a million of files: PowerArchiver: 530 minutes. My Unarch: 160 minutes. Huh ? Who creates archives with million of files ? Who creates a million of files in

Re: [fpc-devel] Packaging

2005-03-29 Thread Michael Van Canneyt
On Tue, 29 Mar 2005, Daniel Herzog wrote: Hi all, In order to get fpc into portage, the gentoo packaging system it would be necessary to make available a bootstrap tar ball (640 KB) with the ppc386 binary and a default fpc.cfg file. 640 K ? Is that a joke ? The compiler sources alone are

Re: [fpc-devel] Packaging

2005-03-29 Thread Michael Van Canneyt
On Tue, 29 Mar 2005, Marco van de Voort wrote: On Tue, 29 Mar 2005, Daniel Herzog wrote: Hi all, In order to get fpc into portage, the gentoo packaging system it would be necessary to make available a bootstrap tar ball (640 KB) with the ppc386 binary and a default fpc.cfg

Re: [fpc-devel] Packaging

2005-03-29 Thread Michael Van Canneyt
On Tue, 29 Mar 2005, Daniel Herzog wrote: Okay. I'll totally rephrase this now: Gentoo builds (almost) everything from source. This is done via ebuilds. There is grap this file: ftp://ftp.freepascal.org/pub/fpc/beta/source-1.9.8/fpc-1.9.8.source.tar.gz And compile and install it. To

Re: [fpc-devel] webserver

2005-03-29 Thread Michael Van Canneyt
On Tue, 29 Mar 2005, Daniel Herzog wrote: Jonas Maebe schrieb: On 29 mrt 2005, at 16:40, Daniel Herzog wrote: Here it doesnt. I even tried to change the mtu of all relevant systems to 1400 instead of 1500, which didnt help also...and i cant lower my mtu far more...i want some

Re: [fpc-devel] webserver

2005-03-30 Thread Michael Van Canneyt
On Wed, 30 Mar 2005, Daniel Herzog wrote: Peter Vreman schrieb: Jonas Maebe schrieb: On 29 mrt 2005, at 16:40, Daniel Herzog wrote: Here it doesnt. I even tried to change the mtu of all relevant systems to 1400 instead of 1500, which didnt help also...and i cant lower my mtu far

Re: [fpc-devel] webserver

2005-03-30 Thread Michael Van Canneyt
On Wed, 30 Mar 2005, Micha Nelissen wrote: On Wed, 30 Mar 2005 19:24:13 +0200 Daniel Herzog [EMAIL PROTECTED] wrote: Quite a few now said it might be the case that it's firewall blocks all icmp packages. Try lowering the servers mtu for the fun with it. Yes, any sensible sysadmin

Re: [fpc-devel] webserver

2005-03-30 Thread Michael Van Canneyt
On Wed, 30 Mar 2005, Johannes Berg wrote: On Wed, 2005-03-30 at 22:17 +0200, Michael Van Canneyt wrote: I don't think it is the server, as the MTU size of the server didn't change. The router is outside my control; It's controlled by the ISP; So there is nothing I can do about

Re: [fpc-devel] webserver

2005-03-30 Thread Michael Van Canneyt
On Wed, 30 Mar 2005, Daniel Herzog wrote: Michael Van Canneyt schrieb: On Wed, 30 Mar 2005, Daniel Herzog wrote: Peter Vreman schrieb: Jonas Maebe schrieb: On 29 mrt 2005, at 16:40, Daniel Herzog wrote: Here it doesnt. I even tried to change the mtu of all relevant

Re: [fpc-devel] webserver

2005-03-30 Thread Michael Van Canneyt
On Wed, 30 Mar 2005, Johannes Berg wrote: On Wed, 2005-03-30 at 21:45 +0200, Marco van de Voort wrote: Same here, and I can ping www.freepascal.org till 8184. The size at which you can ping www.freepascal.org isn't relevant, that just means that you are not blocking 'fragmentation

Re: [fpc-devel] Subcomponents

2005-04-15 Thread Michael Van Canneyt
On Fri, 15 Apr 2005, Marc Weustink wrote: Hi, Attached is a patch to enable subcomponents to be streamed. Added are the csSubComponent and the csTransient ComponentStyle When the csSubComponent style is set for a published TComponent type property, all properties of this component are written

Re: [fpc-devel] bugreport: FPC 1.9.8 installer, i386-FreeBSD

2005-04-18 Thread Michael Van Canneyt
On Mon, 18 Apr 2005, Andres K. Foerster wrote: Am Montag, dem 18. Apr 2005 schrieb Marco van de Voort: Or better rewrite it to be usable with a standard-shell. I prefer not, it is not worth the effort. I'm going have a look at it this week. Shall I send it to the

Re: [fpc-devel] patch for xmlreader

2005-05-02 Thread Michael Van Canneyt
On Mon, 2 May 2005, Vincent Snijders wrote: 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. Applied. Thanks ! Michael. ___ fpc-devel maillist -

Re: [fpc-devel] Some thoughts about TFPList

2005-05-03 Thread Michael Van Canneyt
On Mon, 2 May 2005, pascalive wrote: I noticed that TFPList class was added in cvs version as a way to get rid of Notify performance penalty. I suggest to remove TFPList.Grow method since its only for Delphi compability (but Delphi doesnt have TFPlist) and AFAIK virtual methods add some degree of

Re: [fpc-devel] Some thoughts about TFPList

2005-05-04 Thread Michael Van Canneyt
On Tue, 3 May 2005, Dean Zobec wrote: Michael Van Canneyt wrote: On Mon, 2 May 2005, pascalive wrote: I noticed that TFPList class was added in cvs version as a way to get rid of Notify performance penalty. I suggest to remove TFPList.Grow method since its only for Delphi

Re: [fpc-devel] libc bugreport

2005-05-04 Thread Michael Van Canneyt
On Tue, 3 May 2005, zephod wrote: Dear, I am evaluating fpc as a possible replacement compiler for a large kylix based source tree (~200.000 lines of code). In porting the apps I encountered some small troubles: * packages/base/libc/aineth.inc: inp argument of inet_aton

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

2005-05-04 Thread Michael Van Canneyt
On Wed, 4 May 2005, Vincent Snijders wrote: 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

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

2005-05-04 Thread Michael Van Canneyt
On Wed, 4 May 2005, Jonas Maebe wrote: On 4 mei 2005, at 12:04, Michael Van Canneyt wrote: 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 fixed version

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

2005-05-04 Thread Michael Van Canneyt
On Wed, 4 May 2005, Michalis Kamburelis wrote: Michael Van Canneyt wrote: On Wed, 4 May 2005, Jonas Maebe wrote: On 4 mei 2005, at 12:04, Michael Van Canneyt wrote: It contains a fixed version of the Utf8ToUnicode function. Since it is part of the rtl

Re: [fpc-devel] About TDataSet master/detail design in fpc

2005-05-06 Thread Michael Van Canneyt
On Fri, 6 May 2005, Luiz Américo wrote: I noticed that in the current cvs of fpc it's implemented the master/detail relation between TDataset(s). I saw that TDetailDataLink and TMasterDataLink was introduced but I couldn't figure how is supposed to work. I also noticed the abscense of

Re: [fpc-devel] About TDataSet master/detail design in fpc

2005-05-06 Thread Michael Van Canneyt
On Fri, 6 May 2005, Uberto Barbini wrote: They are not yet implemented. But NestedDataset and DatasetField are ONLY for TClientDataset, and we don't support TClientDataset (yet). Not only, they were first implemented for Oracle object field and they're used by some other custom

Re: [fpc-devel] About TDataSet master/detail design in fpc

2005-05-06 Thread Michael Van Canneyt
On Fri, 6 May 2005, Luiz Amrico wrote: BTW: To Michael Van Canneyt: Did you notice the patch i sent privately to you Yesterday? Yes. I didn't apply it yet; I will do so tonight. I had lots of other things to do. Michael.___ fpc-devel

Re: [fpc-devel] TCustomConnection - why?

2005-05-07 Thread Michael Van Canneyt
On Sat, 7 May 2005, Joost van der Sluis wrote: Hi all, Can someone explain to me why TCustomConnection is implemented? And where was it based on? In Delphi TCustomConnection is a child of TControl, not of TDatabase, Of TComponent, actually. and is doesn't have EndTransaction and

Re: [fpc-devel] db/tests

2005-05-07 Thread Michael Van Canneyt
On Sat, 7 May 2005, Joost van der Sluis wrote: Hi all, in fcl/db/tests there are some tests for database-access that uses the TddgDataset. Is it usefull to keep those tests there? And is it usefull to keep TddgDataset (ddg_ds.pp and ddg_rec.pp)? Yes and no, they serve as examples of how

Re: [fpc-devel] TCustomConnection - why?

2005-05-07 Thread Michael Van Canneyt
On Sat, 7 May 2005, Joost van der Sluis wrote: I think that the idea behind TCustomConnection is the same of TDBDatabase. So I would suggest to implement all connect/disconnect stuff from TCustomConnection to TDBDatabase, and remove TCustomConnection. Or am I missing

Re: [fpc-devel] Duplicate code in TDatasource.DistributeEvent implementation

2005-05-08 Thread Michael Van Canneyt
On Sat, 7 May 2005, Luiz Amrico wrote: take a look at TDatasource.DistributeEvent implementation (datasource.inc): With FDatalinks do begin For I:=0 to Count-1 do With TDatalink(Items[i]) do If Not VisualControl Then DataEvent(Event,Info); For I:=0 to Count-1 do With

[fpc-devel] FPC version 2.0.0 officially released.

2005-05-16 Thread Michael Van Canneyt
Hello, The FPC team is pleased to announce the availability of version 2.0.0 of the Free Pascal Compiler. This is the new stable version of the compiler. Versions numbered 1.0.X and 1.9.Y are now considered obsolete and will no longer be maintained. What is Free Pascal ? =

Re: [fpc-devel] Trivial fix to trunk/fcl/image/fpimgcmn.pp

2005-05-22 Thread Michael Van Canneyt
On Sun, 22 May 2005, Michalis Kamburelis wrote: Hi Compilation of fpimgcmn.pp is broken starting from revision 33 (some part of code that was $ifdefed earlier by VER1_0 stayed), I'm attaching a trivial patch. You must have missed my fix then, because it is already fixed since revision

Re: [fpc-devel] patch for docs make file

2005-05-23 Thread Michael Van Canneyt
On Sun, 22 May 2005, Vincent Snijders wrote: 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).

Re: [fpc-devel] error when linking

2005-05-25 Thread Michael Van Canneyt
On Wed, 25 May 2005, Linuxer Wang wrote: Hi, all I try to compile my program with chmlib. There're chmlib.so and chmlib.a under /usr/lib. I find a wierd problem, when I compile my program, the compiler uses chmlib.so, and the compilation is successful. But what I want is too compile it

Re: [fpc-devel] linux - select() from linux.ppc

2005-05-26 Thread Michael Van Canneyt
On Thu, 26 May 2005, Michael Preslar wrote: Using the 2.0 compiler binaries from the website.. Free Pascal Compiler version 2.0.0 [2005/05/15] for i386 Code that compiled fine with 1.9.6 won't compile any longer. In specific, the select() routine is gone from the linux unit. I see that it

Re: [fpc-devel] glib2 fix for G_TYPE_INSTANCE_GET_CLASS

2005-05-26 Thread Michael Van Canneyt
On Thu, 26 May 2005, Mattias Gaertner wrote: The macro G_TYPE_INSTANCE_GET_CLASS was not translated correct. Attached is a better version. Applied. Thanks. Michael. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

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

2005-05-27 Thread Michael Van Canneyt
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 like: Error: element NOBR

  1   2   3   4   5   6   7   8   9   10   >