On 12.05.2017 16:37, Michael Van Canneyt wrote:
Check manually. What else is left ? There is no message queue, so no
loop in which to check at regular basis.
For event processing in a not threaded project or in the main thread of
a threaded project you at best use the Event Queue provided by
Am 16.05.2017 02:46 schrieb "Nikolay Nikolov" :
>> I also no longer have the 'graphwindow' handle variable so I had to
comment out anything that was using it like
>>
>> SetWindowTextA(graphicwindow,graphwindowtext);
>> And
>> ShowWindow(graphwindow, SW_SHOW);
>> So I just commented them out for now
On Mon, 15 May 2017, nore...@z505.com wrote:
On 2017-05-12 09:37, Michael Van Canneyt wrote:
Obviously "avoid threads where possible" but only if there is a
simpler mechanism not reinventing a thread. So it seems to me onidle
in fpgui is a simpler way than creating a new separate thread
you
Thank you for the explanation. For now I can live without the windows API
calls, It does work to manually switch back and forth to the text console
window, and I'm really the only one who does that as I sometimes perform some
diagnostic functions in there. The performance gains are worth it.
On 05/16/2017 01:37 AM, James Richters wrote:
I have managed to get ptcgraph and ptccrt to work with my program and I can
report that there is an AMAZING increase in graphics performance! It is
pretty much a drop in replacement and I did not change any compiler settings.
I did have to mak
Yes, I did get the test.png file.. I understand the concept now. Aggpas
figures out what the status of the pixels should be then you update the screen
with those pixels.
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
Graeme Geldenhuys
On 2017-05-12 09:37, Michael Van Canneyt wrote:
Obviously "avoid threads where possible" but only if there is a
simpler mechanism not reinventing a thread. So it seems to me onidle
in fpgui is a simpler way than creating a new separate thread
yourself, but how to do it in a program that has no
I have managed to get ptcgraph and ptccrt to work with my program and I can
report that there is an AMAZING increase in graphics performance! It is
pretty much a drop in replacement and I did not change any compiler settings.
I did have to make a few minor changes to get it to work, not enoug
On 2017-05-15 22:50, nore...@z505.com wrote:
Graeme will need to clarify whether he was trying to be harsh on FPC
entirely, or just specifically in some areas.. :-)
I'll try and clarify... I believe FPC generates slow (or slower than
Delphi, GCC and Java) code no matter what. The saving grace
On 2017-05-15 20:50, James Richters wrote:
see it is going into aggpas units, but I do not get any graphical
window, I don't get any errors either, it just runs and exits.
The example is a pure console application with no output to any display.
Instead it generates a "test.png" file as its out
On 2017-05-15 01:02, Sven Barth via fpc-pascal wrote:
Wow, Graeme! That's harsh. One of the last set of benchmarks I did
that focused on integer math and procedure call speed came out as
follows:
I think he specifically meant graphics apps, not general apps
While a raytracer is indeed a grap
On Mon, 15 May 2017, nore...@z505.com wrote:
On 2017-05-15 04:19, Michael Van Canneyt wrote:
If you want to compare today, you need to add the sizes of all the C
libraries that are loaded during execution of a C program with the
size of an FPC program.
I think you'll find that the sizes of F
On 2017-05-15 04:26, fredvs wrote:
After lot of fight, there is a solution: using -*-gc-sections*.
And the question was :
/Why FPC does not provide --gc-sections to the linker with the -XX
paramer
for libraries ? (Bug ?) /
Hopefully that's all there is to it, but how do you know that this
On 2017-05-15 04:19, Michael Van Canneyt wrote:
If you want to compare today, you need to add the sizes of all the C
libraries that are loaded during execution of a C program with the
size of an FPC program.
I think you'll find that the sizes of FPC programs are not so different
then.
Just ch
Thank you, I will try that version and also change to ptcgraph.
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
Nikolay Nikolov
Sent: Monday, May 15, 2017 4:32 PM
To: fpc-pascal@lists.freepascal.org
Subject: Re: [fpc-pascal] FPC Graphics o
[Short English version below]
Hallo allerseits,
wie ihr vielleicht schon gemerkt habe, ist das deutschsprachige
Lazarusforum schon wieder nicht erreichbar. Leider kann ich noch keine
Prognose abgeben, wann wir wieder online sind.
In der Zwischenzeit habe ich die Notfallseite
https://www.lazar
On 05/15/2017 11:25 PM, Nikolay Nikolov wrote:
On 05/15/2017 01:51 PM, James Richters wrote:
Thanks for the help and advice with this. I've been trying to figure
out how a lot of this works. Here's where I'm at
You could try the units ptcgraph or sdlgraph as alternatives (both
are part o
On 05/15/2017 01:51 PM, James Richters wrote:
Thanks for the help and advice with this. I've been trying to figure out how a
lot of this works. Here's where I'm at
You could try the units ptcgraph or sdlgraph as alternatives (both are part of
FPC).
These seemed like the easiest things to
I put freetype.dll in with the sample program and I was able to successfully
compile it, and I can even run it without any errors, but I never get any
graphics display.. am I missing some obvious step?I am compiling and
running it with the Free Pascal text mode IDE, I added the paths to aggp
Thank you for pointing me in the right direction. I was trying to go to
Windows instead of source, so I was lost
James
-Original Message-
From: fpc-pascal [mailto:fpc-pascal-boun...@lists.freepascal.org] On Behalf Of
Graeme Geldenhuys
Sent: Monday, May 15, 2017 1:57 PM
To: fpc-pascal@l
On Mon, May 15, 2017 19:57, Graeme Geldenhuys wrote:
> On 2017-05-15 18:19, James Richters wrote:
>> Could you please give me a link to download 3.0.2 source archive?
>> I'm on the FPC sourceforge page but I'm very confused as to what is
>> what.
>
>
> All downloads can be found from here:
>
>h
On 2017-05-15 18:19, James Richters wrote:
Could you please give me a link to download 3.0.2 source archive?
I'm on the FPC sourceforge page but I'm very confused as to what is
what.
All downloads can be found from here:
https://sourceforge.net/projects/freepascal/files/
From there you cli
On 05/13/2017 12:24 PM, Graeme Geldenhuys wrote:
On 2017-05-13 18:02, Jon Foster wrote:
Speaking of Java ... that's a hard comparison to make. There are so many
Java implementations.
Doesn't IBM, Linux, FreeBSD etc use OpenJDK? I was also under the
impression that Oracle now also uses OpenJD
> If you want the FPC 3.0.2 version, then download the official source archive
> for the 3.0.2 release from FPC's SourceForge page.
Could you please give me a link to download 3.0.2 source archive? I'm on
the FPC sourceforge page but I'm very confused as to what is what.
-Original Me
On 05/15/2017 11:28 AM, James Richters wrote:
I am trying to run your sample program. I am able to compile it, but when I
try to run it I get:
Agg2dconsole.exe - System Error
The Program can't start because freetype.dll is missing from your computer.
Try reinstalling the program to fix the pro
On 2017-05-15 16:57, James Richters wrote:
I'm not quite following your batch file. I have no 'src' directory,
where is that supposed to be?
If you want the FPC 3.0.2 version, then download the official source
archive for the 3.0.2 release from FPC's SourceForge page.
Here is where I am a
I'm not quite following your batch file. I have no 'src' directory, where is
that supposed to be?
Here is where I am at:
I have just downloaded your repo at https://github.com/graemeg/freepascal and
I have it saved at 'J:\Programming\FreePascal' Is there a better place to
download the x86 6
On 2017-05-15 16:28, James Richters wrote:
Agg2dconsole.exe - System Error The Program can't start because
freetype.dll is missing from your computer. Try reinstalling the
program to fix the problem
Any ideas?
Sorry about that. AggPas uses the FreeType library (preferred - more
features that
I am trying to run your sample program. I am able to compile it, but when I
try to run it I get:
Agg2dconsole.exe - System Error
The Program can't start because freetype.dll is missing from your computer. Try
reinstalling the program to fix the problem
Any ideas?
-Original Message-
F
On 2017-05-15 15:45, James Richters wrote:
I did appreciate how much better 1 pixel wide lines and curves appear
with the anti-aliasing and sub-pixel accuracy provides.
Indeed, AGG (and AggPas) does a fantastic job and high quality line and
text rendering with sub-pixel accuracy.
Here is the
Thank you for the console example. I really don't have anything too
complicated, just basic 1 pixel wide lines, arcs and simple text the most
complex shapes are outlines of ellipses. I don't have any surfaces or textures
or anything really complicated. I did appreciate how much better 1 pixel
On Mon, 15 May 2017, wkitt...@windstream.net wrote:
On 05/15/2017 07:41 AM, Graeme Geldenhuys wrote:
But again, I don't know why the FPC team doesn't make an official full
64-bit
Windows release??
IIRC, they say it is because 32bit winwhatever stuff will run on 64bit
winwhatever stuff an
On 05/15/2017 07:41 AM, Graeme Geldenhuys wrote:
But again, I don't know why the FPC team doesn't make an official full 64-bit
Windows release??
IIRC, they say it is because 32bit winwhatever stuff will run on 64bit
winwhatever stuff and because of that there's no real reason to build 64bit
o
a pointer is - after all - just an integer.
See
http://delphi.cjcsoft.net/viewthread.php?tid=44049
Instead of TStringLIst use a SQLite (open source) in-memory table to
store your data.
The table can be indexed and searched using function Locate with
option loPartialKey.
Just my 2c
Peppe
201
Am 2017-05-15 um 13:14 schrieb Torsten Bonde Christiansen:
> however I was hoping someone might know of an implementation that
works more or less out of the box.
To me it was very seldom that an existing solution
severed all my needs. Either not all requirements were
complied from the beginning
On 2017-05-15 11:59, James Richters wrote:
When I try to install 64 bit windows
version, I don't have this anymore
The Free Pascal project, for some weird reason, only ships a 64-bit
Windows cross-compiler. So you need both the 32-bit and 64-bit installs.
I don't know why they do this.
Simp
On 2017-05-15 11:51, James Richters wrote:
ication to be a 64bit
application. I have installed
'fpc-3.0.2.i386-win32.cross.x86_64-win64.exe' but I don't see any
fp.exe to run so I'm a bit lost with it.
Yes, I don't know why the Free Pascal team doesn't make official 64-bit
versions of FPC. I
Hi list.
I am looking for a class/list/map... that allows me to store string data
paired with an object.
However i would like to be able to do a partial text search on the
strings, prefeably with a result as a list of matching string/object
pairs but getting an index to the first matching pa
I am wondering if it's possible to compile my windows console app
specifically for 64bit machines running windows? I am currently compiling
it as a win32 console application because I cannot figure out how to compile
it as a 64bit program. I normally run bin\i386-win32\FP.EXE and use the
text bas
Thanks for the help and advice with this. I've been trying to figure out how a
lot of this works. Here's where I'm at
>You could try the units ptcgraph or sdlgraph as alternatives (both are part of
>FPC).
These seemed like the easiest things to start with.
ptcgraph: I'm having 2 issues t
On Mon, 15 May 2017, fredvs wrote:
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Ha, news, finally.
Huh, did you read my post ?
I did.
I responded to the statement that fpc libraries are big and "unusable".
It talk about smartlinking of libraries that does not work.
Michael Van Canneyt wrote
> On Mon, 15 May 2017, fredvs wrote:
>
>> fredvs wrote
>>> Hello.
>>>
>>> Sorry to come back with this story but there are (good) news.
>>>
>>> Using
>> *
>>> --gc-sections
>> *
>>> makes the library smartlinked.
>>>
>>> So the question is:
>>>
>>> Why FPC does not
On Mon, 15 May 2017, fredvs wrote:
fredvs wrote
Hello.
Sorry to come back with this story but there are (good) news.
Using
*
--gc-sections
*
makes the library smartlinked.
So the question is:
Why FPC does not provide
*
--gc-sections
*
to the linker with the -XX paramer for lib
fredvs wrote
> Hello.
>
> Sorry to come back with this story but there are (good) news.
>
> Using
*
> --gc-sections
*
> makes the library smartlinked.
>
> So the question is:
>
> Why FPC does not provide
*
> --gc-sections
*
> to the linker with the -XX paramer for libraries ? (Bug ?)
>
> F
44 matches
Mail list logo