Re: [fpc-devel]making pdf docs

2003-02-13 Thread Mattias Gaertner
On Thu, 13 Feb 2003 20:22:00 +0100 (W. Europe Standard Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: 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

[fpc-devel]fix for install/debian/rules

2003-02-17 Thread Mattias Gaertner
Hi, I just built the fpc debian packages from the latest fixed branch. It fails, because some examples were not copied. A fix is attached for install/debian/rules. It would be nice if a note can be added to install/debian/README.debian, that building the debs requires debhelper, tetex-bin and

Re: [fpc-devel]How to get rid of fpc rpm hints

2003-02-21 Thread Mattias Gaertner
On Thu, 20 Feb 2003 19:03:20 +0100 Mattias Gaertner [EMAIL PROTECTED] wrote: I can get rid of the hints if I add -di386 to the command line or to my /etc/fpc.cfg. Is this missing in samplecfg or is there another way to get rid of them? When I build the latest fpc 1.0.7 rpm under redhat 7.3

Re: [fpc-devel]Searching fpc 1.0.7, 3 weeks ago

2003-03-16 Thread Mattias Gaertner
On Sun, 16 Mar 2003 12:21:17 +0100 Peter Vreman [EMAIL PROTECTED] wrote: At 11:14 16-3-2003, you wrote: Hi, How can I checkout the FIXES_1_0_0 fpc of 3 weeks ago? The reason is, that this was the last compiler that works for me. Use the -D option to specify a date. The command will the

[fpc-devel]RPMs and DEBs

2003-09-12 Thread Mattias Gaertner
Hi, How is maintaining the RPMs and DEBs? For example the spec and rules files? Mattias ___ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel

[fpc-devel]RTTI: parameter type TOBJECTPointer

2004-01-06 Thread Mattias Gaertner
Hi, TNotifyEvent is defined as: procedure(Sender:TObject) of object; fpc 1.0.x creates RTTI TypeData: procedure(:TOBJECT) of object while fpc 1.9.x creates RTTI TypeData: procedure(:Pointer) of object Is this a bug or a feature? Mattias ___

Re: [fpc-devel]Compile Error

2004-02-03 Thread Mattias Gaertner
On Tue, 3 Feb 2004 20:36:38 +1000 [EMAIL PROTECTED] (James Mills) wrote: Hi guys, One of you broke the CVS Tree :) lol Compiling intfgraphics.pas intfgraphics.pas(34,29) Fatal: Can't find unit FPIMAGE Since a few hours lazarus uses fpImage as default for images. fpImage is part of

Re: [fpc-devel]Status of FPC

2004-03-13 Thread Mattias Gaertner
On Sat, 13 Mar 2004 17:02:38 +0100 (CET) [EMAIL PROTECTED] wrote: PIC/dynamic linking You can write a library in FPC. Please tell me how. As soon as I use strings I get AVs. Mattias ___ fpc-devel maillist - [EMAIL PROTECTED]

[fpc-devel]Many new warnings

2004-05-28 Thread Mattias Gaertner
The current cvs fpc 1.9.3 gives many new warnings. The following code demonstrates 6 types, where I'm not sure why they now need a warning. Maybe the compiler cracks can tell me, which of them should I report as bugs: program IncredibleWarnings; {$mode objfpc}{$H+} // range checks on {$R+}

Re: [fpc-devel]Many new warnings

2004-05-30 Thread Mattias Gaertner
On Sun, 30 May 2004 00:04:49 +0200 Peter Vreman [EMAIL PROTECTED] wrote: At 20:17 29-5-2004, you wrote: On Fri, 28 May 2004 23:24:51 +0200 (CEST) Peter Vreman [EMAIL PROTECTED] wrote: The current cvs fpc 1.9.3 gives many new warnings. The following code demonstrates 6 types,

[fpc-devel]Need help for bug report

2004-07-17 Thread Mattias Gaertner
Compiling lazarus with current fpc (since about a week) gives synmacrorecorder.pas(618,43) Error: Asm: [mov ???,mem32] invalid combination of opcode and operands I tried to create a small example for a bug report, but was not able to reproduce it in a small example. procedure

Re: [fpc-devel]Need help for bug report

2004-07-17 Thread Mattias Gaertner
On Sat, 17 Jul 2004 13:59:33 +0200 Jonas Maebe [EMAIL PROTECTED] wrote: On 17 jul 2004, at 12:02, Mattias Gaertner wrote: Compiling lazarus with current fpc (since about a week) gives synmacrorecorder.pas(618,43) Error: Asm: [mov ???,mem32] invalid combination of opcode

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

2004-08-13 Thread Mattias Gaertner
On Fri, 13 Aug 2004 02:09:16 -0500 Tony Maro [EMAIL PROTECTED] 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

[fpc-devel]PowerPC, TypInfo

2004-08-14 Thread Mattias Gaertner
I found a bug in the RTTI under powerpc. Boolean properties stored in fields (e.g. properrty MyBoolean: boolean read FMyBoolean) always returns false. The GetOrdProp is used to read boolean values. It reads a longint and applies and $ff to get only the lowest byte. Under PowerPC the boolean

Re: [fpc-devel]PowerPC, TypInfo

2004-08-14 Thread Mattias Gaertner
On Sat, 14 Aug 2004 20:46:30 +0200 Mattias Gaertner [EMAIL PROTECTED] wrote: I found a bug in the RTTI under powerpc. Boolean properties stored in fields (e.g. properrty MyBoolean: boolean read FMyBoolean) always returns false. The GetOrdProp is used to read boolean values. It reads

Re: [fpc-devel]PowerPC, TypInfo

2004-08-15 Thread Mattias Gaertner
On Sun, 15 Aug 2004 00:20:47 +0200 Florian Klaempfl [EMAIL PROTECTED] wrote: Jonas Maebe wrote: On 14 aug 2004, at 21:07, Mattias Gaertner wrote: The GetOrdProp is used to read boolean values. It reads a longint and applies and $ff to get only the lowest byte. Under PowerPC

[fpc-devel]FPC Source Paths under darwin

2004-08-15 Thread Mattias Gaertner
Which system.pp is used for darwin/system.ppu? Mattias -- ___ fpc-devel maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-devel

[fpc-devel] fpcversion for rpm

2004-11-06 Thread Mattias Gaertner
The file install/fpc.spec still uses $version instead of $fpcversion when calling samplecfg (line 121). This creates unusable /etc/fpc.cfg. Can anyone fix this please. Mattias ___ fpc-devel maillist - [EMAIL PROTECTED]

[fpc-devel] Creating new classes at runtime

2004-11-12 Thread Mattias Gaertner
I don't know, if this is the right list, but the topic is quite fpc specific and needs some compiler gurus: The Lazarus IDE needs to create new classes at runtime. For example when loading/creating a descendent of TDataModule named TMyDataModule, it needs a unique TMyDataModule =

Re: [fpc-devel] Creating new classes at runtime

2004-11-12 Thread Mattias Gaertner
On Fri, 12 Nov 2004 22:32:48 +0100 (CET) [EMAIL PROTECTED] wrote: On Fri, 12 Nov 2004, Mattias Gaertner wrote: I don't know, if this is the right list, but the topic is quite fpc specific and needs some compiler gurus: The Lazarus IDE needs to create new classes at runtime

Re: [fpc-devel] TList slowness in classes

2004-12-24 Thread Mattias Gaertner
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 OFF} ? Why not put it into a sub proc: function

Re: [fpc-devel] TList slowness in classes

2004-12-24 Thread Mattias Gaertner
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 [EMAIL PROTECTED] wrote: If the answer is yes

Re: [fpc-devel] Portability Standards

2005-01-03 Thread Mattias Gaertner
On Mon, 3 Jan 2005 10:40:10 +0100 (Romance Standard Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: 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

[fpc-devel] Two classes.pp - why?

2005-01-09 Thread Mattias Gaertner
There are two classes.pp in the fpc sources for every OS. First question: Why? Second question: Are there any other double units? Third: Do I need to add a workaround in Lazarus to find the right one, or will one of them be removed soon anyway? Mattias

[fpc-devel] TShiftState as enum

2005-02-16 Thread Mattias Gaertner
TShiftState is defined as TShiftState = set of (...); How can I iterate through the enums? If not, can we split and add an enum: TShiftStateEnum = (...) TShiftState = set of TShiftStateEnum; ? Mattias ___ fpc-devel maillist -

Re: [fpc-devel] TShiftState as enum

2005-02-17 Thread Mattias Gaertner
On Thu, 17 Feb 2005 08:58:01 +0100 (CET) [EMAIL PROTECTED] (Marco van de Voort) wrote: TShiftState is defined as TShiftState = set of (...); How can I iterate through the enums? If not, can we split and add an enum: TShiftStateEnum = (...) TShiftState = set of

Re: [fpc-devel] Modernising Pascal

2005-02-23 Thread Mattias Gaertner
On Wed, 23 Feb 2005 13:45:51 +0100 (CET) [EMAIL PROTECTED] (Marco van de Voort) wrote: one less variable to manually declare Implement something in lazarus that auto-adds the variable to the local var section. It already exists. Example: i:=0; Place cursor on i and press Code Completion

[fpc-devel] cthreads OR adding a first unit

2005-05-27 Thread Mattias Gaertner
Problem: Some units require the cthreads unit, but only under linux and it must be added as first unit to the main source. Questions: Will the cthreads unit will be added as default someday under linux ? Or will it become obsolete by some other unit/feature? Or will it stay this way: If you need

[fpc-devel] gtk2 gdk_draw_pixbuf

2005-06-08 Thread Mattias Gaertner
Here is a patch to add the missing gdk_draw_pixbuf function to the gtk2 bindings. Mattias gtk2.diff Description: Binary data ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

[fpc-devel] out parameters in RTL/FCL

2005-06-08 Thread Mattias Gaertner
At the moment there are a lot of warnigns for uninitialised var parameters. Is it possible to replace the 'var' with 'out' specifiers? Can I send patches for that? Mattias ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

[fpc-devel] gtk2 bugfix gfloat

2005-06-14 Thread Mattias Gaertner
A c float is a fpc single, right? If yes, then there was a heavy bug in the gtk2 bindings. Attached patch fixes the gfloat. Mattias ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] gtk2 bugfix gfloat

2005-06-14 Thread Mattias Gaertner
On Tue, 14 Jun 2005 22:34:19 +0200 Micha Nelissen [EMAIL PROTECTED] wrote: On Tue, 14 Jun 2005 22:11:40 +0200 Mattias Gaertner [EMAIL PROTECTED] wrote: A c float is a fpc single, right? Yes, AFAIK. If yes, then there was a heavy bug in the gtk2 bindings. Attached patch fixes

Re: [fpc-devel] gtk2 bugfix gfloat

2005-06-15 Thread Mattias Gaertner
On Wed, 15 Jun 2005 09:20:48 +0200 Micha Nelissen [EMAIL PROTECTED] wrote: On Tue, 14 Jun 2005 23:33:17 +0200 Mattias Gaertner [EMAIL PROTECTED] wrote: On Tue, 14 Jun 2005 22:34:19 +0200 Micha Nelissen [EMAIL PROTECTED] wrote: On Tue, 14 Jun 2005 22:11:40 +0200 Mattias Gaertner

Re: [fpc-devel] fpc.cfg format

2005-08-22 Thread Mattias Gaertner
On Mon, 22 Aug 2005 16:25:26 -0700 Robert Reimiller [EMAIL PROTECTED] wrote: On the off chance that the new ppcarm compiler and units I just built will work with a big endian ARM, I am trying to figure out how to actually build a test program. Is it possible to use the Lazarus IDE to edit

[fpc-devel] Templates / Generics Syntax

2005-11-03 Thread Mattias Gaertner
Here is a proposal of the syntax: type TGenericClassT,F = class public procedure Add(Item: T; Flag: F); end; procedure TGenericClass.Add(Item: T; Flag: F); // Note: No redundant T,F after TGenericClass. begin end; I think, the parameters should be at the identifier name, not in the

Re: [fpc-devel] Templates / Generics Problems

2005-11-03 Thread Mattias Gaertner
There are some unsolved problems of generics in free pascal: 1. See wiki: http://www.freepascal.org/wiki/index.php/Generics#Notes The generic should not use private parts of a unit: interface generictype declar implementation procedure helper; begin end constructor

Re: [fpc-devel] Templates / Generics Syntax

2005-11-03 Thread Mattias Gaertner
On Thu, 3 Nov 2005 19:59:40 +0100 (CET) Daniël Mantione [EMAIL PROTECTED] wrote: Op Thu, 3 Nov 2005, schreef Mattias Gaertner: Here is a proposal of the syntax: type TGenericClassT,F = class public procedure Add(Item: T; Flag: F); end; This syntax is almost

Re: [fpc-devel] Templates / Generics Syntax

2005-11-03 Thread Mattias Gaertner
On Thu, 3 Nov 2005 20:10:35 +0100 Mattias Gaertner [EMAIL PROTECTED] wrote: On Thu, 3 Nov 2005 19:59:40 +0100 (CET) Daniël Mantione [EMAIL PROTECTED] wrote: Op Thu, 3 Nov 2005, schreef Mattias Gaertner: Here is a proposal of the syntax: type TGenericClassT,F

Re: [fpc-devel] Templates / Generics Syntax

2005-11-03 Thread Mattias Gaertner
On Thu, 3 Nov 2005 20:25:07 +0100 (CET) Daniël Mantione [EMAIL PROTECTED] wrote: Op Thu, 3 Nov 2005, schreef Mattias Gaertner: Right. I didn't think of that. What about edged brackets? type TGenericClass[T,F] = class public procedure Add(Item: T; Flag: F); end

Re: [fpc-devel] Templates / Generics Syntax

2005-11-03 Thread Mattias Gaertner
On Thu, 03 Nov 2005 22:35:34 +0100 Peter Vreman [EMAIL PROTECTED] wrote: At 20:41 3-11-2005, you wrote: On Thu, 3 Nov 2005 20:25:07 +0100 (CET) Daniël Mantione [EMAIL PROTECTED] wrote: Op Thu, 3 Nov 2005, schreef Mattias Gaertner: Right. I didn't think of that. What

Re: [fpc-devel] Templates / Generics

2005-11-03 Thread Mattias Gaertner
. This page looks only like the start of a proposal. Neither complete nor official. Why do you think, that D2006 will have generics? Mattias Mattias Gaertner wrote: Hi all, I want to push generics to the next level. For those not familar, there is already a wiki about this topic

Re: [fpc-devel] Re: Templates / Generics Syntax

2005-11-04 Thread Mattias Gaertner
On Fri, 04 Nov 2005 12:56:03 +0100 Thomas Schatzl [EMAIL PROTECTED] wrote: Op Thu, 3 Nov 2005, schreef Mattias Gaertner: Here is a proposal of the syntax: type TGenericClassT,F = class public procedure Add(Item: T; Flag: F); end; This syntax is almost impossible

Re: [fpc-devel] Templates / Generics Syntax

2005-11-04 Thread Mattias Gaertner
On Fri, 04 Nov 2005 10:47:42 +0100 Marc Weustink [EMAIL PROTECTED] wrote: Daniël Mantione wrote: Op Thu, 3 Nov 2005, schreef Mattias Gaertner: Here is a proposal of the syntax: type TGenericClassT,F = class public procedure Add(Item: T; Flag: F); end

Re: [fpc-devel] Templates / Generics

2005-11-04 Thread Mattias Gaertner
On Fri, 04 Nov 2005 08:38:03 +0100 [EMAIL PROTECTED] wrote: Alexey Barkovoy wrote: Delphi 11 .Net 2.0 will support Generics. Maybe Delphi 11 Win32. This page looks only like the start of a proposal. Neither complete nor official. Why do you think, that D2006 will have

Re: [fpc-devel] Templates / Generics Syntax

2005-11-04 Thread Mattias Gaertner
On Fri, 04 Nov 2005 13:44:55 +0100 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Fri, 04 Nov 2005 10:47:42 +0100 Marc Weustink [EMAIL PROTECTED] wrote: Daniël Mantione wrote: Op Thu, 3 Nov 2005, schreef Mattias Gaertner: Here is a proposal of the syntax

Re: [fpc-devel] Templates / Generics

2005-11-07 Thread Mattias Gaertner
On Mon, 07 Nov 2005 19:29:51 +0100 Bram Kuijvenhoven [EMAIL PROTECTED] wrote: Micha Nelissen wrote: On Mon, 07 Nov 2005 14:45:19 +0100 Bram Kuijvenhoven [EMAIL PROTECTED] wrote: Does for generics fit into Pascal? Well, we use [] for array indexing, and () for parameter passing to

Re: [fpc-devel] Templates / Generics

2005-11-07 Thread Mattias Gaertner
On Mon, 07 Nov 2005 22:41:06 +0100 Florian Klaempfl [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Mon, 07 Nov 2005 19:29:51 +0100 Bram Kuijvenhoven [EMAIL PROTECTED] wrote: Micha Nelissen wrote: On Mon, 07 Nov 2005 14:45:19 +0100 Bram Kuijvenhoven [EMAIL PROTECTED] wrote

Re: [fpc-devel] Templates / Generics

2005-11-08 Thread Mattias Gaertner
On Tue, 08 Nov 2005 21:06:10 +0100 [EMAIL PROTECTED] wrote: [...] ECMA Standard 334 But this is a standard for C#, so totally useless for Pascal syntax-wise. Why useless? You can do exactly the same in a Pascal-styled way. We need just a minor part from the standard for the FPC compiler.

Re: [fpc-devel] Unicode RTL

2005-11-16 Thread Mattias Gaertner
On Wed, 16 Nov 2005 17:25:29 +0100 (CET) Daniël Mantione [EMAIL PROTECTED] wrote: Op Wed, 16 Nov 2005, schreef Tomas Hajny: You're right that strings are used everywhere, but I don't think that this really means that you need to add special support for widestrings everywhere. In many

Re: [fpc-devel] Unicode RTL

2005-11-17 Thread Mattias Gaertner
On Thu, 17 Nov 2005 10:27:08 +0100 (CET) [EMAIL PROTECTED] (Marco van de Voort) wrote: Dani?l Mantione [EMAIL PROTECTED] wrote: In other words, you still need to duplicate an awfull lot of code. That is the same for 8bit and widestring. No, that is not true. There would

Re: [fpc-devel] Unicode RTL

2005-11-17 Thread Mattias Gaertner
On Thu, 17 Nov 2005 11:04:01 +0100 (CET) [EMAIL PROTECTED] (Marco van de Voort) wrote: [EMAIL PROTECTED] (Marco van de Voort) wrote: Dani?l Mantione [EMAIL PROTECTED] wrote: In other words, you still need to duplicate an awfull lot of code. That is the same

Re: [fpc-devel] Unicode RTL

2005-11-17 Thread Mattias Gaertner
On Thu, 17 Nov 2005 11:31:45 +0100 Dr. Karl-Michael Schindler [EMAIL PROTECTED] wrote: Hi Following this discussion, I want to throw in my 2 cents as well: On a real long term (like 5 or 10 years from now), the solution should be as clean as possible with as little awkward parts because

Re: [fpc-devel] TList or TFPList - a Linked list ?

2005-12-14 Thread Mattias Gaertner
On Wed, 14 Dec 2005 21:33:34 +0100 Micha Nelissen [EMAIL PROTECTED] wrote: Hi, I've been thinking about adding a linked list implementation to either TList or TFPList. The basic problem to that is of course 1) space overhead of linked list is quite large 2) Index[..] will be O(N) For

Re: [fpc-devel] TList or TFPList - a Linked list ?

2005-12-14 Thread Mattias Gaertner
On Wed, 14 Dec 2005 22:40:40 +0100 Micha Nelissen [EMAIL PROTECTED] wrote: On Wed, 14 Dec 2005 21:53:58 +0100 Mattias Gaertner [EMAIL PROTECTED] wrote: Your trick will only give a constant factor on growing/shrinking the list memory, gives an extra O(n) factor for sorting a TList

Re: [fpc-devel] TList or TFPList - a Linked list ?

2005-12-14 Thread Mattias Gaertner
On Wed, 14 Dec 2005 15:03:58 -0700 Sterling Bates [EMAIL PROTECTED] wrote: Mattias Gaertner wrote:Your trick will only give a constant factor on growing/shrinking the list memory, gives an extra O(n) factor for sorting a TList, the caching costs time, and the memory usage will also grow

Re: [fpc-devel] TList or TFPList - a Linked list ?

2005-12-14 Thread Mattias Gaertner
On Wed, 14 Dec 2005 16:22:53 -0700 Sterling Bates [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: If the linked list item contains the whole data, then you are either not talking of the generic list this thread is about, or you use templates. In the later case a TList will also use

[fpc-devel] LibC for darwin

2006-01-07 Thread Mattias Gaertner
Is there a libc for MacOSX? Mattias ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] Lazarus

2006-01-21 Thread Mattias Gaertner
On Sat, 21 Jan 2006 17:16:02 -0600 VisionForce [EMAIL PROTECTED] wrote: Is there a way I can change Lazarus to an MDI style instead of having that floating desktop style? No. Mattias ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] Lazarus

2006-01-23 Thread Mattias Gaertner
On Mon, 23 Jan 2006 12:20:29 -0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: On 1/21/06, VisionForce [EMAIL PROTECTED] wrote: So where would I need to start if I wanted to add this to Lazarus? On Lazarus website, click on Project Roadmap. There you will find the status of

Re: [fpc-devel] ReallocMem with CMem

2006-03-08 Thread Mattias Gaertner
On Wed, 8 Mar 2006 18:19:40 +0100 Micha Nelissen [EMAIL PROTECTED] wrote: On Wed, 8 Mar 2006 18:10:38 +0100 (CET) Daniël Mantione [EMAIL PROTECTED] wrote: Op Wed, 8 Mar 2006, schreef Micha Nelissen: Shouldn't ReallocMem in CMem zero the newly allocated bytes ? No, it is the

[fpc-devel] gtk1 linklib directive under FreeBSD

2006-05-09 Thread Mattias Gaertner
I heard that the gtk1 libs under FreeBSD are libglib-12.so, libgdk-12.so and libgtk-12.so. But at the moment the linklib directive for FreeBSD defines {$ifdef FreeBSD} gtkdll='gtk12'; {$linklib gtk12} without the '-'. Can someone with FreeBSD please test if changing

Re: [fpc-devel] gtk1 linklib directive under FreeBSD

2006-05-09 Thread Mattias Gaertner
forwarded: -- Two or three months ago I tested Lazarus on FreeBSD 6.0 RELEASE. After installing some missing libs (like pixbuf-devel, etc.) it compiled and run without any problems. Lazarus version was 0.9.12 IIRC. -- To my best knowledge, this naming depends on

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Mattias Gaertner
On Sun, 14 May 2006 12:03:34 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sun, 14 May 2006, Daniël Mantione wrote: Op Sun, 14 May 2006, schreef Michael Van Canneyt: On Sun, 14 May 2006, Daniël Mantione wrote: Op Sun, 14 May 2006,

Re: [fpc-devel] Output flush on pipes

2006-05-14 Thread Mattias Gaertner
On Sun, 14 May 2006 11:46:33 +0200 Florian Klaempfl [EMAIL PROTECTED] wrote: Michael Van Canneyt wrote: On Sun, 14 May 2006, Daniël Mantione wrote: Op Sun, 14 May 2006, schreef Michael Van Canneyt: On Sun, 14 May 2006, Daniël Mantione wrote: Op Sun, 14 May 2006, schreef

[fpc-devel] darwin - rtl include files

2006-05-16 Thread Mattias Gaertner
The unit baseunix.pp is available for darwin powerpc (fpc 2.1.1). I guess FPC_USE_LIBC is disabled for this target, so it seems to include {$i bsyscall.inc}. But it seems there is no such file for darwin. Only ./freebsd/i386/bsyscall.inc ./freebsd/x86_64/bsyscall.inc ./linux/arm/bsyscall.inc

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

2006-05-16 Thread Mattias Gaertner
On Tue, 16 May 2006 15:31:16 +0200 (CEST) [EMAIL PROTECTED] (Marco van de Voort) wrote: ... I guess FPC_USE_LIBC is disabled for this target, ... Where is the mistake? See above. Jonas choose to only implement FPC_USE_LIBC for Darwin. Thanks. AFAIK darwin has a libc, but FPC does not

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

2006-05-16 Thread Mattias Gaertner
On Tue, 16 May 2006 15:51:43 +0200 (CEST) [EMAIL PROTECTED] (Marco van de Voort) wrote: [EMAIL PROTECTED] (Marco van de Voort) wrote: ... I guess FPC_USE_LIBC is disabled for this target, ... Where is the mistake? See above. Jonas choose to only implement FPC_USE_LIBC for

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

2006-05-16 Thread Mattias Gaertner
On Tue, 16 May 2006 16:11:43 +0200 (Romance Daylight Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Tue, 16 May 2006, Mattias Gaertner wrote: On Tue, 16 May 2006 15:51:43 +0200 (CEST) [EMAIL PROTECTED] (Marco van de Voort) wrote: [EMAIL PROTECTED] (Marco van de Voort) wrote

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

2006-05-17 Thread Mattias Gaertner
On Wed, 17 May 2006 09:47:00 +0200 (Romance Daylight Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Wed, 17 May 2006, Vincent Snijders wrote: Michael Van Canneyt schreef: On Wed, 17 May 2006, Marco van de Voort wrote: Most logical would be to store the conditionals

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

2006-05-17 Thread Mattias Gaertner
On Wed, 17 May 2006 10:58:46 +0200 (CEST) Peter Vreman [EMAIL PROTECTED] wrote: On Wed, 17 May 2006 09:47:00 +0200 (Romance Daylight Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Wed, 17 May 2006, Vincent Snijders wrote: Michael Van Canneyt schreef: On Wed, 17

[fpc-devel] intel Mac

2006-05-29 Thread Mattias Gaertner
Are there any known problems running FPC apps with Rosetta? What's the state of the Intel Mac native port? Mattias ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

[fpc-devel] opengl unit gl on x86_64

2006-06-23 Thread Mattias Gaertner
On a x86_64 system I tried to run a program using the opengl 'gl' unit. It failed, because the function 'glAccum' does not exist. Commenting that one 'solved' the problem. Can GetProcAddress be used to load a lib function dynamically, without bombing if the function is missing? Mattias

[fpc-devel] fpc 2.1.1, x86_64, gtk crashes

2006-07-18 Thread Mattias Gaertner
Hi all, I'm hunting a strange bug. The Lazarus IDE works with gtk1 under fpc 2.0.2 on x86_64 without problems. But with fpc 2.1.1 it crashes when opening any modal form. For example open file. Compiling with -gv and starting with valgrind runs without access violation. With heaptrc: bug appears

Re: [fpc-devel] build unit dependency list

2006-08-06 Thread Mattias Gaertner
On Fri, 4 Aug 2006 09:53:00 -0300 Mario R. Carro [EMAIL PROTECTED] wrote: Hi, I have a few hand made makefiles for some (up to now) Delphi projects that I use to build the releases. I would want to be able to automagically generate the dependencies for the units in the projects. I

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

2006-09-04 Thread Mattias Gaertner
On Mon, 4 Sep 2006 07:13:53 +0200 Martin Schreiber [EMAIL PROTECTED] wrote: On Monday 04 September 2006 02.55, Luiz Americo wrote: I'd like to propose change TComponent.Tag type from longint to PtrInt. I know it's not a good programing practice, but sometimes this property can be used to

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

2006-09-04 Thread Mattias Gaertner
On Mon, 04 Sep 2006 11:56:06 +0200 Vincent Snijders [EMAIL PROTECTED] wrote: 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

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

2006-09-04 Thread Mattias Gaertner
On Mon, 04 Sep 2006 13:16:11 +0200 Vincent Snijders [EMAIL PROTECTED] wrote: 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

[fpc-devel] h2pas bugs

2006-09-20 Thread Mattias Gaertner
Under which category should h2pas bugs be reported? Mattias ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] h2pas bugs

2006-09-20 Thread Mattias Gaertner
On Wed, 20 Sep 2006 22:22:39 +0200 Micha Nelissen [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Under which category should h2pas bugs be reported? Probably the 'these-will-only-be-solved-if-you-also-provide-a-patch' category :-). I know, but hope dies last. Maybe I can raise some

Re: [fpc-devel] TLCLMemanager

2006-09-29 Thread Mattias Gaertner
On Fri, 29 Sep 2006 16:32:23 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Fri, 29 Sep 2006, Vincent Snijders wrote: Michael Van Canneyt schreef: On Fri, 29 Sep 2006, Vincent Snijders wrote: Hi, The LCL contains the non-visual unit LCLMemManager:

[fpc-devel] gtk2 include file at wrong place

2006-10-06 Thread Mattias Gaertner
Maybe there is a deeper meaning, but I guess it a bug. Can someone move packages/extra/gtk2/gtkcellrenderercombo.inc to the other gtk include files packages/extra/gtk2/gtk+/gtk/gtkcellrenderercombo.inc Mattias ___ fpc-devel maillist -

Re: [fpc-devel] gtk2 include file at wrong place

2006-10-06 Thread Mattias Gaertner
On Fri, 06 Oct 2006 19:13:42 +0200 Florian Klaempfl [EMAIL PROTECTED] wrote: Mattias Gaertner schrieb: Maybe there is a deeper meaning, but I guess it a bug. If you say so, iirc you wrote the gtk2 header conversion :) Yes, but I didn't add this file. Thanks. Mattias Can someone

Re: [fpc-devel] TStringList.CustomSort

2006-11-07 Thread Mattias Gaertner
On Tue, 07 Nov 2006 10:17:24 +0100 Micha Nelissen [EMAIL PROTECTED] wrote: Chris Cheney wrote: Stating the obvious: but the programmer might wish to sort by the objects or by some combination of the strings and the objects (or even by entries in an external array, unrelated to the

[fpc-devel] sinus extended/double/single

2006-11-24 Thread Mattias Gaertner
Hi all, I don't know, if this has been answered before. Where are the Sinus/Cosinus/... functions for type single and double? When compiling the following, I get a type size mismatch warning. uses math; var a,b: single; begin a:=sin(b); end; This is because math only provides an extended sin

Re: [fpc-devel] Valid macpas syntax ?

2006-12-03 Thread Mattias Gaertner
On Sun, 3 Dec 2006 18:54:25 +0100 Jonas Maebe [EMAIL PROTECTED] wrote: On 03 Dec 2006, at 18:05, Marc Weustink wrote: 1) using out as parametername out is not a reserved word in macpas mode, just like in tp/fpc modes. Thanks. I updated the codetools. 2) the * behind msgb (and

[fpc-devel] FPC dynamic libraries

2007-02-07 Thread Mattias Gaertner
How can I create dynamic libs of the RTL and FCL units under Linux? Mattias ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] FPC dynamic libraries

2007-02-07 Thread Mattias Gaertner
On Wed, 7 Feb 2007 20:00:20 +0100 Jonas Maebe [EMAIL PROTECTED] wrote: On 07 Feb 2007, at 19:51, Mattias Gaertner wrote: How can I create dynamic libs of the RTL and FCL units under Linux? In principle you should be able to do it with make shared in the respective directories. But I

Re: [fpc-devel] FPC dynamic libraries

2007-02-08 Thread Mattias Gaertner
On Wed, 7 Feb 2007 21:56:54 +0100 Jonas Maebe [EMAIL PROTECTED] wrote: On 07 Feb 2007, at 21:45, Mattias Gaertner wrote: In principle you should be able to do it with make shared in the respective directories. But I would strongly recommend against doing that, since the interface

[fpc-devel] TWriter writing fake methods

2007-04-30 Thread Mattias Gaertner
Here is a patch to extend TWriter.OnWriteMethodProperty. Formerly it gives only the ancestor code address, not the method data. And it misses the property path, which is needed to write sub properties like Font.OnChange. With this patch lazarus can get rid of the dirty hack to create methods.

Re: [fpc-devel] apr.ppu and apr.ppu

2007-07-28 Thread Mattias Gaertner
On Wed, 18 Jul 2007 01:11:25 +0200 Mattias Gaertner [EMAIL PROTECTED] wrote: FPC installs these ppu in two flavors: apr, apriconv, aprutil, unzip And httpd comes even in 3 flavors. Most fpc.cfg only contain the line: -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/* So it depends on the file

Re: [fpc-devel] Generics

2007-08-16 Thread Mattias Gaertner
On Thu, 16 Aug 2007 14:59:47 -0500 (CDT) Jesus Reyes [EMAIL PROTECTED] wrote: --- Jesus Reyes [EMAIL PROTECTED] escribió: --- Michael Van Canneyt [EMAIL PROTECTED] escribió: On Thu, 16 Aug 2007, Mattias Gaertner wrote: What is the state and future plans

Re: [fpc-devel] Generics

2007-08-16 Thread Mattias Gaertner
On Thu, 16 Aug 2007 23:31:25 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: [...] Why is the local variable block needed? It is not. I asked the same question. It was added for symmetry reasons: if a local type block is allowed, then a var block should also be allowed. But

Re: [fpc-devel] Generics

2007-08-17 Thread Mattias Gaertner
On Fri, 17 Aug 2007 10:20:13 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: [...] What local types are/will be allowed? For example, this is currently not allowed: generic TTreeT = class(TObject) type public TTreeNode = specialize TNodeT; end;

Re: [fpc-devel] extending platform flag request

2007-09-28 Thread Mattias Gaertner
On Thu, 27 Sep 2007 23:13:07 +0800 Павел Ишенин [EMAIL PROTECTED] wrote: Hello, FPC developers' list I had discussion with Marc about how to mark some properties as widgetset specific (and show them in object inspector as specific for widgetset 'xxx'). As result of discussion we found

Re: [fpc-devel] property syntax extension

2007-10-20 Thread Mattias Gaertner
On Sat, 20 Oct 2007 16:29:40 +0200 Tomas Hajny [EMAIL PROTECTED] wrote: On 19 Oct 07, at 13:14, Micha Nelissen wrote: Jonas Maebe wrote: This is not true. You can perfectly compile a compiler using the previous' release rtl. Sure this is not the question. E.g. the people

Re: [fpc-devel] property syntax extension

2007-10-20 Thread Mattias Gaertner
On Sat, 20 Oct 2007 23:55:31 +0200 (CEST) Daniël Mantione [EMAIL PROTECTED] wrote: Op Sat, 20 Oct 2007, schreef Mattias Gaertner: And another: A lazarus built with fpc 2.0.4 should be able to read the ppu of 2.3.x. Even though the ppu format is very stable, it is not carved

Re: [fpc-devel] property syntax extension

2007-10-20 Thread Mattias Gaertner
On Sun, 21 Oct 2007 00:46:19 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sat, 20 Oct 2007, Mattias Gaertner wrote: On Sat, 20 Oct 2007 16:29:40 +0200 Tomas Hajny [EMAIL PROTECTED] wrote: On 19 Oct 07, at 13:14, Micha Nelissen wrote: Jonas Maebe wrote

[fpc-devel] type classes

2007-10-21 Thread Mattias Gaertner
Is it possible to use TTranslateStrings = type TStrings? I ask because, the compiler allows it, but stops later with only this message: lcl/interfaces/gtk2/interfaces.pas(1,1) Fatal: Compilation aborted Question: Is it allowed to use NewClass = type SomeClass; ? Mattias

Re: [fpc-devel] property syntax extension

2007-10-21 Thread Mattias Gaertner
On Sun, 21 Oct 2007 01:43:51 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sun, 21 Oct 2007, Mattias Gaertner wrote: On Sun, 21 Oct 2007 00:46:19 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sat, 20 Oct 2007, Mattias Gaertner wrote

Re: [fpc-devel] property syntax extension

2007-10-21 Thread Mattias Gaertner
On Sun, 21 Oct 2007 08:36:24 +0200 (CEST) Daniël Mantione [EMAIL PROTECTED] wrote: Op Sun, 21 Oct 2007, schreef Michael Van Canneyt: .ppu file format is something so general and commonly used by (Free) Pascal programmers that it should become part of our RTL. And

  1   2   3   4   5   6   7   >