On Thu, 19 Apr 2012 14:11:59 +0200
OBones wrote:
> Hello all,
>
> I'm currently creating a build chain where FPC is the last step, the one
> producing a DLL for Windows, x86 and x64.
> In front of it in the chain, I have designed a generator that creates a
> program and a set of units from its
On Fri, 20 Apr 2012 18:26:28 +0200
Florian Klaempfl wrote:
> Am 19.04.2012 14:11, schrieb OBones:
> > Hello all,
> >
> > I'm currently creating a build chain where FPC is the last step, the one
> > producing a DLL for Windows, x86 and x64.
> > In front of it in the chain, I have designed a genera
On Sat, 21 Apr 2012 17:31:47 +0200
Sven Barth wrote:
> On 21.04.2012 12:12, denisgolovan wrote:
>[...]
> > I am considering to subscribe to commercial support in FPC/Lazarus, but I
> > don't have a clear picture what actually support is :)
> > I am looking at http://www.lazarussupport.com/lazaru
On Sun, 22 Apr 2012 01:54:17 +0200
Bernd wrote:
> Hi,
>
> I have this from the GLIB heads:
>
> typedef intgint;
> typedef gint gboolean;
Why not use gboolean from the glib unit?
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.o
Hi,
Has something changed with 'make install'?
Instead of copying files it recompiles and fails.
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Jonas Maebe hat am 27. April 2012 um 11:18
geschrieben:
>
> Mattias Gaertner wrote on Fri, 27 Apr 2012:
>
> > Has something changed with 'make install'?
> > Instead of copying files it recompiles and fails.
>
> My fault, fixed.
Thanks.
But now 'make a
On Sun, 29 Apr 2012 15:01:12 +0200
Bernd wrote:
> Hi,
>
> I just thought I kill some time investigating cross compiling from
> i386-linux to i386-win32 and hada look at the wiki page
> http://wiki.freepascal.org/Cross_compiling
>
> It seems there is some important thing missing, right at the be
On Sun, 29 Apr 2012 15:27:47 +0200
Bernd wrote:
> 2012/4/29 Mattias Gaertner :
>
> > You don't need to set the LCLWidgetType here because win32 is the
> > default for TargetOS win32.
>
> I tried this but then it seems it would try to use what is configured
> in
On Fri, 04 May 2012 17:22:16 +0200
dhkblas...@zeelandnet.nl wrote:
>
>
> I'm creating a script to be executed by instantfpc when I noticed
> that paramstr(0) does not reflect the location of the script but the
> location of the cached executable. Is there a way to alter this location
> program
On Sat, 5 May 2012 14:02:12 +0200 (CEST)
"Tomas Hajny" wrote:
> On Sat, May 5, 2012 09:22, Michael Van Canneyt wrote:
> > On Fri, 4 May 2012, Mattias Gaertner wrote:
> >> On Fri, 04 May 2012 17:22:16 +0200
> >> dhkblas...@zeelandnet.nl wrote:
> >>
On Sat, 5 May 2012 14:07:01 +0200 (CEST)
"Tomas Hajny" wrote:
> On Fri, May 4, 2012 21:58, Marco van de Voort wrote:
> > In our previous episode, Tomas Hajny said:
> >> 1) Find the first alphabetic character after the first line (which is
> >> already processed/skipped by InstantFPC anyway) while
On Sat, 5 May 2012 14:08:26 +0200
Jonas Maebe wrote:
>
> On 05 May 2012, at 14:02, Tomas Hajny wrote:
>
> > My proposal is platform independent (i.e. it will work also under Win32,
> > OS/2, etc., without any changes). Your proposal probably requires starting
> > the compiled binary using platf
On Sat, 5 May 2012 17:43:44 +0200
Jonas Maebe wrote:
>
> On 05 May 2012, at 14:25, Mattias Gaertner wrote:
>
> > It uses only the file name, not the path to distinguish.
> > Having two scripts with the same name recompiles every time you
> > switch.
>
> T
On Sat, 5 May 2012 15:04:05 +0200 (CEST)
"Tomas Hajny" wrote:
> On Sat, May 5, 2012 14:13, Mattias Gaertner wrote:
> > On Sat, 5 May 2012 14:02:12 +0200 (CEST)
> > "Tomas Hajny" wrote:
> >> On Sat, May 5, 2012 09:22, Michael Van Canneyt wrote:
>
On Sat, 5 May 2012 18:15:51 +0200
Krzysztof wrote:
> Hi,
>
> ObjectBinaryToText method can save object structure to string, but how
> save only some propertys?
ObjectBinaryToText only converts between to formats.
It does not save object structures. That is done by TWriter.
TWriter normally save
On Mon, 7 May 2012 13:34:50 +0200 (CEST)
"Tomas Hajny" wrote:
> On Mon, May 7, 2012 12:21, Mattias Gaertner wrote:
> > On Sat, 5 May 2012 15:04:05 +0200 (CEST)
> > "Tomas Hajny" wrote:
>[...]
> > The implementation for unix is only a few lines.
>
On Sun, 13 May 2012 15:09:15 +0200
Darius Blaszyk wrote:
> I'm struggling to convert a simple for loop from C to pascal. The code is
> shown below (as is a trace of the loop parameter values). I'm a bit puzzled
> how this should look elegantly in pascal. Anyone has an idea?
IMHO the C code is
On Tue, 15 May 2012 10:43:19 +0200
Jonas Maebe wrote:
>
> Olivier Sannier wrote on Tue, 15 May 2012:
>
> > Is there a way to force the string type to be an alias to
> > UnicodeString instead of AnsiString as it is by default?
>
> It is not possible in FPC 2.6.x. Wth the svn trunk version, yo
On Wed, 25 May 2011 09:29:09 +0200
Mattias Gaertner wrote:
> On Wed, 25 May 2011 09:02:46 +0200 (CEST)
> mar...@stack.nl (Marco van de Voort) wrote:
>
> > In our previous episode, Mattias Gaertner said:
> > > > A quick look at wikipedia will show that timsort has a
Hi,
Is there a function to blur an entire fpimage or a rectangular
area?
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Graeme Geldenhuys hat am 31. Mai 2012 um 12:59
geschrieben:
> On 31 May 2012 09:06, Mattias Gaertner wrote:
> > Hi,
> >
> > Is there a function to blur an entire fpimage or a rectangular
> > area?
>
>
> Not a direct function of Tfpimage, but is very easily a
"S.Anil Yilmaz" hat am 31. Mai 2012 um 16:39
geschrieben:
> Bgrabitmap for Lazarus has such filters as far as I know. You may use the
> algoritms I suppose.
Thanks.
It has some nice blur algorithms.
But as far as I can see:
BGRA is RGBA 8bit, I need up to 16 bit gray scale.
FilterBlur allo
On Thu, 31 May 2012 20:42:35 +0100
Graeme Geldenhuys wrote:
> On 31 May 2012 12:35, Mattias Gaertner wrote:
> >
> > Can you give an example or some pseudocode?
>
>
> I just moved country, so don't have access to my development pc yet
> (still in shipping), so
Hi,
Is there already a buffered file stream in the fpc sources?
Or maybe a generic buffered input stream that can be used with
TFileStream?
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo
On Sun, 10 Jun 2012 17:13:28 +0300
Zaher Dirkey wrote:
> On Sun, Jun 10, 2012 at 4:00 PM, Mattias Gaertner > wrote:
>
> > Hi,
> >
> > Is there already a buffered file stream in the fpc sources?
> > Or maybe a generic buffered input stream that
On Sun, 10 Jun 2012 19:08:40 +0400
Alexander Shishkin wrote:
> 10.06.2012 18:40, Mattias Gaertner пишет:
>
> > I want to pass the stream to a binary reader, which skips big
> > parts of the stream. It can seek backwards and the files can be several
> > GB, so I need t
On Sun, 10 Jun 2012 16:54:30 +0200 (CEST)
Michael Van Canneyt wrote:
>
>
> On Sun, 10 Jun 2012, Mattias Gaertner wrote:
>
> > Hi,
> >
> > Is there already a buffered file stream in the fpc sources?
>
> Yes.
:)
I guessed so.
> > Or maybe a gene
On Sun, 10 Jun 2012 18:24:14 +0200
Mattias Gaertner wrote:
> On Sun, 10 Jun 2012 16:54:30 +0200 (CEST)
> Michael Van Canneyt wrote:
>[...]
> > It is even documented on
> >
> > http://www.freepascal.org/docs-html/fcl/bufstream/index.html
> >
> > Amazi
On Sun, 10 Jun 2012 19:02:52 +0200
Martin Schreiber wrote:
> On Sunday 10 June 2012 15:00:20 Mattias Gaertner wrote:
> > Hi,
> >
> > Is there already a buffered file stream in the fpc sources?
> > Or maybe a generic buffered input stream that can be used with
> >
Hi,
Has someone already implemented a fpimage reader for jpeg2000?
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Tue, 12 Jun 2012 20:03:40 +0200
Florian Klaempfl wrote:
> Am 11.06.2012 12:03, schrieb Mattias Gaertner:
> > Hi,
> >
> > Has someone already implemented a fpimage reader for jpeg2000?
>
> Probably not due to the patent situation?
I guess that's a minor:
http
On Tue, 19 Jun 2012 00:22:29 +0300
ik wrote:
> Hi,
>
> I'm playing a bit with the notion of execute a method dynamically on demand.
> I'ved created the following PoC:
> https://gist.github.com/2950789
>
> It works, but for some strange reason, I find myself feeling that I'm
> missing something,
ik hat am 19. Juni 2012 um 14:22 geschrieben:
> Hello,
>
> Is there a way to tell in run-time that a specific function/procedure should
> belong to a class ?
>
> For example, let's say I have the following class:
>
> Type
>TTest = class
> procedure Foo;
>end;
>
> And I hav
On Fri, 1 Jun 2012 09:32:22 +0200
Mattias Gaertner wrote:
> On Thu, 31 May 2012 20:42:35 +0100
> Graeme Geldenhuys wrote:
>[...]
> > Alternatively, AggPas also has many filter/blur/interpolation
> > functions available. There are a few AggPas demos showing this in
> &g
On Sun, 24 Jun 2012 15:14:36 -0300
Luiz Americo Pereira Camara wrote:
> Em 24/6/2012 12:22, Reinier Olislagers escreveu:
> > On 24-6-2012 17:05, Luiz Americo Pereira Camara wrote:
> >
> >> Hi,
> >>
> >> Thanks for your work. I plan to look at OAuth library soon
> > No problems, if you have questi
On Sun, 24 Jun 2012 23:31:38 -0300
luciano de souza wrote:
> Hello all,
>
> In order to enable UTF-8 characters, I tried to use it:
>
> program dvcodepage;
> {$codepage UTF8}
>
> uses
> Sysutils;
>
> var
> x: integer;
>
> BEGIN
> writeln('Digite um número');
> readln(x);
> writeln('O número
On Sat, 7 Jul 2012 14:40:14 +0200
tazio mirandola wrote:
> hi all,
>
> i'm trying to resize a jpg via fpc-image, this is the relevant code(adapted
> from http://wiki.freepascal.org/fcl-image):
>
>
> uses
> fpimage, fpcanvas, FPImgCanv, fpreadjpeg,fpwritejpeg;
>
> procedure TImgResize.Resam
On Mon, 16 Jul 2012 13:49:13 +
Mark Morgan Lloyd wrote:
>[...]
> > Remove the ibconnection unit or put it in an {$IFNDEF SOLARIS}. (or should
> > that be SUNOS ?)
> >
> > You'll have to remove TIBConnection from the registercomponents call as
> > well.
> >
> > If that works, we'll put it in
On Wed, 18 Jul 2012 17:15:20 +0200 (CEST)
michael.vancann...@wisa.be wrote:
>[...]
> I meant the SimpleIPC unit from the FCL:
> http://lazarus-ccr.sourceforge.net/docs/fcl/simpleipc/index.html
Is there a simple two way IPC?
It seems the '/tmp' directory is always used by simpleipc under unix.
Ho
Hi,
What does strlen return on nil?
The FPC function strlen is implemented via FPC_PCHAR_LENGTH.
The documentation does not say what happens when passing nil.
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.or
On Wed, 1 Aug 2012 12:21:05 +0200 (CEST)
mar...@stack.nl (Marco van de Voort) wrote:
> In our previous episode, Mattias Gaertner said:
> > What does strlen return on nil?
> > The FPC function strlen is implemented via FPC_PCHAR_LENGTH.
> > The documentation does not say what
Graeme Geldenhuys hat am 7. August 2012 um 16:45
geschrieben:> Hi,
>
> On 7 August 2012 11:54, Koenraad Lelong
> wrote:
> > The rest of the apps compile fine although I had no possibility to test them
> > since I don't yet have a suitable video-cable.
>
>
> I had to delay my Raspberry Pi order
Graeme Geldenhuys hat am 7. August 2012 um 16:48
geschrieben:> On 7 August 2012 13:20, Howard Page-Clark
wrote:
> > Use View | Components (shortcut Ctrl Alt P), and type 'filen' in the filter
> > edit.
>
> Wow, and so we learn something new. :-)
Maybe interesting:
http://wiki.lazarus.freepasca
Hi,
Since yesterday fpc no longer links some programs, e.g. lazarus. It reports no
error:
Assembling (pipe) ../units/i386-darwin/carbon/lazarus.s
Compiling resource ../units/i386-darwin/carbon/lazarus.or
Closing script ../ppas.sh
198 lines compiled, 8.2 sec
It does not link and does not create t
Jonas Maebe hat am 12. August 2012 um 11:58
geschrieben:>
> On 12 Aug 2012, at 11:16, Mattias Gaertner wrote:
>
> > Since yesterday fpc no longer links some programs, e.g. lazarus. It reports
> > no
> > error:
> >
> > Assembling (pipe) ../units/i38
Jonas Maebe hat am 12. August 2012 um 15:30
geschrieben:>
> On 12 Aug 2012, at 14:37, Mattias Gaertner wrote:
>
> > Jonas Maebe hat am 12. August 2012 um 11:58
> > geschrieben:>
> >> On 12 Aug 2012, at 11:16, Mattias Gaertner wrote:
> >>
> >>
On Tue, 14 Aug 2012 10:37:46 +0200
Reinier Olislagers wrote:
>[...]
> The following is meant as constructive advice, not criticism:
> Very well, how many people do you think use fpdoc *and* customize
> fpdoc.css?
I thought almost everyone does that.
> Even then, copying fpdoc.css to the bin di
On Sun, 19 Aug 2012 16:45:59 +0200
Rainer Stratmann wrote:
>[...]
> lazarus v0.9.30-0
> fpc 2.4.2-0 [2010/11/11] for i386
Can you try a newer version?
> I put "-a" to projectsettings -> other -> userdefined settings
See Project / Project Options / Show Options.
You can copy+paste the options
On Sun, 19 Aug 2012 19:04:20 +0200
Rainer Stratmann wrote:
>[...]
> > > If I activate extrafpc.cfg what happens then with the settings in the
> > > dialog boxes?
> >
> > Both are applied. Use the above to find out what happens.
>
> Thanks.
> Is there a way to switch off the settings in the dialo
On Mon, 20 Aug 2012 14:38:05 +0200
Sven Barth wrote:
> Am 20.08.2012 14:05, schrieb Jürgen Hestermann:
> > Am 2012-08-20 00:17, schrieb Bart:
> > > Does fpc have a function that determines if a given paths is the root
> > > (e.g. '/' in Linux, 'F:\' in Windows)?
> >
> > The question is: For wha
On Tue, 21 Aug 2012 10:59:41 +0200
Jürgen Hestermann wrote:
> Am 2012-08-21 00:00, schrieb Bart:
> > My Delphi projects are located like this:
> > ...
> > As Juha has pointed out, this is a general way projects are organized.
>
> Realy? How do you know? That's just an assumption.
He meant "c
The Lazarus team is glad to announce the release of:
Lazarus 1.0
At this important stage the current team would like to thank all the past and
current people who were involved in getting us here.
* Thanks also go to the FPC team for providing the compiler that makes it all
possibl
Hi,
I removed my .fppkg directory, installed fpc 2.7.1 (22294) and called "fppkg -v
update". I get a strange error:
The FPC Package tool encountered the following error:
Could not find a fpc executable in the PATH
fpc is in the normal Linux PATH.
What PATH does fppkg use?
How to get the versio
Mark Morgan Lloyd hat am 14. September 2012
um 15:18 geschrieben:
> Krzysztof wrote:
> > I just quicky googled not allowed characters and wrote this simple function:
> >
> > function IsValidFilename(const AFilename: String): Boolean;
> > var
> > c: set of Char = ['<','>',':','"','/','\','|','?','
Hi,
I was not able to reproduce the crash in a simple program. So I'm
asking for help to create a good bug report.
The crash happens in lazbuild only on powerpc 64bit Linux with fpc
2.6.0 and fpc 2.7.1. It works on Linux 32+64bit intel+amd and powerpc
32bit OS X with any fpc.
The crashing line l
On Sun, 23 Sep 2012 17:29:23 +0200
Mattias Gaertner wrote:
> Hi,
>
> I was not able to reproduce the crash in a simple program. So I'm
> asking for help to create a good bug report.
>
> The crash happens in lazbuild only on powerpc 64bit Linux with fpc
> 2.6.0 and fp
On Mon, 24 Sep 2012 11:43:32 +0200
Jonas Maebe wrote:
>
> Mattias Gaertner wrote on Sun, 23 Sep 2012:
>
> > Calling the method directly does not crash.
> > Comparing the property and the address gives true:
> >
> > writeln(
Hi,
I need to edit XMP data in images (at least tif, jpg).
Maybe someone has already done it and can give me a hint?
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
The Lazarus team is glad to announce the release of Lazarus 1.0.2.
This is a bug fix release. Here is the list of changes:
http://wiki.lazarus.freepascal.org/Lazarus_1.0_fixes_branch#Fixes_for_1.0.2_.28Merged.29
The release is available for download at the SourceForge download page:
http://source
Graeme Geldenhuys hat am 17. Oktober 2012 um 17:05
geschrieben:
> On 2012-10-17 15:57, Vincent Snijders wrote:
> >
> > Alternatively, it could just be a warning. Then if it fails later, the
> > complete output will show the reason.
>
>
> I disagree. To prevent any strange side-effects (undefined
Marco van de Voort hat am 18. Oktober 2012 um 13:41
geschrieben:
> In our previous episode, Mattias Gaertner said:
> > > I disagree. To prevent any strange side-effects (undefined behaviour),
> > > the version check should happen as early as possible - before any
>
On Mon, 22 Oct 2012 15:36:16 +0200 (CEST)
michael.vancann...@wisa.be wrote:
>[...]
> Like I said, it may work.
> But I think you are in trouble as soon as someone uses e.g. lazarus.
>
> I am not sure whether they use the binary release of fpc, or if they compile
> their own for e.g. windows. If
Jonas Maebe hat am 30. Oktober 2012 um 14:44
geschrieben:
> On 17 Oct 2012, at 16:52, Marco van de Voort wrote:
>
>
> > > New text:
> >
> > D:\repo\fpc>make all
> > makefile:2717: *** The only supported starting compiler version is
> > 2.6.0.
> > You are trying to build with
Jonas Maebe hat am 22. November 2012 um 10:03
geschrieben:
>
> On 22 Nov 2012, at 02:00, Kenneth Cochran wrote:
>
> > On Wed, Nov 21, 2012 at 5:34 PM, Graeme Geldenhuys
> > wrote:
> >
> >> That is an incorrect assumptions. The compiler will happily accept
> >> both
> >> types without needing type
The Lazarus team is glad to announce the release of Lazarus 1.0.4.
This is a bug fix release. Here is the list of changes:
http://wiki.lazarus.freepascal.org/Lazarus_1.0_fixes_branch#Fixes_for_1.0.4_.28Merged.29
The release is available for download at the SourceForge download page:
http://source
On Sun, 2 Dec 2012 19:46:35 +0100
Rainer Stratmann wrote:
> If I have Kubuntu Linux and then type apt-get install lazarus.
> Would it be the newest version then?
No. Ubuntu is usually some months behind. Sometimes a year.
> If not what is the easiest way to get it on Kubuntu Linux?
Download fr
On Thu, 13 Dec 2012 22:32:06 +0100
Krzysztof wrote:
> Hi,
>
> I know that in normal cases those things has no matters, but I do much
> things in OnPaint so each millisecond is matter. For example, strings
> comparisons:
>
> What is faster if string is "big":
>
> if s<>'' then
>
> or:
>
>
On Mon, 17 Dec 2012 20:44:08 +
Graeme Geldenhuys wrote:
> On 17/12/12 17:57, dev.d...@gmail.com wrote:
> >
> > Btw. I really like the lazarus fpdoc GUI...
>
> Compared to Documentation Insight (a Delphi IDE add-on), the UI of FPDoc
> Editor has a lot to be desired for. Plus the fact that FP
On Tue, 18 Dec 2012 21:13:22 +
Howard Page-Clark wrote:
> Looking through some of the codetools sources makes me wonder if the
> codetools overlooks some C-style FPC operators.
>
> KeywordFuncLists.pas, for instance, seems not to know about >>, <<,
> +=, -=, *=, /=.
I added the << and >>.
On Sun, 30 Dec 2012 17:00:53 +
Graeme Geldenhuys wrote:
> On 30/12/12 03:47, leledumbo wrote:
> > first public beta in 7 years since the latest
> > internal release, wow
>
> Hey, that seems the norm these days. Lazarus was in beta for over 12 years!
Actually it was beta for 10 years. Since
On Tue, 8 Jan 2013 09:44:13 +0100
Krzysztof wrote:
> Hi,
>
> I like when Free Pascal trying to implement best practices from other
> languages. That was with increment variable using assign operator: i += 1.
> Anyway, few days ago I analyzed C++ code and I liked one syntax:
>
> if ( ( i = GetSo
Hi,
When and where (platform) is -fPic needed for libraries?
It is for Lazarus' Library template.
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Wed, 23 Jan 2013 11:27:31 +0100
duilio foschi wrote:
> Hi!
>
> this code
>
> procedure TForm1.DrawBtnClick(Sender: TObject);
> {Draw some ellipses on the canvas - random size and color}
> var
> i:integer;
> cx,cy:integer;
> begin
> with image1, canvas do
> begin
> for i:= 1 to 10
The Lazarus team is glad to announce the release of Lazarus 1.0.6.
This is a bug fix release. Here is the list of changes:
http://wiki.lazarus.freepascal.org/Lazarus_1.0_fixes_branch#Fixes_for_1.0.6_.28Merged.29
The release is available for download at the SourceForge download page:
http://source
On Mon, 11 Feb 2013 00:13:00 +0100
Giuliano Colla wrote:
>[...]
> 3) But if also the *path* to the file doesn't yet exist, it just crashes
> without rising an exception that the user application can handle somehow.
I get an exception in this case:
inifile:=TIniFile.Create('/does/not/exist/bla
On Mon, 11 Feb 2013 17:02:39 +0100
Sven Barth wrote:
> On 11.02.2013 15:30, Mark Morgan Lloyd wrote:
> > If anything, it is the fault
> > of AppConfigDir for indicating a directory without raising an exception
> > pointing out that it doesn't yet exist :-)
> >
>
> And AppConfigDir/File is docume
Giuliano Colla hat am 12. Februar 2013 um 13:29
geschrieben:
>[...]
> Why FormClose doesn't close the form in presence of an error (handled by
> a try..finally) when writing the ini file?
> Launching from command line, you have the same behavior, and an
> additional information when you select Ca
On Sun, 24 Feb 2013 23:20:23 +0100
Reimar Grabowski wrote:
> Hi,
>
> see the following little program:
>
> program argumentbug;
>
> {$MODE ObjFpc}
>
> uses classes;
>
> type
>
> TVector3 = packed record
> X, Y, Z: Single;
> end;
>
> TClassA = class
> protected
> fVector: TVector3;
> pu
On Mon, 25 Feb 2013 22:54:51 +0100
Mattias Gaertner wrote:
> On Sun, 24 Feb 2013 23:20:23 +0100
> Reimar Grabowski wrote:
>
> > Hi,
> >
> > see the following little program:
> >
> > program argumentbug;
> >
> > {$MODE ObjFpc}
> >
&
On Tue, 26 Feb 2013 03:45:37 +0100
Reimar Grabowski wrote:
> On Tue, 26 Feb 2013 00:02:33 +0100
> Reimar Grabowski wrote:
>
> > But from command line it works. So it is not a FPC problem.
> I am really sorry for communicating with myself but I have spoken too early.
> Now I can reproduce the p
On Fri, 1 Mar 2013 10:28:20 -0800 (PST)
Leonardo M. Ramé wrote:
>[...]
>
> Well, as far as I know, sleep is no thread safe, it will block your app.
sleep blocks only the thread.
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
htt
On Mon, 4 Mar 2013 14:35:50 +0200
Juha Manninen wrote:
> Yes, I know this warning can be ignored, and every active member of
> this list knows it, too.
> However new users don't know it. Everybody who tries FPC / Lazarus for
> the first time will scratch their heads and use Google, trying to find
Sorry, I misunderstood the -T warning with the other linker FAQ.
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
GMAIL hat am 7. März 2013 um 18:01 geschrieben:
> I am using Lazarus for creating command line Free Pascal programs.
> I did not realize what hapend but while compiling the free pascal program I
> get
> the following:
>
> ld: symbol(s) not found for architecture i386
> ld: warning: -macosx_versio
On Tue, 12 Mar 2013 10:39:35 +0100
dev.d...@gmail.com wrote:
> Hi,
> working with fcl-xml some questions came together. Every hint is appreciated.
>
> 1.
> No matter what I do and which (short & valid) xml file I use - getElementById
> is always nil (tested with trunk and latest stable 2.6.2) an
On Tue, 12 Mar 2013 11:52:06 +0100 (CET)
Michael Van Canneyt wrote:
>[...]
> > Is getElementById supposed to work properly or is it something that needs to
> > be implemented?
> > Trying to understand what the parser does (not that easy), I got the feeling
> > that no Hashtable for the IDs is cre
On Tue, 12 Mar 2013 12:21:10 +0100
dev.d...@gmail.com wrote:
>[...]
> Just rechecked again...
> The debugger clearly says, that reader.IDMap / FIDMap is nil...
> [Before the second assignement - of course :) ]
>
> >It seems to be started, but not finished.
> If so, what needs to be done?
Maybe t
On Wed, 13 Mar 2013 09:35:43 +
Howard Page-Clark wrote:
> On 12/03/13 8:30, Xiangrong Fang wrote:
> > TMyClass = class
> > myarray: array[0..100] of Integer;
> > end;
> You could answer such questions yourself:
Not with this simple test.
>[...]
>my:=TMyClass.Create;
>try
>
On Wed, 13 Mar 2013 11:32:43 +
Howard Page-Clark wrote:
> On 13/03/13 9:50, Mattias Gaertner wrote:
> > On Wed, 13 Mar 2013 09:35:43 +
> > Howard Page-Clark wrote:
> >
> >> On 12/03/13 8:30, Xiangrong Fang wrote:
> >>> TMyClass = class
>
On Thu, 14 Mar 2013 07:05:21 +0800
Xiangrong Fang wrote:
> Is it possible to use try...except to catch SIGSEGV?
yes. The exception class is EAccessViolation.
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.
On Sun, 17 Mar 2013 11:25:05 +0100
Sven Barth wrote:
>[...]
> Now THAT is really unpascalish... either ":=" or the already suggested
> "as"...
The AS syntax bites already existing syntax.
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepasca
On Sun, 17 Mar 2013 19:05:05 +0800
Xiangrong Fang wrote:
> > The AS syntax bites already existing syntax.
>
> May I know what's the existing syntax?
with A as T do
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freep
On Mon, 18 Mar 2013 15:36:13 +0800
Xiangrong Fang wrote:
> Alternatively, how about just use SPACE to separate the token? i.e.:
>
> with SomeObject o1, SomeOtherObject o2 do
I think this is a bad idea.
One of the strengths of Pascal is its verbosity/redundancy which allows
unambiguous error
The Lazarus team is glad to announce the release of Lazarus 1.0.8.
This is a bug fix release, built with the current fpc 2.6.2. The
previous release 1.0.6 was built with 2.6.0.
Here is the list of changes for Lazarus and Free Pascal:
http://wiki.lazarus.freepascal.org/Lazarus_1.0_fixes_branch#Fi
On Thu, 21 Mar 2013 11:11:49 +0800
Xiangrong Fang wrote:
> Hi,
>
> I would like to add enumerator support for my TTreap implementation (
> https://github.com/xrfang/fpcollection/blob/master/src/units/treap.pas).
>
> The tree nodes are defined as:
>
> PNode = ^TNode;
> TNode = recor
On Fri, 22 Mar 2013 01:19:17 -0700 (PDT)
"S. Fisher" wrote:
> --- On Thu, 3/21/13, Reinier Olislagers wrote:
>
> > From: Reinier Olislagers
> > Subject: [fpc-pascal] Re: Example: regular expressions and "hash-tables"
> > To: "FPC Mailing list"
> > Date: Thursday, March 21, 2013, 5:35 AM
> > O
On Mon, 25 Mar 2013 14:53:04 -0300
silvioprog wrote:
> Hello,
>
> I've the following structure of directories:
>
> -src
> -examples
> -tests
>
> And this file:
>
> fpmake.pp - (http://pastebin.com/DTw9QyqF)
>
> Now, what steps to create my Makefile and Makefile.fpc files?
The idea of fpmake
On Thu, 18 Apr 2013 21:46:23 +0100
John Lee wrote:
> I have a program that captures xml data every 2-6 secs from a power sensor,
> win , xp. Would like to use freearc ebvery minute or so to compress the
> previous data in parallel w/o stopping the capture. Running arc from cmd
> line using exec e
On Thu, 18 Apr 2013 22:11:11 +0100
John Lee wrote:
> Got mtprocs from lazurus svn, compiles ok with win 2.6.2 but not with 2.7.1
>
> 2.7.1-r1:23421 [2013/01/18]--Free Pascal Compiler version 2.7.1-r1:23421
> [2013/01/18] for i386
> Copyright (c) 1993-2012 by Florian Klaempfl and others
> Target
On Fri, 19 Apr 2013 00:14:56 +0100
John Lee wrote:
> > mtprocs.pas(344,16) Error: No member is provided to access property
>
> > > mtprocs.pas(880) Fatal: There were 1 errors compiling module, stopping
> > > Fatal: Compilation aborted
> > >
> > > line 344 is: CurrentThread:=Self;
> >
> > I fixed
1 - 100 of 1119 matches
Mail list logo