On Fri, 8 May 2009 14:35:52 -0300
Gustavo Enrique Jimenez wrote:
> Hi Nino:
>
> I am using FPC since 2000-2001. I use it for data aquisition and
> temperature control. Console programs compiled with FPC 1.x work for
> days, even weeks. In the "Laboratorio de Física del Sólido, Tucumán -
> Argen
On Thu, 07 May 2009 18:12:50 -0300
Arí Ricardo Ody wrote:
> Suppose the following structure:
>
> 01 a-1.
> 03 b-1 pic xxx.
> 03 b-2 pic 999.
> 03 b-3.
>05 c-1 pic aaa.
>05 c-2.
> 07 d-1 pic zzz.
> 07 d-2 pic xxx.
>05 c-3 pic 99.
> 03 b-
I just noticed that this thread has gone off-topic for this mail list.
My apologies.
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Tue, 5 May 2009 20:05:34 +0200
Graeme Geldenhuys wrote:
> On Tue, May 5, 2009 at 6:08 PM, Mattias Gaertner
> wrote:
> >
> > There are ways to use a single include file. For example:
> >
> > -
> > {$I unit1.lfm}
> >
> > constructo
On Tue, 5 May 2009 17:10:01 +0200
Graeme Geldenhuys wrote:
> On Tue, May 5, 2009 at 4:21 PM, Mattias Gaertner wrote:
> >
> >> * If a component changes, a simple "search and replace" can fix
> >> all your code.
> >
> > This works in lfm too, does
On Tue, 5 May 2009 15:14:02 +0200
Graeme Geldenhuys wrote:
> On Tue, May 5, 2009 at 2:30 PM, Mattias Gaertner
> wrote:
> >
> > If you don't like the lfm format, write a TReader/TWriter for your
> > format.
>
> I don't have issues with the LFM format, it
On Tue, 5 May 2009 13:59:13 +0200
Graeme Geldenhuys wrote:
> On Tue, May 5, 2009 at 1:36 PM, Mattias Gaertner
> wrote:
> >
> > No.
> > Only the widgetset independent LCL properties are set. The LCL
> > interfaces then reads/sets the widgetset properti
On Tue, 5 May 2009 13:15:02 +0200
Graeme Geldenhuys wrote:
> On Tue, May 5, 2009 at 1:08 PM, Vincent Snijders
> wrote:
> >
> > Under what circumstances are properties of fpGUI classes streamed
> > when LCL-fpGUI is developed?
>
> I haven't delved much into the LCL widgetset internals, so I mig
On Fri, 1 May 2009 17:43:48 +0200
Jonas Maebe wrote:
> On 01 May 2009, at 11:55, Mattias Gaertner wrote:
>
> > I thought the file attributes are ignored under linux, but
> > apparently they are not.
>
> They are currently ignored if you do not use wildcards, otherw
On Fri, 1 May 2009 17:13:39 +0200
Graeme Geldenhuys wrote:
> On Fri, May 1, 2009 at 11:55 AM, Mattias Gaertner
> wrote:
> > I thought the file attributes are ignored under linux, but
> > apparently they are not.
> > Is it normal, that FindNext returns a file twice?
>
I thought the file attributes are ignored under linux, but apparently
they are not.
Is it normal, that FindNext returns a file twice?
uses
SysUtils;
var
Info: TSearchRec;
begin
if FindFirst('*',faDirectory,Info)=0 then
begin
repeat
writeln(Info.Name);
until FindNext(Info)<>0
On Wed, 29 Apr 2009 00:21:03 +0200
Mattias Gaertner wrote:
> Hi,
>
> Has someone managed to profile a fpc program with qprof under 32bit
> linux (ubuntu)?
>
> I always get "0 samples, 0 counts".
Sorry. I had compiled with
Hi,
Has someone managed to profile a fpc program with qprof under 32bit
linux (ubuntu)?
I always get "0 samples, 0 counts".
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Thu, 16 Apr 2009 13:44:13 -0700
"Cox, Stuart TRAN:EX" wrote:
> Could there be one slight difference in that an initialization section
> is required if there's going to be a finalization section in the unit?
> That is, there can't be a finalization section in the absence of an
> initialization
On Sun, 12 Apr 2009 20:11:42 -0700 (PDT)
leledumbo wrote:
>
> Might be a stupid question, but it's nowhere mentioned in the
> documentation though allowed. What are the differences between:
>
> unit A;
>
> interface
>
> implementation
>
> initialization
>
>
> end.
>
> and:
>
> unit B;
On Tue, 14 Apr 2009 09:17:33 -0500
Travis Siegel wrote:
>
> On Apr 11, 2009, at 5:13 AM, Adam Pahlevi wrote:
>
> > i don't understand how to do that, i search all my need in
> > Internet, but they all refer to Lazarus. Is there FPC IDE that can
> > run inside Mac OS X
>
> I for one have no des
On Fri, 10 Apr 2009 12:57:20 -0400
Richard Ward wrote:
> My last post got me thinking about weaning myself from macpas
> mode. One of the statements I have found quite useful is the macpas
> defined "return" statement which is used to return the function value
> and exits immediately from inside
On Mon, 6 Apr 2009 19:21:50 +0200
Graeme Geldenhuys wrote:
> Hi,
>
> I need a "new" boolean type in my applications that support three
> values. True, False and Null. Null value means undefined and has
> various uses and gets handled differently to True or False. Is this
> possible in Free Pas
On Sat, 04 Apr 2009 12:56:51 -0400
Francisco Reyes wrote:
> Michael Van Canneyt writes:
>
> > I'll add more examples.
>
> Thanks.
> I will also go over the existing unit documentation and send you some
> thoughts and suggestions from a newbie's point of view. Often what is
> clear to an experi
On Sat, 04 Apr 2009 12:28:18 -0400
Francisco Reyes wrote:
> Mattias Gaertner writes:
>
> > Units is the right way.
> > And even better: create a lazarus package for the new units.
>
> Most of what I do is CLI, have not even installed lazarus.
Lazarus is an IDE for any
On Sat, 04 Apr 2009 12:10:30 -0400
Francisco Reyes wrote:
> What are my options for code reuse?
> Creating units for common code?
> Any other method?
Units is the right way.
And even better: create a lazarus package for the new units.
Mattias
___
fpc-
On Fri, 3 Apr 2009 17:16:50 +0200
Helmut Hartl wrote:
> Von: Mattias Gaertner
> Gesendet: Fr 03.04.2009 16:51
> An: fpc-pascal@lists.freepascal.org;
> Betreff: Re: [fpc-pascal] "Generics" Red Black Tree for fpc
>
> > How much work do you think is it to extend
On Fri, 3 Apr 2009 13:08:42 +0200
Helmut Hartl wrote:
> Hi all,
>
> due to interest i post here our generic version of a red black tree
> implementation. A R/B tree is a quite fast directory datastructure
> which allows o(log n) access times.
>
> Warning: The code compiles only under 2.2.4RC1+,
On Mon, 9 Mar 2009 20:47:27 +0100 (CET)
mar...@stack.nl (Marco van de Voort) wrote:
> In our previous episode, Michael Van Canneyt said:
> > > Is there already a documentation/example for the AVL_tree unit of
> > > the FCL?
> > > If not, I would like to provide one.
> >
> > The documentation is t
Is there already a documentation/example for the AVL_tree unit of the
FCL?
If not, I would like to provide one.
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
I need to profile lazarus applications under linux.
I tried gprof, but it is broken since years and shows no record.
I tried valgrind (callgrind), but it slows down the execution by factor
80, making it unusable.
I found the following page, but it does not help here:
http://wiki.lazarus.freepascal
On Wed, 24 Dec 2008 01:41:16 +0200
ik wrote:
> It looks for a date pattern like the follow
>
> 10/10/08 and 10/10/2008 with space and then some other chars as well.
>
> I think if it was with boundaries of begin and/or end (^ and $) it
> would work even better.
>
> The () indicates groups. eac
On Sun, 21 Dec 2008 18:26:27 +0100
Jürgen Hestermann wrote:
> > And your tone isn't very helpful. I responded only in a intention to
> > help, and yet the response doesn't seam to have been apreciated.
>
> Forgive me if I am sounding a bit rude. Of course that's not meant
> against any person o
On Sat, 20 Dec 2008 17:00:37 +
Mark Morgan Lloyd wrote:
> Mattias Gaertner wrote:
> > On Sat, 20 Dec 2008 16:21:45 +0100
> > JoshyFun wrote:
> >
> >> Hello Mark,
> >>
> >> Saturday, December 20, 2008, 1:40:15 PM, you wrote:
> >>
&g
On Sat, 20 Dec 2008 16:21:45 +0100
JoshyFun wrote:
> Hello Mark,
>
> Saturday, December 20, 2008, 1:40:15 PM, you wrote:
>
> MML> Already am using (*$MODE DELPHI *)
>
> Hmmm... this should be {$MODE DELPHI} do not ? using (* *) you get a
> comment, or maybe I'm wrong ?
>
> In Delphi mode you
On Fri, 12 Dec 2008 10:25:57 +0100
Koenraad Lelong wrote:
> Hello,
> Is there a binding for RRDTool ?
> With a linux-box I'm monitoring a device and for the moment I store
> the data in a text-file. Then I convert that text-file to a script to
> put the data in rrdtool and then I can get various
On Sat, 29 Nov 2008 19:14:39 +0100 (CET)
mar...@stack.nl (Marco van de Voort) wrote:
> In our previous episode, Michalis Kamburelis said:
> [ Charset ISO-8859-1 unsupported, converting... ]
> > Florian Klaempfl wrote:
> > > Mattias Gaertner schrieb:
> > >> I need
On Thu, 11 Dec 2008 18:39:18 +0100
Jürgen Hestermann wrote:
> Hi,
>
> hopefully someone can help me with my first steps at migrating my
> Delphi programs to Lazarus.
>
> I have a TListBox which I modify in the following way:
> ---
> with Form1.ListBoxAusg
I need a default value of the number of maximum threads.
Is there already some RTL function that can be used for that?
For example if the program runs on a 2 x quad core it would be nice to
get 8.
Hyperthreading multipliers should be applied.
Mattias
On Fri, 28 Nov 2008 15:47:35 +0100 (CET)
[EMAIL PROTECTED] (Marco van de Voort) wrote:
> In our previous episode, Graeme Geldenhuys said:
> > >
> > > I'm curious: who needs more than 13 different image
> > > interpolations?
> >
> > Someone that writes image editing/manipulation software like Gimp
On Fri, 28 Nov 2008 15:45:08 +0100
"Vinzent Höfler" <[EMAIL PROTECTED]> wrote:
> > Von: "Mattias Gärtner" <[EMAIL PROTECTED]>
>
> > I'm curious: who needs more than 13 different image interpolations?
>
> 13 different users, of course. ;)
>
> That was a rhetorical question, wasn't it?
Not compl
As far as I can see, fpImage has for StretchDraw only the
TMitchelInterpolation.
The current implementation has a few drawbacks:
- it creates a temporary image for resizing horizontally. If you have
to resize big scanned images or gis data this makes trouble.
- it computes all factors each time fo
On Tue, 28 Oct 2008 19:07:23 +0100 (CET)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
>
>
> On Tue, 28 Oct 2008, Mattias Gärtner wrote:
>
> > How can I create a glow effect around text with fpimage?
>
> Currently, you can't, except setting pixels one by one.
>
> fpimage doesn't provide thes
Can someone explain the new FPC source layout?
I find out so far:
In rtl/inc/systemh.inc there is
{$ifndef FPC_HAS_FEATURE_SUPPORT}
...
{$define FPC_HAS_FEATURE_CLASSES}
...
{$ENDIF}
Because FPC 2.3.1 defines FPC_HAS_FEATURE_SUPPORT the above is never
executed and therefore FPC_HAS_FEATURE_CLASS
The Lazarus team is glad to announce the 0.9.26 release. This release
is based on fpc 2.2.2.
This release can be downloaded from the sourceforge download page:
http://sourceforge.net/project/showfiles.php?group_id=89339
Highlights / Major changes:
- The LCL now uses Unicode strings UTF-8 encoded
Is there already a Tiff reader/writer for fpImage?
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Wed, 17 Sep 2008 20:24:27 +0200
Vincent Snijders <[EMAIL PROTECTED]> wrote:
> Mattias Gaertner schreef:
> > On Wed, 17 Sep 2008 09:30:16 +0200
> > "Paul" <[EMAIL PROTECTED]> wrote:
> >
> >> Installed these packages
> >>
> &
On Wed, 17 Sep 2008 09:30:16 +0200
"Paul" <[EMAIL PROTECTED]> wrote:
> Installed these packages
>
> Lazarus-0.9.25-16602-fpc-2.2.2-20080916-win32.exe
> Lazarus-0.9.25-16602-fpc-2.2.2-20080916-cross-arm-wince-win32.exe
>
> If I try to compile the project, this error pops up:
> FATAL: Can't find
On Sun, 14 Sep 2008 00:23:51 +0200
"Paul" <[EMAIL PROTECTED]> wrote:
> Already done,
>
>
> uses
> Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs,
> StdCtrls,
> ExtCtrls, windows;
>
>
> procedure captureScreen;
> var
> MyBitmap: Graphics.TBitmap;
> ScreenDC: HDC;
> b
On Sun, 14 Sep 2008 10:38:25 +0200
"Carsten Bager" <[EMAIL PROTECTED]> wrote:
> > AFAIK the unit Dos should not be used under Linux.
> >
> >
> > Mattias
>
> I rewrote the code omitting the dos unit, and got the fowing.
> In my opinion the windows output and the Linux output should be
> (almost)
On Sun, 14 Sep 2008 07:42:12 +0200
"Carsten Bager" <[EMAIL PROTECTED]> wrote:
> > Zitat von Carsten Bager <[EMAIL PROTECTED]>:
> >
> > > When I do this
> > >
> > > Free Pascal Compiler version 2.2.2 [2008/07/29] for i386
> >
> > Which OS?
> Linux
AFAIK the unit Dos should not be used under L
On Sat, 13 Sep 2008 23:04:49 +0200
"Paul" <[EMAIL PROTECTED]> wrote:
>
> - Original Message -----
> From: "Mattias Gaertner" <[EMAIL PROTECTED]>
>
> > What error do you get?
> unit1.pas Fatal: syntax error ")" exptecte
On Sat, 13 Sep 2008 22:44:43 +0200
"Paul" <[EMAIL PROTECTED]> wrote:
>
> - Original Message -----
> From: "Mattias Gaertner" <[EMAIL PROTECTED]>
> >> Mouse.CursorPos.X := 80;
> >> Mouse.CursorPos.Y := 80;
>
> this is acce
On Sat, 13 Sep 2008 17:13:31 -0300
"Felipe Monteiro de Carvalho" <[EMAIL PROTECTED]> wrote:
> > where can I find a list of available api calls for WinCE/Arm ?
>
> Please note that your post is ambiguous. It is not clear what API you
> are trying to use. In the first post it seams to be the Window
On Tue, 2 Sep 2008 16:35:48 +0100
Jonas Maebe <[EMAIL PROTECTED]> wrote:
>
> On 02 Sep 2008, at 16:31, Mattias Gaertner wrote:
>
> > On Tue, 2 Sep 2008 17:13:11 +0200
> > "Paul" <[EMAIL PROTECTED]> wrote:
> >
> >> Yes, and entered them
On Tue, 2 Sep 2008 17:13:11 +0200
"Paul" <[EMAIL PROTECTED]> wrote:
> Yes, and entered them each seperately in terminal also.
The commands do not work in terminal (because the variables are not
assigned with export). They work only in a script.
Mattias
___
On Tue, 2 Sep 2008 16:29:49 +0200
"Paul" <[EMAIL PROTECTED]> wrote:
>
> > Use spotlight (Cmd+Space) to find lazarus, tell us where you found
> > it and delete it.
> >
> > Mattias
>
> Seems nothing was deleted at all , including fpc ... :-(
Have you put all commands into a script and executed t
On Tue, 2 Sep 2008 16:17:25 +0200
"Paul" <[EMAIL PROTECTED]> wrote:
> >However, as already said, all is explained here
> >http://wiki.freepascal.org/OS_X_Programming_Tips#Uninstalling_Lazarus_and_Free_Pascal
>
> I have a printed copy here and have executed all commands
> manually.(no errors disp
On Mon, 1 Sep 2008 14:15:44 +0100
Jonas Maebe <[EMAIL PROTECTED]> wrote:
>
> On 01 Sep 2008, at 13:58, Paul wrote:
>
> > /usr/local/bin/ppc386
> > it'wasn't listed in the dropdown box.
Strange. I just tested with a new IDE and it found
the /usr/local/bin/ppc386 automatically.
> You can type
On Thu, 28 Aug 2008 20:57:22 +0200
"Paul" <[EMAIL PROTECTED]> wrote:
> I've asked the Synapse list and since Lukas is answering on the list
> but got no answer, I assumed it wouldn't work.
He has no Mac so he can not test it.
> It's also listed on his website/l only Windows and Linux.
No one t
On Thu, 28 Aug 2008 20:16:03 +0200
"Paul" <[EMAIL PROTECTED]> wrote:
> Hi Luca,
>
> I've used ICS a lot.
> It's a very good library, but only for Delphi.
>
> Synapse doesn't work with FPC on Mac though, only on Windows and
> Linux. Same for Indy.
> So I'll try with lNet pointed by Damien.
I use
On Tue, 12 Aug 2008 09:39:36 +0200
Jilani Khaldi <[EMAIL PROTECTED]> wrote:
> Marc Weustink wrote:
> > Micha Nelissen wrote:
> >> Mattias Gärtner wrote:
> >>> How to translate this:
> >>>
> >>> struct a;
> >>
> >> Isn't this a forward declaration? So sometime later it needs to
> >> declare 'struct
On Mon, 11 Aug 2008 17:59:08 +0200
Martin Schreiber <[EMAIL PROTECTED]> wrote:
> Hi,
> MSEide+MSEgui version 1.8 for FPC 2.2.2 has been released:
> http://sourceforge.net/projects/mseide-msegui
I get:
Error
Invalid project
Mattias
___
fpc-pascal maill
On Mon, 28 Jul 2008 02:12:35 -0700 (PDT)
leledumbo <[EMAIL PROTECTED]> wrote:
>
> I need FPC (or better, Pascal) console IO feature for my OS. That is,
> Write(Ln) (and possibly Read(Ln)) with variable number and type of
> arguments. I already have my own, but each can only take one
> argument. S
On Thu, 24 Jul 2008 23:58:45 +0200
Roland Turcan <[EMAIL PROTECTED]> wrote:
> Hello Mattias,
>
> MG> I think the AV happens somewhere in the finally part of
> MG> ide/outputfilter.pas 375.
> MG> I added some verbosity in rev 15849.
> MG> Please update lazarus svn and compile IDE and lazbuild clea
On Wed, 23 Jul 2008 22:54:08 +0200
Luca Olivetti <[EMAIL PROTECTED]> wrote:
> En/na Mattias Gaertner ha escrit:
>
> >> [*]though I know of at least a nasty leak with gtk2 under lazarus
> >> that heaptrc didn't trace.
> >
> > Which one?
>
>
On Wed, 23 Jul 2008 19:21:00 +0200
Luca Olivetti <[EMAIL PROTECTED]> wrote:
> El Wed, 23 Jul 2008 17:15:13 +0200
> Marc Santhoff <[EMAIL PROTECTED]> escribió:
>
> > That's the important part, I'm dealing with cleanly freeing strings
> > when destroying objects.
>
> I may be wrong but I think you
On Tue, 22 Jul 2008 11:33:30 +0200
Vincent Snijders <[EMAIL PROTECTED]> wrote:
> Roland Turcan schreef:
> > Hello FPC-Pascal users discussions!
> >
> > Compilation shows me next ugly error messages during building
> > lazarus with our components.
> >
> > How can I turn on move verbose outputs to
On Tue, 22 Jul 2008 11:02:40 +0200
Roland Turcan <[EMAIL PROTECTED]> wrote:
> Hello FPC-Pascal users discussions!
>
> Compilation shows me next ugly error messages during building
> lazarus with our components.
>
> How can I turn on move verbose outputs to see more about the problem.
>
> The st
On Fri, 18 Jul 2008 00:05:34 +0100
David W Noon <[EMAIL PROTECTED]> wrote:
> Whenever I try to browse the help under Lazarus, the browser used is
> always Konqueror, even when I am using GNOME or Xfce as my desktop.
> How can I configure Lazarus to use the desktop's default browser or
> explicitly
On Thu, 17 Jul 2008 10:45:22 +0200
"Vinzent Höfler" <[EMAIL PROTECTED]> wrote:
> leledumbo <[EMAIL PROTECTED]>
> >
> > Jonas Maebe-2 wrote:
> > >
> > > Because there are easy ways around it (as you mention) and the
> > > work to implement and maintain this would probably outweigh the
> > > usefu
On Wed, 16 Jul 2008 17:31:46 +0200
Jonas Maebe <[EMAIL PROTECTED]> wrote:
>
> On 16 Jul 2008, at 15:39, Mattias Gärtner wrote:
>
> > Zitat von Jonas Maebe <[EMAIL PROTECTED]>:
> >
> >> The problem is that there is no download page with explanations on
> >> sourceforge (I don't know whether it's
On Mon, 14 Jul 2008 23:51:30 +0200
Jonas Maebe <[EMAIL PROTECTED]> wrote:
>
> On 14 Jul 2008, at 23:03, Mattias Gaertner wrote:
>
> > On Fri, 26 Oct 2007 16:58:29 +0200
> > Jonas Maebe <[EMAIL PROTECTED]> wrote:
> >
> >> [...]
> >> * The
On Mon, 14 Jul 2008 23:03:26 +0200
Mattias Gaertner <[EMAIL PROTECTED]> wrote:
> On Fri, 26 Oct 2007 16:58:29 +0200
> Jonas Maebe <[EMAIL PROTECTED]> wrote:
>
> >[...]
> > * The new linker deals differently with stabs debug information
> > compared
On Fri, 26 Oct 2007 16:58:29 +0200
Jonas Maebe <[EMAIL PROTECTED]> wrote:
>[...]
> * The new linker deals differently with stabs debug information
> compared to previous versions, causing a lot of "Unknown stabs"
> warnings and also some errors during linking
> - Effect: you can't compile code
On Fri, 11 Jul 2008 05:34:32 -0700 (PDT)
leledumbo <[EMAIL PROTECTED]> wrote:
>
> Currently h2pas can't understand multi-line macros (that means,
> including preprocessors), even the
> http://wiki.lazarus.freepascal.org/Common_problems_when_converting_C_header_files
> wiki doesn't mention it at
On Sun, 06 Jul 2008 16:11:48 +0200
[EMAIL PROTECTED] (Csányi Pál) wrote:
> Hello!
>
> I have installed Lazarus Version #: 0.9.25 beta Date: 2008-06-18 and
> FPC Version: 2.2.0 SVN Revision: 15441M i386-linux-gtk 2 (beta).
>
> I made a small project with Lazarus with one Frame, Buttons, Labels
How can I create and load two dynamic libs A and B under linux, that
depend on each other (B uses A)?
For example:
libmy_lib1.so contains the unit lib1unit1.pas with some procs and
variables.
And libmy_lib2.so contains the unit lib2unit1.pas with some procs
using those in libmy_lib1.so.
I used dl
On Tue, 1 Jul 2008 18:55:44 +0200
Martin Schreiber <[EMAIL PROTECTED]> wrote:
> On Tuesday 01 July 2008 18.32:30 Mattias Gärtner wrote:
> > >
> > > In this routines length(widestring), widestring[index],
> > > pwidechar^, pwidechar[index], pwidechar + offset, pwidechar -
> > > pwidechar and inc(pw
On Tue, 1 Jul 2008 10:33:28 +0200 (CEST)
[EMAIL PROTECTED] (Marco van de Voort) wrote:
> > On Tue, 1 Jul 2008 09:23:52 +0200 (CEST)
>
> (note that this is all IMHO, not necessarily core viewpoint)
Same for me: mine are not lazarus core.
> > Are we talking about one encoding per platform or tw
On Tue, 1 Jul 2008 10:23:32 +0200
Martin Schreiber <[EMAIL PROTECTED]> wrote:
> On Tuesday 01 July 2008 09.56:29 Mattias Gaertner wrote:
> > On Tue, 01 Jul 2008 09:35:35 +0200
> >
> > Luca Olivetti <[EMAIL PROTECTED]> wrote:
> > > OTOH using variable len
On Tue, 1 Jul 2008 09:23:52 +0200 (CEST)
[EMAIL PROTECTED] (Marco van de Voort) wrote:
>[...]
> > multiple encodings:
Are we talking about one encoding per platform or two encodings for
all platforms?
Under Unix the encoding preference is clear: UTF-8.
Under Windows there are a lot of current cod
On Tue, 01 Jul 2008 09:35:35 +0200
Luca Olivetti <[EMAIL PROTECTED]> wrote:
> En/na Marco van de Voort ha escrit:
> >>> They have a UTF-16/UCS-2 internal representation, same as MSEgui
> >>> which works very well and is fast and handy BTW.
> >> And len, slicing, etc. work as expected.
> >> Note th
On Mon, 30 Jun 2008 01:03:38 +0200
"Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:
> 2008/6/29 Vincent Snijders <[EMAIL PROTECTED]>:
> >
> > If you create a file with a russian name on your hard disk, can you
> > use fpgFileExists to check for its existence?
>
> I don't know how to change the Wind
On Mon, 30 Jun 2008 09:04:21 +0200
"Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:
> 2008/6/30 Vincent Snijders <[EMAIL PROTECTED]>:
> >
> > Even if it doesn't contain Russian locale, you would be able to
> > create such files in the windows explorer to create such file, for
> > example by copy / p
On Wed, 25 Jun 2008 13:06:58 +0200 (CEST)
Michael Van Canneyt <[EMAIL PROTECTED]> wrote:
>
>
> On Wed, 25 Jun 2008, Peter Vreman wrote:
>
>[...]
> > The ppu unit from the compiler and ppudump has become too much
> > dependent on other units of the compiler that i don't think it is
> > recommend
On Tue, 24 Jun 2008 23:14:34 +0200
Florian Klaempfl <[EMAIL PROTECTED]> wrote:
> Mattias Gaertner schrieb:
> > I want to read ppu files like the ppudump tool.
> > ppudump uses the unit compiler/ppu.pp, but ppu.ppu is not
> > installed by default. At least not on debia
I want to read ppu files like the ppudump tool.
ppudump uses the unit compiler/ppu.pp, but ppu.ppu is not
installed by default. At least not on debian.
Should I make a copy of this unit?
Will this work for the various compilers (e.g. compiling the tool with
2.2.3 and reading 2.2.x and 2.3.x ppu fi
On Sun, 22 Jun 2008 10:12:04 +0200
Rainer Stratmann <[EMAIL PROTECTED]> wrote:
> Exists there a Debian DC/DVD with Lazarus on it?
> If yes where can I download it.
There is no official CD/DVD yet.
But maybe this helps:
http://wiki.lazarus.freepascal.org/Getting_Lazarus#Lazarus_Distributions
Mat
I would like to create a shot overview of the code quality of
FPC. Please help to complete the list:
Under i386 code size and speed is similar to Delphi and gcc (except
for some synthetic benchmarks).
Under x86_64 pentium code size and speed is similar to gcc (exc...).
Under x86_64 amd code size
I searched for 'optimize' and got a server error.
http://community.freepascal.org:1/search/search?q=optimize&t=Search
Server Error
There was a server error processing your request. We apologize.
Take me back where I was (before the error)
Database operation "0or1row" failed (exception NSDB
> > > of the License, or * (at your option) any later version.
> >
> > AVL_Tree unit is used by dom.pp.
> >
> > So the question is: are there any restrictions on the license of
> > applications that use dom.pp and avl_tree.pp?
>
> Normally, the FPC FAQ i
On Sun, 25 May 2008 11:46:20 +0500
Vladimir Zhirov <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've got a question about the license of unit avl_tree.pp, that comes
> with FCL. FPC FAQ states that
>
> > Applications created by the compiler and using the runtime library
> > come under a modified library
On Thu, 01 May 2008 15:23:29 +0200
Marc Weustink <[EMAIL PROTECTED]> wrote:
> Mattias Gaertner wrote:
>[...]
> > ReAllocMem(p,0);
>
> Ah, now I understand why you use them :)
>
> Anyway does it set p:=nil ?
Yes.
Mattias
_
On Wed, 30 Apr 2008 01:22:47 +0200
Marc Weustink <[EMAIL PROTECTED]> wrote:
> Alan Krause wrote:
> > Hans MÃ¥rtensson wrote:
> >> But that would not work after the pointer was used and then it's
> >> memory freed.
> >> So a better way might be:
> >>
> >> Always when declaring pointers do it this
On Thu, 10 Apr 2008 16:39:09 +0200
Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to create a default exception handler dialog for fpGUI. It
> should display the error message and when the user clicks on the
> 'Details' button, it should show the full backtrace. For some reas
On Sat, 23 Feb 2008 15:45:22 +0100
Giuliano Colla <[EMAIL PROTECTED]> wrote:
>[...]
> Tanks for the hint, but grep (or Find in Files from IDE) has the big
> disadvantage that you don't find only the declaration, but also all
> the references. You search "FindFirst" and you find 200 entries...
La
On Tue, 19 Feb 2008 08:59:17 -0300
"Lucas Vasconcelos" <[EMAIL PROTECTED]> wrote:
> Ok. But, i´m using FPC *only*.
>
> I install Lazarus and try compile my application using FileUtil unit
> but lazarus give me a
> error message: "Can´t find unit FileUtil used by mytest"
>
> What option that i c
On Wed, 13 Feb 2008 19:20:59 +0100
Wolfram Kläger <[EMAIL PROTECTED]> wrote:
> // Michael Van Canneyt, 12.02.2008 20:08
> >
> > On Tue, 12 Feb 2008, Wolfram Kläger wrote:
> >
> >> I am trying to get access to a remote MySQL database via sqldb and
> >> mysql50conn, ending up with 'EDatabaseErro
On Sat, 9 Feb 2008 22:04:33 +0200
ik <[EMAIL PROTECTED]> wrote:
> It's simple, you declared a prototype of a class, so you do not need
> to declare the entire structure of the class.
>
> type
> Tpenis = class;
>
> and that's it
No.
He probably forgot to enable Delphi mode.
See here
http://wik
On Sat, 9 Feb 2008 00:01:24 +0100
Mattias Gaertner <[EMAIL PROTECTED]> wrote:
> Has anybody done something with FPC and bluetooth and especially
> the wiimote under linux and can give me some hints?
What about other platforms?
Are the bluetooth units in the FPC sources for windows f
Has anybody done something with FPC and bluetooth and especially
the wiimote under linux and can give me some hints?
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Thu, 20 Dec 2007 08:58:49 -0300
"Lourival Mendes" <[EMAIL PROTECTED]> wrote:
> Dear Mattias,
>
> Replacing the {$linklib c} with
> {$IFDEF Unix}
> {$linklib c}
> {$ENDIF}
>
> It really worked, thanks...
>
> Now some other interesting stuff happended, as you probably did on
> the -
On Wed, 19 Dec 2007 13:17:50 -0300
"Lourival Mendes" <[EMAIL PROTECTED]> wrote:
>Dear Mattias... sorry to bother again, but as I'm new to Lazarus I
> can't see somethings.
>
>When I loaded the HelloWorld from the examples I got this error:
>
>helloworld.lpr(14,1) Error: Import librar
r mpich2
> > only the file mpich2-1.0 which is an 0 file... also I'm using
> > windows as the OS.
> >
> > Am I doing something wrong?
> >
> > Thanks
> >
> > 2007/12/19, Mattias Gaertner <[EMAIL PROTECTED]>:
> > > On Wed, 19 Dec
901 - 1000 of 1119 matches
Mail list logo