Hi, I made a generic threadlist for the unit fgl. I'm wondering what is
the opinion on stuff like that. Specifically it's T: TObject and not for
"pointers." I had made both TFPGThreadList and TFPGObjectThreadList and
I thought afterwards only TFPGThreadList is needed and it should hold
On 12/27/22 3:39 AM, Michael Van Canneyt via fpc-pascal wrote:
Anyway: I have applied the patch, and added your example with some minor
modifications. Thank you for both !
Michael.
___
Awesome thanks very much!
Andrew
On 12/26/22 8:48 AM, Michael Van Canneyt via fpc-pascal wrote:
Please make a version of your program that does not use the LCL.
Then I'll test that too.
2 reasons for this request: - I don't have a working version of
Lazarus with FPC trunk.
- I want to exclude the problems of dealing with
On 12/26/22 8:02 AM, Michael Van Canneyt via fpc-pascal wrote:
I fixed the -p/--port option.
I could reproduce the broken behaviour in the fcl-web example.
As I thought, a change in the fcl-net ssockets unit is the cause of the
behaviour. I fixed it.
Please check if your example now also
On 12/25/22 6:06 PM, Michael Van Canneyt via fpc-pascal wrote:
Does the sample chat client/program work for you ?
See below
When I have a moment, I'll look at your test program.
Thank you
Michael.
I'm not sure, maybe. It seems like the clients are not receiving
messages. Also,
as a client. I may not have understood that fully.
Regards,
Andrew Haines
<>
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On 12/23/22 5:24 AM, Ondrej Pokorny via fpc-pascal wrote:
This may be simpler:
[TEnumAttr(['YES', 'NO', 'COULD_BE'])]
TMyEnum = (meYes, meNo, meCouldBe);
TEnumAttr = class(TCustomAttribute)
protected
FValues: TStringArray;
FTypeName: String;
public
class function
;
FTypeName: String;
public
class function FromType(ATypeInfo: PTypeInfo): TEnumAttr;
constructor Create(Val1: String);
constructor Create(Val1, Val2: String);
etc
Maybe this can help someone else with a similar use case.
Regards,
Andrew Haines
On 12/22/22 8:40 PM, Andrew Haines via
Hi what I want to do is similar to this question here:
https://en.delphipraxis.net/topic/423-rtti-determine-record-helper-type-for-a-base-type/
I am going to create multiple type helpers for enums and I would like to
look up the helper and use common methods AsString AsOrdinal to get/set
the
On 08/12/2018 07:42 AM, Benito van der Zander wrote:
But this does not work, because fpc thinks jclass and jobject are the
same type, so there is only one type helper for both of the types allowed.
Because it is declared as
type
jobject=pointer;
jclass=jobject;
What can we do
.
Hello,
Will it be re-enabled ?
If you only want to see commits in a feed you can use this link to the
unofficial github mirror:
https://github.com/graemeg/freepascal/commits/master.atom
It's synced every 15 minutes.
Regards,
Andrew Haines
On 04/16/2017 10:58 AM, fredvs wrote:
K, the function seems to work because the result = 0 (no error).
But how to retrieve the data icy_meta (PPChar) ?
var
theicytag : PPChar;
resu : integer;
...
resu := mpg123_icy(ahandle, theicytag);
if resu = 0 then writeln(theicytag^); --> raise exception
the Speechlib_tlb unit. But its been a long time now. I can email you
directly the file if you want.
Regards,
Andrew Haines
uses
OleServer, ComObj, Speechlib_tlb, Windows, Variants, ActiveX, ...
var
SpeechVoice: ISpeechVoice;
Voice: TSpVoice;
Voices: ISpeechObjectTokens;
ToSpeak
On 02/01/2017 08:52 AM, fredvs wrote:
Hello.
Some more explanation.
With that code, only +- 10 loops are working, after, no more Ouframes... why
?
Where is it stopping? It may be that you are asking for more bytes than
are available and it is blocking waiting for more data. Or the opposite
it to github if you want to check it
out. It uses a list of IMyInterface.
https://github.com/andrewd207/interfacetest
Or as a zip:
https://github.com/andrewd207/interfacetest/archive/master.zip
Regards,
Andrew Haines
___
fpc-pascal maillist - fpc
units for different
image formats.
FPReadPNG, FPWritePNG
FPReadBMP, FPWriteBMP etc.
Regards,
Andrew Haines
program imageresize;
{$mode objfpc}
uses
Classes, FPimage, FPImgCanv, FPCanvas, FPReadPNG, FPWritePNG;
function ResizeImage(ASrcImage: TFPCustomImage; ANewWidth, ANewHeight:
Integer
On 09/05/2016 07:27 PM, fredvs wrote:
Hello.
Is it possible to sent new-other parameters to the linker ?
Without the use of *-k*, fpc sent this to the linker:
[5.227] (9017) Using util /usr/bin/ld
[5.227] Executing "/usr/bin/ld" with command line "-b elf64-x86-64 -m
elf_x86_64
On 12/11/2015 09:50 AM, Anthony Walter wrote:
I am having a problem with fpc picking up linking directories on my
Raspberry Pi.
I have a this lib:
/opt/vc/lib/libGLESv2.so
I get this linker error during compile:
/usr/lib/ld: cannot lind -lGLESv2
But when I compile adding -Fl/opt/vc/lib
On 10/25/2015 03:25 PM, Mark Morgan Lloyd wrote:
Mark Morgan Lloyd wrote:
Andrew Haines wrote:
On 10/22/2015 08:08 PM, Mark Morgan Lloyd wrote:
If a program is linked with GNU ld using the --build-id option, how
can it retrieve the value at runtime?
I've never done it but maybe a place
the
.note.gnu.build-id section.
Regards,
Andrew Haines
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
gt;
>Michael
>
>Am 12.10.15 um 03:31 schrieb Andrew Haines:
>> Hi,
>>
>> I've seen on the list that the STM32F429 has some support in fpc now!
>>
>> A couple of years ago I got a STM32F407 discovery board. Is the code
>>
Hi,
I've seen on the list that the STM32F429 has some support in fpc now!
A couple of years ago I got a STM32F407 discovery board. Is the code for
*29 compatible with *07?
Regards,
Andrew Haines
___
fpc-pascal maillist - fpc-pascal
On 03/25/2015 08:23 AM, fredvs wrote:
Hello.
Sorry to sorry to bother you with that file descriptors again... ;-(
There are some answers there on mpg123 forum.
They explain that simple stdin/stdout file descriptors would work.
Of course all what they explained is in C ;-(
OK, but how can i
Hi,
Do the new class helpers support objects?
If this is not implemented how much work (1-10) is it to do?
Thanks,
Andrew
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Check for writeln's in the htmlthread unit you added.
On March 21, 2015 6:23:44 PM EDT, fredvs fi...@hotmail.com wrote:
What do you do with the inHandle ?
Michael.
It is used by mp123 mp3-decoder library.
=function mpg123_open_fd(mph: Tmpg123_handle; fd: integer);
fp (file descriptor) :=
On 03/19/2015 09:26 AM, fredvs wrote:
PS:Andrew has done a excellent work with his PulseAudio wrapper =
https://github.com/andrewd207/fpc-pulseaudio
Only the pulse simple bindings are complete. I'm ~70% done the full
pulse bindings.
Andrew
___
-delphi.zip)
has a permissive license, while the file in the FPC source tree has the GPL
pasted at the top. I also see that Andrew Haines is listed as the copyright
holder in the FPC source, while the original file listed Jazarsoft. I know
Andrew developed the chm support in FPC/Lazarus
/lhelp and wasn't part of the original ipro component
so it's mostly separated from ipro.
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/components/turbopower_ipro/ipcss.inc?view=markuprevision=44873root=lazarus
Regards,
Andrew Haines
___
fpc-pascal
:= GetHTMLValues('sel_x');
R
There is the unit fasthtmlparser included with fpc in the packages/chm
folder.
It is pretty basic and just has callbacks for tags and text. I don't
think it's smart enough to tell you of the
name=sel_x part of your tag. Maybe it can be improved.
Regards,
Andrew Haines
Hey! http://netchannel.hu/-hi.friend?odyhunjta=4841446fitymema=653709
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Hey! http://boerbalink.nl/-hi.friend?kusjfib=3171095ravarydo=969545
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
): SLresult; cdecl;
function GetDuration(msec: PSLmillisecond): SLresult; cdecl;
..
end;
So now two questions:
Is corba the interface type I need?
Am I wrong to exclude the self parameter from the interface translation?
Thanks,
Andrew Haines
___
fpc
On 01/28/2014 12:26 PM, Jonas Maebe wrote:
On 28 Jan 2014, at 18:13, Andrew Haines wrote:
I want to use c interfaces exposed as structs in fpc as interfaces. In
particular I'm converting the OpenSLES header file to fpc.
If they are exposed as structs, you should translate them
On 04/22/13 18:39, Andrew Haines wrote:
On 04/22/13 05:22, leledumbo wrote:
Just create jar file the usual way. However, you'll need to give
FPC-JVM RTL
classes as well (those in org.freepascal namespace)
Alright I've figured it out:
jar cfm trange1.jar manifest.txt trange1.class -C
file. How? My google-foo has failed me.
Thanks,
Andrew Haines
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On 08/27/12 00:27, Vincent Snijders wrote:
2012/8/27 Andrew Haines andrewd...@aol.com:
Hi,
Search seems to be broken for me on the wiki
What was your search word?
Vincent
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http
for encoding UTF8: 0xc080
HINT: This error can also happen if the byte sequence does not match
the encoding expected by the server, which is controlled by
client_encoding.
There's a bunch more raw html stuff as well.
Regards,
Andrew Haines
___
fpc-pascal
Hi, is it possible to have a virtual class variable? I want to have a
pointer available per class that can be a different value.
Something like this:
TA = class
class var Foo: TObject; virtual;
end;
TB = class(TA)
class var Foo: TSpecialObject; override;
end;
I have in
My current idea for a solution is here:
http://pastebin.com/P3JsDQ03
Can anyone think of something with less code? I guess I could save a
little if I skip the property and directly use GetVMT and SetVMT.
Regards,
Andrew
___
fpc-pascal maillist -
On 08/06/12 23:02, Paul Ishenin wrote:
Class variable is stored the same way as a regular variable and has the
only difference is that it can be accessible with the class name prefix.
The thing you need requires different implementation - something like
storing a virtual class variable in
Ahhh ok I understand now. , Thank you.
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
Paul Ishenin paul.ishe...@gmail.com wrote:
07.08.12, 11:24, Andrew Haines wrote:
What is the current implementation?
I would guess that class vars are stored in the vmt already
On 04/15/12 18:38, Giuliano Colla wrote:
I'm dealing with a large number of data coming from an external device.
They are big-endian 16 bits signed numbers, which must be converted to
integer and to real to perform calculations.
Besides the obvious solutions of treating them as isolated
On 02/23/12 16:23, Mattias Gaertner wrote:
Now it stops earlier on my files:
Exception at 00473837: ERangeError:
Range check error.
Backtrace does not help much:
#0 0x004120d0 in fpc_raiseexception ()
#1 0x0045fc38 in
On 02/22/12 18:01, Mattias Gaertner wrote:
On Wed, 22 Feb 2012 12:06:08 -0500
I tried with only 500 files and it worked. That means I get a help and
it finds files. But choosing a page just shows black. And after that
any page is black.
Note: If I don't use the search but the Index, then I
On 02/22/12 18:01, Mattias Gaertner wrote:
And I get an exception in:
#5 0x005552aa in CHILDISFULL (this=0x415906,
AWORD=0x409d0c
\311\303f\220H\203\354(H\211\\$\bL\211d$\020L\211l$\030L\211t$
I\211\376I\211\365f\211\323L\211\350H\203, incomplete sequence \370,
On 02/22/12 18:01, Mattias Gaertner wrote:
Yes, this helped.
Now the files are done in under a minute and with only 500MB. But then
mem consumption goes up again. Then it goes down to 5GB and seems to
be stuck in an endless loop. I cancelled it.
I tried with only 500 files and it
On 02/21/2012 03:18 AM, Mattias Gaertner wrote:
On Mon, 20 Feb 2012 23:59:18 -0500
Andrew Hainesandrewd...@aol.com wrote:
30% bigger than the size of the uncompressed html files?!
Yes.
does lazarus/docs/html/build_lcl_docs --outfmt chm work for you?
I get a 8mb lcl.chm file. if --outfmt
On 02/21/12 17:40, Mattias Gaertner wrote:
On Tue, 21 Feb 2012 16:08:43 +0100 (CET)
Mattias Gaertner nc-gaert...@netcologne.de wrote:
Andrew Haines andrewd...@aol.com hat am 21. Februar 2012 um 15:24
geschrieben:
[...]
Your chm file should not be bigger than the the uncompressed files
On 02/20/12 18:00, Mattias Gaertner wrote:
Hi,
I'm using TChmWriter to pack some html files into a chm file.
The index works. I don't have a TOC.
Now I want a full text search.
I set Writer.FullTextSearch to true, it takes a long time to
process and the resulting chm is 30% bigger than
On 02/20/12 18:00, Mattias Gaertner wrote:
Hi,
I'm using TChmWriter to pack some html files into a chm file.
The index works. I don't have a TOC.
Now I want a full text search.
I set Writer.FullTextSearch to true, it takes a long time to
process and the resulting chm is 30% bigger than
On 02/20/12 20:51, Andrew Haines wrote:
I added an lcl program to the ccr in applications/chmmaker that I wrote
Nevermind I had forgotten it's in lazarus/tools anyway.
:)
Andrew
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http
and the toc, index and search
were all working.
Can you PM me the chm(s) that are not working for you? Also what version
of fpc are you using for which platform?
Thanks,
Andrew Haines
P.S. Sorry for the storm of emails
example.chm
Description: application/chm
Hi, can freepascal compile programs for AIX PowerPc? I see hints of AIX
when I search google but nothing that directly says it will work.
Thanks
Andrew
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
On 01/30/12 02:19, Graeme Geldenhuys wrote:
On 29 January 2012 16:31, Jonas Maebe wrote:
GTK offers a plain C interface. QT only offers a C++ interface. FPC does not
(fully) support directly calling external C++ libraries. LibQT4Pas offers a
plain C interface to QT for use by FPC.
Can
On 10/20/11 17:43, Andrew Pennebaker wrote:
It's inconsistent and ripe for bugs.
Cheers,
Andrew Pennebaker
www.yellosoft.us http://www.yellosoft.us
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
On 09/08/11 19:40, brian wrote:
What are the commands?
mpg321 -q -w tempfile.wav inputfile.mp3
oggenc -Q --output=outputfile.ogg tempfile.wav
It makes no difference whether or not I use a full pathname for mpg321
and oggenc, and all the other files are in the current working
On 09/08/11 19:52, Andrew Haines wrote:
You can try something like
oggenc -Q '--output=outputfile.ogg' tempfile.wav
to see if that works or if you use TProcess directly I understand that
options have been added recently to overcome the problem quotes can have
on the arguments.
or consider
Dispose(Obj) ?
Maybe Dispose can call a destructor and that is the difference between
Dispose and FreeMem?
Thanks,
Andrew Haines
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On 08/26/11 17:14, Jonas Maebe wrote:
On 26 Aug 2011, at 22:39, Andrew Haines wrote:
Maybe Dispose can call a destructor and that is the difference between
Dispose and FreeMem?
The other difference is that dispose() will finalize any reference counted
fields, while freemem won't
On 03/09/11 14:18, Thomas Schatzl wrote:
On Wed, 09 Mar 2011 13:23:55 -0500, Andrew Haines wrote:
On 03/09/11 12:26, Thomas Schatzl wrote:
FYL2X calculates the log to the base 2 of tmp, not log to the base e of
tmp? Just a guess.
I originally used log2(Tmp) but switched to ln to check
On 03/08/11 19:58, Andrew Haines wrote:
Hi,
I'm trying to convert the following 32bit asm to pascal so it's
portable. Also to 64bit asm.
It's from ACS audio component suite.
What am I doing wrong?
For anyone who's interested I fixed the 64bit assembly version which is
good enough
On 03/09/11 12:26, Thomas Schatzl wrote:
Hi,
On Wed, 09 Mar 2011 11:58:08 -0500, Andrew Haines wrote:
if Tmp Im then
begin
//Tmp := ln(Tmp)*LogBase+Shift; // same as the following asm
proc?
asm
FLD LogBase;
FLD Tmp;
FYL2X
Hi,
I'm trying to convert the following 32bit asm to pascal so it's
portable. Also to 64bit asm.
It's from ACS audio component suite.
What am I doing wrong?
I tested my Pascal code with linux 32bit but the output differs from the
32bit asm. In 64bit linux it differs further but this could be
it would
especially happen when a character alone was accessed i.e. PChar(Foo)[x].
It could be the problem.
Regards,
Andrew Haines
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
TrampolineManager.AllocateBlock;
Result := GenerateCode(args);
end;
end;
end;
Hope this helps :)
Regards,
Andrew Haines
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
becomes do, something, cool ?
Regards,
Andrew Haines
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On 01/22/11 14:31, Peter Eric Williams wrote:
Hi pascal list,
Please excuse me asking such a basic question, but I'm new to this list.
I require the basic instructions for quick start with subversion for all
of the free pascal compiler using subversion.
I am using Windows 7 Ultimate and
On 01/14/11 14:38, Torsten Bonde Christiansen wrote:
Hi List.
Is it possible to jump a couple of levels in the inherited hierarchy
when calling inherited on a method?
A small example of what i'm trying to achieve below (and don't mind the
incomplete TB class implementation).
Kind
On 01/15/11 10:30, Andrew Haines wrote:
On 01/14/11 14:38, Torsten Bonde Christiansen wrote:
Hi List.
Is it possible to jump a couple of levels in the inherited hierarchy
when calling inherited on a method?
I *think* I've done this before this way but test it to make sure it works
On 01/15/11 11:01, Andrew Haines wrote:
On 01/15/11 10:30, Andrew Haines wrote:
On 01/14/11 14:38, Torsten Bonde Christiansen wrote:
Hi List.
Is it possible to jump a couple of levels in the inherited hierarchy
when calling inherited on a method?
I *think* I've done this before this way
Hi,
Does anyone have the cddb unit that was on the wiki once upon a time?
http://wiki.lazarus.freepascal.org/CDDB
The link on that page is now dead.
Thanks,
Andrew
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
On 12/16/10 12:23, Felipe Monteiro de Carvalho wrote:
Hello,
It might be interesting to know that I managed to build a bridge which
exports the Java API and the Android API to Free Pascal. Check this
hello world code and screenshot:
On 12/17/10 15:46, Felipe Monteiro de Carvalho wrote:
I a
??
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On 12/07/10 18:23, Darius Blaszyk wrote:
Has anyone ever converted the SDL_opengl header to FPC? Couldn't find it
in the repository, but perhaps someone knows if it is part of another
project.
Is there one included with jedi sdl??
Regards,
Andrew Haines
Ivo Steinmann wrote:
Thanks, I thought so.
I am considering to write a C library (cdecl) to wrap the calls to the
C library(fastcall), but it doesn't feel right.
You can compile your c wrapper and link the .o file
Michael Van Canneyt wrote:
By that rationale: no beep() on linux.
Can beep be made a procvar?
Regards,
Andrew
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Graeme Geldenhuys wrote:
On Fri, Dec 5, 2008 at 5:55 PM, Felipe Monteiro de Carvalho
[EMAIL PROTECTED] wrote:
If you want to do some large work to increase the use of FPC I would
recommend creating a Window Manager instead, probably with fpgui.
How far did you guys get with the 'fpwm'
Felipe Monteiro de Carvalho wrote:
Hello,
Ok, so far we have a couple of unicode rtl proposals. Will FPC remain
compatible with code from Tiburon?
If yes, then we need a set of utf-16 RTL routines, even if another
solution is chosen. Yes, surely the utf-16 routines could just call
the
Hi, I tried to build a crosscompiler for palmos-arm and palmos-m68k but
both failed to compile.
Here's the results for m68k
make[5]: Entering directory `/home/andrew/programming/fpc/rtl/palmos'
/usr/bin/mkdir -p /home/andrew/programming/fpc/rtl/units/m68k-palmos
make[5]: *** No rule to make
Michael Van Canneyt wrote:
On Fri, 7 Dec 2007, Andrew Haines wrote:
PS you can have a peek at some chm's I made with fpdoc here:
http://hainesservice.com/andrew/chms/ they are all crosslinked.
With kchmviewer I get the following errors:
An error occurred while loading
ms-its:/home
Andrew Haines wrote:
Michael Van Canneyt wrote:
On Fri, 7 Dec 2007, Andrew Haines wrote:
PS you can have a peek at some chm's I made with fpdoc here:
http://hainesservice.com/andrew/chms/ they are all crosslinked.
With kchmviewer I get the following errors:
An error occurred while loading
Michael Van Canneyt wrote:
On Fri, 7 Dec 2007, Andrew Haines wrote:
Michael Van Canneyt wrote:
On Fri, 7 Dec 2007, Andrew Haines wrote:
PS you can have a peek at some chm's I made with fpdoc here:
http://hainesservice.com/andrew/chms/ they are all crosslinked.
With kchmviewer I get
Michael Van Canneyt wrote:
On Fri, 7 Dec 2007, Andrew Haines wrote:
PS you can have a peek at some chm's I made with fpdoc here:
http://hainesservice.com/andrew/chms/ they are all crosslinked.
With kchmviewer I get the following errors:
An error occurred while loading
ms-its:/home
Michael Van Canneyt wrote:
How do I view this on a Linux KDE system ?
you can use xchm or gnochm and I think there is a kde variant too,
though I don't know it's name.
Andrew
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
Mattias Gaertner wrote:
I downloaded them, installed kchmviewer 3.1 (ubuntu gutsy) and got:
An error occurred while loading
ms-its:/home/mattias/file:/home/mattias/pascal/docs/rtl.chm::/index.html:
Could not read file
ms-its:/home/mattias/file:/home/mattias/pascal/docs/rtl.chm::/index.html.
Mattias Gaertner wrote:
On Fri, 07 Dec 2007 09:43:57 -0500
Andrew Haines [EMAIL PROTECTED] wrote:
Michael Van Canneyt wrote:
On Fri, 7 Dec 2007, Andrew Haines wrote:
Michael Van Canneyt wrote:
On Fri, 7 Dec 2007, Andrew Haines wrote:
PS you can have a peek at some chm's I made
Andrew Haines wrote:
Attached is a patch to add chm output to fpdoc. I edited Makefile.fpc to
require the package chm. Also a patch for chmwriter.pas with some
minor changes that were needed.
Don't apply this patch. I have improved it a bit and now fpdoc (here)
can autogenerate a TOC. Later
Michael Van Canneyt wrote:
On Thu, 6 Dec 2007, Andrew Haines wrote:
Andrew Haines wrote:
Attached is a patch to add chm output to fpdoc. I edited Makefile.fpc to
require the package chm. Also a patch for chmwriter.pas with some
minor changes that were needed.
Don't apply this patch. I
, are the manuals written in rtf? why couldn't they be in a chm file?
Regards,
Andrew Haines
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Michael Van Canneyt wrote:
On Sun, 2 Dec 2007, Bisma Jayadi wrote:
Can we have fpc's doc in chm format? It's easier to navigate and search
compare to other formats. :)
The reference material: If you complete the chm backend of fpdoc, yes.
Attached is a patch to add chm output to fpdoc.
Tom wrote:
Hi,
I'm desperately trying to build a application mixing GTK with SDL for *Linux*.
I know that's not always recommended as it involves 2 listening loops but it
should work. I found some *C* snippets/applications (eg making window hacks)
but
I'm unable to translate them into
Tom York wrote:
I cannot seem to find a way to join the mailing list.
It's on this page:
http://www.lazarus.freepascal.org/modules.php?op=modloadname=StaticPagefile=indexsURL=maill
It's the link that says subscribe
mailto:[EMAIL PROTECTED]
Regards,
Andrew
L wrote:
Andrew Haines wrote:
Is there a unit somewhere that can extract links from html pages? I want
to be able to recursively add pages to a chm archive.
I created a program called GetLinks in a couple minutes:
http://opensvn.csie.org/pspcgi/general-utilities/parser/html/demo
Is there a unit somewhere that can extract links from html pages? I want
to be able to recursively add pages to a chm archive.
Thanks,
Andrew Haines
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman
Andrew Haines wrote:
Is there a unit somewhere that can extract links from html pages? I want
to be able to recursively add pages to a chm archive.
I think this from l505 will work:
http://lists.freepascal.org/lists/fpc-announce/2007-February/000536.html
but are there any units that come
Daniël Mantione wrote:
Op Tue, 8 May 2007, schreef Andrew Haines:
The reason for this is, I want to trick gtk into thinking that a TObject
is really a GObject. This is where the TypeID for GType's are stored. I
know this won't work for most GObject's, but I am only implementing
which is looked up by the TypeID, so that is all I need.
I've tested this and it is working. But what horrible things can happen?
Thanks,
Andrew Haines
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo
TOUZEAU DAVID wrote:
Dear
I need to detect if the program is executed as root privileges on Linux
system.
Did somebody had developped a such function ??
Best regards.
Well you can try GetEnv('USER') = 'root'; or GetEnv('UID') = '0'; but
there may be better ways to check this.
Andrew
;
for I := 0 to GetEnvironmentVariableCount-1 do begin
fName := GetEnvironmentString(I);
Result.Add(fName);
end;
end;
HTH
Andrew Haines
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo
Lance Boyle wrote:
if [ $BUILD_STYLE = Development ]; then
echo \Build Style = Development\
/usr/local/bin/ppcppc $INPUT_FILE_NAME -Ci -Co -g -gl -O1 -vr -
FEbuild/$PROJECT_NAME.build/$TARGET_NAME.build -o$PRODUCT_NAME
else
echo \Build Style = Deployment\
/usr/local/bin/ppcppc
100 matches
Mail list logo