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
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 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
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 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, 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 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 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 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
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
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
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
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 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 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 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: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 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 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 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 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 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
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 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
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 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?
>
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 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 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 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 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 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
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 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-
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 Sun, 24 May 2009 21:18:44 +0200
Diego Antonio Lucena Pumar wrote:
>
> Hi list:
>
> I have a question, is for a elementary program. What
> are the routines to manipulate with jpg image in FreePascal?. Thank,
> Diego Antonio Lucena Pumar.
fpImage
There are examples in the
Hi fpmake devels,
fpmake uses as ppu output directory for example:
units/i386-linux/
And there is no way to change this. Right?
Some LCL packages have different PPUs per widgetset, so they need an
output directory per widgetset. At the moment they use for example:
units/i386-linux-gtk2/
Another
On Tue, 2 Jun 2009 16:03:08 +0200 (CEST)
Michael Van Canneyt wrote:
>[...]
> > Thanks.
> > Maybe this can be used for debug/release.
> > I don't see how this can be used for the widgetsets.
>
> Why not ? you can use
> subtarget=gtk2-debug
How can I pass sub targets to fppkg?
> > My dream is
On Thu, 11 Jun 2009 08:49:03 +0200
fpcl...@silvermono.co.za wrote:
> Hi Guys,
>
> Assuming that a FPC RTL rebuild has succeeded, can somebody please
> describe the process of rebuilding Lazarus and the LCL using the new
> FPC RTL?
Install your new FPC. And then see here
http://wiki.lazarus.free
On Fri, 12 Jun 2009 15:50:50 +0200
fpcl...@silvermono.co.za wrote:
> On Thursday 11 June 2009 08:49:03 fpcl...@silvermono.co.za wrote:
> > Hi Guys,
> >
> > Assuming that a FPC RTL rebuild has succeeded, can somebody please
> > describe the process of rebuilding Lazarus and the LCL using the
> > ne
On Thu, 16 Jul 2009 10:30:23 +0200
Jürgen Hestermann wrote:
> > Jürgen Hestermann, how often do you change your working machine?
>
> Well, I seldom change it [...]
>
> If I log off, the local profile is saved (partely) to the (Novell)
> home dir and then the local Windows user is deleted complet
On Thu, 16 Jul 2009 11:51:29 +0200
Jürgen Hestermann wrote:
> >> Therefore it would be the best of all worlds to save the Lazarus
> >> settings to the Lazarus directory.
> > No. A sane environment shouldn't even grant you write permissions
> > there.
>
> Then Lazarus should ask where to put the
On Thu, 16 Jul 2009 19:03:40 +0200
Florian Klaempfl wrote:
> Micha Nelissen schrieb:
> > Florian Klaempfl wrote:
> >>> Then you must be the only one since everybody I know despises it.
> >>> We use multiple times login sometimes and then the settings are
> >>> always messed up.
> >>
> >> Well, t
On Thu, 23 Jul 2009 10:15:39 +0300
ik wrote:
> The example has bug that I reported a while back (with a ptch) that
> afaik was ignored completely so yo are welcome to look for that bug
> and add the patch and you'll have (I hope) a working version of the
> example.
What bug?
> The API itself
I want to replace the content of an existing file (keeping the type and
rights). I used:
fs := TFileStream.Create(Filename, fmOpenWrite or fmShareDenyNone);
fs.Size := 0;
fs.Write(.);
fs.Free;
But it does not always work. The line fs.Size does not clear the file on
every file system. So the
On Thu, 13 Aug 2009 21:46:23 +0200 (CEST)
Michael Van Canneyt wrote:
>
>
> On Thu, 13 Aug 2009, Mattias Gaertner wrote:
>
> >
> > I want to replace the content of an existing file (keeping the type
> > and rights). I used:
> >
> > fs := T
On Fri, 14 Aug 2009 01:09:27 +0200
Luca Olivetti wrote:
> En/na Mattias Gaertner ha escrit:
>
> >
> > Yes. The code worked pretty well for years on many systems. But
> > you know the story of the ext4 bug. I hope this is not something
> > like that.
>
> I
On Thu, 27 Aug 2009 13:46:21 +0200
Mattias Gärtner wrote:
>[...]
> I would say, that using cthreads under Linux in an LCL app is ok.
> I didn't test yet a LCL app under OS X, *BSD or Sparc, so don't
> know if cthreads has a performance penalty there.
I did some tests on OS X and got some intere
On Thu, 27 Aug 2009 18:55:10 +0200
Jonas Maebe wrote:
>
> On 27 Aug 2009, at 18:48, Mattias Gaertner wrote:
>
> > On Thu, 27 Aug 2009 13:46:21 +0200
> > Mattias Gärtner wrote:
> >
> >> [...]
> >> I would say, that using cthreads under Linux in a
On Thu, 27 Aug 2009 18:57:58 +0200
Jonas Maebe wrote:
>
> On 27 Aug 2009, at 18:55, Jonas Maebe wrote:
>
> > Without saying what this command line application and this LCL
> > application do exactly, it's kind of hard to understand this
> > conclusion.
>
>
> Oh, now I see that the procedu
The Lazarus team is glad to announce the 0.9.28 release. This release
is based on fpc 2.2.4.
This release can be downloaded from the SourceForge download page:
http://sourceforge.net/projects/lazarus/files/
Highlights / Major changes:
LCL:
*LCL now uses gtk2 as default widgetset on Linux and BSD
On Sun, 25 Oct 2009 21:56:01 +0100
Roland Schaefer wrote:
> Hi,
> I have another question regarding serialization. I need to stream
> child components, and here:
> http://wiki.freepascal.org/Streaming_components it says that
> "TComponent extends TPersistent by the ability to have child
> compone
On Tue, 27 Oct 2009 09:55:03 +0200
Graeme Geldenhuys wrote:
>[...]
> You might be able to use lazbuild as well - though I have no clue how
> that program works.
Gladfully the wiki knows:
http://wiki.lazarus.freepascal.org/lazbuild
Mattias
___
fpc-pas
On Thu, 29 Oct 2009 15:00:53 +0200
Graeme Geldenhuys wrote:
> Hi,
>
> Do I create a memory leak if I cast a PChar it a AnsiString. Then
> append text to the AnsiString and then cast it back to the original
> PChar?
>
> eg:
> var
> Text: Pchar;<-- global var containing text.
>
> procedure
On Thu, 29 Oct 2009 15:00:53 +0200
Graeme Geldenhuys wrote:
> Hi,
>
> Do I create a memory leak if I cast a PChar it a AnsiString. Then
> append text to the AnsiString and then cast it back to the original
> PChar?
>
> eg:
> var
> Text: Pchar;<-- global var containing text.
>
> procedure
On Thu, 29 Oct 2009 13:20:42 +
Henry Vermaak wrote:
> 2009/10/29 Mattias Gaertner :
> > On Thu, 29 Oct 2009 15:00:53 +0200
> > Graeme Geldenhuys wrote:
> >
> >> Hi,
> >>
> >> Do I create a memory leak if I cast a PChar it a AnsiString. Then
On Thu, 29 Oct 2009 15:44:09 +0200
Graeme Geldenhuys wrote:
> On 29/10/2009, Mattias Gaertner wrote:
> >
> >
> > Text:=strnew(PChar(s));
>
> You read my mind. I was going to ask if it's ok to cast a PString to
> a PChar.
Yes.
But it will not change the r
On Thu, 29 Oct 2009 22:28:39 +0800
章宏九 wrote:
> Thank you for all your detailed answers. I read information about
> lazbuild, but I think using Lazarus is much more easier. Since I am
> used to vim, it might cost me some time to get familiar with it.
Maybe if you ask Martin in the right way he w
On Thu, 29 Oct 2009 16:42:23 +0200
Graeme Geldenhuys wrote:
> 2009/10/29 Mattias Gaertner :
> >
> > It compiles here. Probably you use some special units.
>
> Weird... As I mentioned, I'm using FPC 2.3.1 (64bit) under Linux and
> $mode objfpc.
I hope you mean {
On Sat, 7 Nov 2009 16:48:03 -0800
David Emerson wrote:
> I used fpc for a while before starting to use Lazarus. Of course back
> then, lazarus was not as stable as it is now...
>
> Now that I have gotten accustomed to using lazarus, I will never go
> back! Lazarus is a wonderful tool. I believ
On Sun, 15 Nov 2009 23:00:34 +0100
Rainer Stratmann wrote:
> Am Sunday 15 November 2009 20:03:21 schrieb Martin:
> > Rainer Stratmann wrote:
> > > Is here a contact person who is developing lazarus?
> > > May be everyone is interested in this:
> > > When searching text in lazarus, always the prec
On Fri, 27 Nov 2009 20:11:25 +0100 (CET)
Michael Van Canneyt wrote:
>
>
> On Fri, 27 Nov 2009, Juha Manninen wrote:
>
> > Hi,
> >
> > FPC's strutils or other libraries still don't have functions for splitting a
> > string to a list and joining a list of strings again to one string, given a
> >
On Sat, 28 Nov 2009 00:43:39 +0200
Juha Manninen wrote:
> On perjantai, 27. marraskuuta 2009 23:52:30 Frank Peelo wrote:
> > > The reason is that a for-loop tries to make a number of reasonable
> > > guarantees that the counter variable cannot be modified during the loop.
> > > E.g., direct assig
On Sat, 28 Nov 2009 14:58:26 +0100
Jürgen Hestermann wrote:
> > is it possible to set a variable in a programm as a readonly variable?
>
> Not that I am aware of. But for what reason do you want such a behaviour?
>
> And if I think it over, this can only work at runtime (letting the program
>
On Tue, 1 Dec 2009 14:03:37 +0200
Juha Manninen wrote:
>[...]
> This apparently small syntax detail has a wider symbolic message. When people
> here are seriously arguing about how important ShortString is ('cause you can
> save 3 bytes or something...) the message for potential new Pascal
> p
On Sun, 10 Jan 2010 14:59:03 +0100 (CET)
mar...@stack.nl (Marco van de Voort) wrote:
>[...]
> I don't use Lazarus for FPC development. This is not a problem of Lazarus,
> but more that I don't want to often rebuild lazarus when I'm working on FPC.
You don't need to.
Mattias
On Sat, 16 Jan 2010 07:43:59 -0300
"Jorge Aldo G. de F. Junior" wrote:
> well, the bug still stands...
>
> fTypeData := GetTypeData(Self.ClassInfo);
This works here.
Do you have a complete example?
> this line is the problem... looks like i cannot either "GetTypeData"
> of self in cons
This is a fpc list. Please put lazarus question on the lazarus list
or forum.
On Fri, 5 Feb 2010 07:55:41 +1100 "Justin Smyth"
wrote:
> Can someone help here , if i have my own custom component thats got a
> container that has a base class of TCustomControl does one need to register
> it on th
On Thu, 11 Feb 2010 21:53:59 +0100
Rainer Stratmann wrote:
> Am Thursday 11 February 2010 21:24:03 schrieb Ralf A. Quint:
> > At 12:07 PM 2/11/2010, Jonas Maebe wrote:
> > >On 11 Feb 2010, at 18:17, Rainer Stratmann wrote:
> > >>In the past with the turbopascal compiler and other always sizeof
>
On Sun, 28 Feb 2010 02:00:59 +0100
Rainer Stratmann wrote:
> Has someone experience with creating png bitmap files?
> Is it easy or complicated?
> I programmed a web server and wanted to serve diagrams also.
Something like this:
http://wiki.lazarus.freepascal.org/Developing_with_Graphics#Drawin
On Sun, 28 Feb 2010 16:42:53 -0300
Felipe Monteiro de Carvalho wrote:
> On Sun, Feb 28, 2010 at 4:24 PM, Ingemar Ragnemalm
> wrote:
> > Looks nice, but it doesn't link on my Mac. I get a bunch of link errors all
> > prefixed _FT_. FreeType? (Irrelevant for the PNGs though.)
>
> Just delete the
On Wed, 03 Mar 2010 21:33:45 +0200
Wimpie Nortje wrote:
> Hello everybody,
>
> Is there a macro or function that gives the current procedure's name?
>
> E.g.
>
> procedure TClass.SomeProc;
> begin
> writeln(Format('This procedure's name is %s', [THE_MACRO]));
> end;
If you use Lazarus you c
On Sun, 7 Mar 2010 01:13:05 +0200
Juha Manninen wrote:
> > Sorry ... What ? It must be garanteed in ansistring mode! or
> > everything will simple kboom! There is no way to initialize a non
> > initialized string.
>
> By initializing I mean:
> str:='';
> or some other assignment.
> I remember
On Mon, 22 Mar 2010 12:43:43 -0500
Luis Fernando Del Aguila Mejía wrote:
> Another question.
> For write programs in console or mode text.
> For the source code. What charsets is appropriate to use with Free Pascal?
>
> a) ASCII (7 bits)
> b) iso-8859-1
> c) Windows-1252
> d) IBM 850
> e) Unico
On Sat, 17 Apr 2010 13:05:07 +0200
Zaher Dirkey wrote:
> 2010/4/17 Flávio Etrusco :
> > On Fri, Apr 16, 2010 at 4:54 PM, José Mejuto wrote:
> >> Hello FPC-Pascal,
> >>
> >> Friday, April 16, 2010, 9:06:45 PM, you wrote:
> >>
> >> FE> Published methods can be found with TObject.MethodAddress, tha
On Sat, 17 Apr 2010 14:28:16 +0200
Zaher Dirkey wrote:
> On Sat, Apr 17, 2010 at 1:08 PM, Mattias Gaertner
> wrote:
> > On Sat, 17 Apr 2010 13:05:07 +0200
> > Zaher Dirkey wrote:
> >
> >> 2010/4/17 Flávio Etrusco :
> >> > On Fri, Apr 16, 2010 at 4
On Sat, 17 Apr 2010 16:11:48 +0200
Ritchie Flick wrote:
>
> On Apr 16, 2010, at 6:40 PM, spir ☣ wrote:
>
> > Hello,
> >
> > Newcomer here.
> > Seems stupid, but I had a hard time in simply starting Lazarus -- on
> > Ubuntu. When I typed "lazarus", I got an error message about a lazarus
> > p
On Sun, 18 Apr 2010 19:25:53 +0200
spir ☣ wrote:
>[...]
> > It is true that there is an older package tct with a binary
> > 'lazarus' (to revive partitions).
> > So the lazarus package had to name the IDE 'lazaruside' instead.
>
> Actually seems to be "lazarus-ide" on Ubuntu:
>
> s...@o:~$ laza
On Thu, 22 Apr 2010 16:29:43 +0200 (CEST)
Michael Van Canneyt wrote:
>
>
> On Thu, 22 Apr 2010, Marco van de Voort wrote:
>
> > In our previous episode, Michael Van Canneyt said:
> >> Timing:
> >> The codetools of the IDE were developed before fcl-passrc was fully
> >> developed.
> >>
> >> May
On Fri, 23 Apr 2010 09:58:25 +0200
Graeme Geldenhuys wrote:
> Mattias Gaertner het geskryf:
> >
> > No. The fcl-passrc is not optimized for speed (it uses TList and
> > creates a lot of strings) and I would estimate it supports only
> > half of the fpc languages fea
On Fri, 30 Apr 2010 18:34:43 +0200
spir ☣ wrote:
> (Note: I use "method" for "either procedure or function"; if there is a
> proper term, please tell me --I don't know any.)
Normally:
method = function/procedure of a class with an instance 'Self'
class method = method where Self is the class
On Thu, 3 Jun 2010 20:38:26 +0200 (CEST)
Michael Van Canneyt wrote:
>
>
> On Thu, 3 Jun 2010, Graeme Geldenhuys wrote:
>
> > On 3 June 2010 17:24, Michael Van Canneyt wrote:
> >>
> >> You must override GetChildren.
> >>
> >> In the LCL, TWinControl overrides GetChildren to write child control
On Thu, 3 Jun 2010 22:32:38 +0200
Graeme Geldenhuys wrote:
> On 3 June 2010 20:53, Mattias Gaertner wrote:
> >
> > For example a TOpenDialog is not in Controls, so it must be put into
> > GetChildren.
>
> Sorry, I don't understand. I don't have VCL
On Thu, 3 Jun 2010 22:38:53 +0200
Graeme Geldenhuys wrote:
> On 3 June 2010 21:22, Marco van de Voort wrote:
> >>
> >> I deliberately didn't mention these cases ;)
> >
> > labelededit ?
>
>
> Huh?
> I added a LabelEdit to my test app mentioned in my reply to
> Mattias. Here is the output, and
On Fri, 4 Jun 2010 00:33:18 +0200
Graeme Geldenhuys wrote:
> On 3 June 2010 22:55, Mattias Gaertner wrote:
> > I other words: There are two tree like structures: Owner and Parent.
> > Parent is optional and will make your stream files more readable.
> >
> >[...]
> &
On Thu, 17 Jun 2010 10:51:46 +0200 (CEST)
mar...@stack.nl (Marco van de Voort) wrote:
> In our previous episode, Graeme Geldenhuys said:
> > Op 2010-06-17 10:39, Marco van de Voort het geskryf:
> > >
> > > IIRC delphi has a equivalent of -Ur ({$IMPLICITBUILD OFF}). Were the
> > > _original_ compo
On Thu, 1 Jul 2010 10:01:52 +0200
Bart wrote:
> Compiles just fine (with or without the semicolon) with Lazarus
> r25303M / fpc 2.4.1
2.5.1 eats both too.
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org
On Mon, 5 Jul 2010 17:26:52 -0300
Marcos Douglas wrote:
>[...]
> But if a remove the variable *someObj* and call like this:
> myObj.createObj; // I _removed_ the *someObj* here!!!
>
> What will happen with the "result" variable? Is it released by the compiler?
No. This will create a mem leak.
On Mon, 5 Jul 2010 17:46:39 -0300
Marcos Douglas wrote:
> On Mon, Jul 5, 2010 at 5:30 PM, Mattias Gaertner
> wrote:
> >
> > No. This will create a mem leak.
>
> Thanks Mattias, I expect that...
>
>
> On Mon, Jul 5, 2010 at 5:39 PM, Martin wrote:
> &g
On Mon, 26 Jul 2010 14:49:02 +0200
Jonas Maebe wrote:
>
> On 26 Jul 2010, at 14:18, Bernd Kreuss wrote:
>
> > What is the easiest way to have a second installation of FPC around that
> > I can easily switch to on the same machine without having to change half
> > a dozen paths and moving config
On Tue, 27 Jul 2010 17:32:12 +0500
Vladimir Zhirov wrote:
> Hi,
>
> There was a question raised in Russian FPC forum about whether LCL
> license (modified LGPL) should be applied to a subclass of LCL class:
> TMyButton = class(TButton)
> This turned out to be a deeper problem, since it would a
Hi,
How to get the current TThread instance?
For example: I created a TThread and called a function, which calls a
function One of those sub functions needs to call
TThread.Synchronize, which needs as parameter the current TThread.
Mattias
___
fp
On Tue, 21 Dec 2010 14:29:36 +0100 (CET)
michael.vancann...@wisa.be wrote:
>
>
> On Tue, 21 Dec 2010, Mattias Gaertner wrote:
>
> > Hi,
> >
> > How to get the current TThread instance?
>
> There is no documented method.
Strange.
Am I really the firs
What is the meaning of:
__pad1: array[1..4-sizeof(mode_t)];
?
See unit ipc.pp line 114.
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Thu, 24 Feb 2011 15:36:17 +0200
Wimpie Nortje wrote:
> Hi everybody,
>
> The manual (possibly Delphi one) says that TThread.OnTerminate executes
> in the GUI thread. This is easy if the GUI thread owns the TThread.
>
> Suppose the GUI owns a TTHread which owns a subthread. In which context
>
On Sat, 5 Mar 2011 23:07:45 -0300
Marcos Douglas wrote:
> If circular reference not is a good practice (even if to use a
> implementation section) then I have to put all code, that works
> together, in the same unit, right?
No, only compatibility or your boss can force you to do that.
You can us
Hi all,
TThread.Resume is marked deprecated. Where is the comment or documentation what
to use now?
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Thu, 10 Mar 2011 19:38:11 +0100
Jonas Maebe wrote:
>
> On 10 Mar 2011, at 19:27, Mattias Gaertner wrote:
>
> > TThread.Resume is marked deprecated. Where is the comment or documentation
> > what to use now?
>
> http://wiki.freepa
Hi all,
I just installed on a fresh Linux Fedora 14 the fpc rpm via yum, which
installed fpc 2.4.0.
Then I downloaded from www.freepascal.org the rpm for fpc 2.4.2 and
installed it via upgrade function (rpm -Uvh fpc-2.4.2-1.i686.rpm).
To my surprise this renamed the /etc/fpc.cfg to /etc/fpc.cfg.or
On Fri, 18 Mar 2011 15:42:13 +0100
Reimar Grabowski wrote:
> Hi all,
>
> I want to create a node with multiple attributes. It works by using
> SetAttribute multiple times but it looks like I cannot specify the order in
> which the attributes appear in the xml. The order of my SetAttribute call
201 - 300 of 1119 matches
Mail list logo