fpc-pascal · 2011-05
- TProcess InheritHandles has no effect1
According to the documentation InheritHandles only works in windows. However the windows implementation of TProcess.Execute has in the first line FInheritHandles:=true…
- TimSort20
Is there already a TimSort implementation in fpc? http://en.wikipedia.org/wiki/Timsort Mattias
- Readline substitute8
Hi! I want to equip a program with a command line and therefore want a powerful and user-friendly input prompt. Currently I use ReadLn(CmdLine); which is not as…
- JSON - RTTI streaming.12
For those of you that need JSON support: I have committed support for streaming published properties (properties for which RTTI is generated) from objects to JSON and…
- Chrome Browser apps with Native Code2
Do you think FreePascal can be used to compile applications for google chrome browser, such as the following link? http://code.google.com/chrome/nativeclient/ thanks…
- support for using an activex33
Hi List! I looked around the archives and forum, but I didn't come up with a clear answer. Besides, I'm not expert of the win32 and COM world. If I am given an ActiveX,…
- why is FPImage dog slow reading jpeg's?1
I wrote this console utility app in 5 minutes. All it is supposed to do, is iterate over *.jpg images (65 at the moment) in a folder (no recursive searches), and…
- Request for implementing issue 0017664 - fix included in mantis0
A gentle request - if people are looking at the issue already, consider this message as not sent. I've looked at issue 0017664 (fbembed.dll library not loaded as part of…
- Why is FPImage dog slow in reading jpeg's?14
I wrote this console utility app in 5 minutes. All it is supposed to do, is iterate over *.jpg images (65 at the moment) in a folder (no recursive searches), and…
- Missini graph unit4
Hi, I downloaded fpc-2.4.4.x86_64-linux.tar and installed OK. But the compiler cannot find the Graph unit. Apparently the graph.ppu file is missing. Where can I find it,…
- English lazarus book available.0
For the interested: I got news from the editor (chairman of the Dutch Pascal User Group) that the Lazarus book "Lazarus Complete Guide" is now available for sale. It can…
- Using emulation for native compilation0
Over the last few days I've put a lot of time into setting up up a fairly fast system with various CPU emulators- mostly Qemu but also a couple of others- and getting…
- read lines at end of file9
Need to read the last 4 lines (txt) of a very large log file 100M bytes, 100k lines or more lots of times - of course I can read through the file in the normal way but…
- fillword with multidimensional dynamic array.4
Hello How do I fill a multidimensional dynamic array, with fillWord? Var a:array of array of word; m,n:byte; i,j:byte; Begin m:=3; //array 3 x 3 n:=3; SetLength(a,m,n);…
- Apache module with fpc 2.4.x on Apache 2.2.x (64bit)6
Hello, all I'm writing apache module with fpc. When I compile my program on fpc 2.4.4, Apache terminate immediately. But on fpc 2.2.4, Apache and my module will work…
- How to get string with target OS and CPU?5
I need friendly name of OS and processor need this for "user-agent" header in http client. Some kind of "Linux x86_64 Ubuntu/11.04" ("Linux x86_64" should be enough).…
- Free Pascal 2.4.4 available4
The FPC 2.4.4 release is available from our ftp-servers and sourceforge. This is probably the final release created from the fixes_2_4 branch. Changes that may break…
- Re: PChar resize (Anton Shepelev)8
Thanks Mattias and Anton. Ie: When you assign a constant string to a PChar then assigns the address of the string constant. I believed that be created a PChar in the…
- FillWord with dynamics array.2
How fill of the same value a dynamic array? {$codepage utf8} Var A,B:array of word; i:integer; Begin SetLength(A,10); SetLength(B,10); FillWord(A[0],2*10,0); //when…
- OPC-DA support1
I don't know if here is the right place to request this, but... sorry if I'm wrong. I'm requesting help to support OPC-DA on PascalSCADA. As the target of PascalSCADA is…
- Examine methods with TypeInfo2
I know how to find published properties with TypeInfo, but how can I find methods? type MyClass = class(TObject) published function Function1(APara: String): LongInt;…
- Suffix Trie implementation, please review2
I've written a unit containing suffix trie implementation. It could be used for: fast string existence search (could be extended with other information if required),…
- Re: fpc-pascal Digest, Vol 83, Issue 520
Yes, getmem return NIL, when no more memory is available. SetLength, no return NIL, It is work with Exceptions. My intention was whether it could be done without using…
- fpWeb and html and uri escaping/unescaping elements12
Does fpWeb have any method/function that escape and un-escape html and URI elements ? Ido LINESIP - Opening the source for communication http://www.linesip.com…
- Re: getmem2
Yes something like that. I'm trying to emulate something like this: VarLCad = array[0..2] of ansistring; Begin LCad[0]:='01234'; LCad[1]:='56789';…
- Record size2
I have a data record ("sVar_typ") compiled with the 2.2.5 arm compiler. It has the size of 32728 byte. Now I try to compile with the 2.4.5 arm compiler it has the size…
- Lazarus win32 Break Points2
Quick Question , i am running a copy of lazarus twice from the same directory on 2 different projects.if i set a break point in one project should that breakpoint show…
- Free Pascal 2.4.4 available (fixed links)0
Something went wrong with the download links; the links were still pointing towards the beta. Here are the correct links: ftp://193.224.143.39/pub/fpc/dist/2.4.4/ and…
- Easy install of FPC and Lazarus16
For userfriendly reasons I suggest one directory with all necessary Files in a zip File. Advantages: Easy install, just unzip in a new directory. Everything is separate…
- fpWeb and template class1
fpWeb used to have Template class part of the TFPWebModule module. It seems that it was removed from there and no longer exists. Where was it moved to ? Or does the…
- FPC 2.4.2 source33
Hi Maybe I am stupid but I don't know how to download FPC 2.4.2 sources, without using SVN repository. I am testing on Windows and the default installation package does…
- Testing recent Lazarus with fpc 2.5.1 on x86_64-linux / create fpc-src.rpm2
I wanted to test Lazarus (recent snapshot) with fpc 2.5.1 on x86_64-linux. Therefore I need to build fpc-XXX.rpm and fpc-src-XXX.rpm. I figured out how to bild…
- PowerPC Linux and endian modes3
Greetings! Wikipedia (http://en.wikipedia.org/wiki/PowerPC#Endian_modes) states: "Most PowerPC chips switch endianness via a bit in the MSR (Machine State Register),…
- better understanding of fpdoc2
There are several things that I do not understand in fpDoc (maybe because of the usage by Lazarus that is missing few features): 1. Let's say I have a class, enum,…
- Redirecting input to a child process36
I have been experimenting with redirection of stan- dard I/O of child processes using FreePascal 2.4.2 on Windows. I have succeeded in capturing standard input and…
- 64 bit ?1
I have a desktop with a 64bit AMD x4 Phenom processor. I have noticed that FreePascal programs perform worse on this computer then they do on my 32 bit laptop. Integer…
- URIParser18
I have tried to use the URIParser on a structure like so: ;name=test?header=something That's the most complicated SIP URI according to the RFC (3261). But the record was…
- DateTimeToFileDate2
If I do this on a Linux machine (Free Pascal Compiler version 2.4.2 [2010/11/08] for i386) WriteLn(DateTimeToFileDate(Now));…
- ERROR compile revision 17494 /fixes_2_44
I updated my FPC to revision 17494, a couple minutes ago. In attachment there is a log of erros. Marcos Douglas
- PDFlib TET - convert using h2pas14
I would like to use the TET[1] in FPC on Windows. There are 2 options: 1- Translate C header to use libtet.dll (I prefer); 2- Use the COM object (TET_com.dll); I can use…
- Fatal error "Executable image size is too big for wince target"7
Hi *.*. We use a recent Lazarus snapshot (Lazarus 0.9.31 r30406 FPC 2.4.3 i386-win32-win32/win64) for developing applications for a Windows Embedded CE 6.0. After…
- Minimal Sylpheed plugin in FreePascal4
I have tried to create a Windows plugin dll for the Sylpheed e-mail client in FreePascal but couldn't get past a strange side effect: the mere fact of the plugin being…
- (no subject)0
http://sample-resumes-plus.com/wp-content/plugins/akismet/site.html
- FPC_PASCAL1
I have a fairly large Pascal program written about 15 years ago. It uses Tools Plus. It is a croquet game. Can I make use of FPC and how do I get it.
- accessing files from a function8
I'd like to put the assign and reset of a text file into a function, and then use the function to return a line from the file, without needing to close the file then re…
- Oberon Day 2011, N. Wirt speaking!3
next week, Friday, 27th May 2011 there will be the Oberon day at the ETH in Zürich Also Niklaus Wirth is speaking so i guess its also interesting here in the freePascal…
- generics question4
I try this: type TTestGen<T> = class constructor Create(); class function Test(val: T): string; inline; end; function Blah(const val: Integer): string; inline; overload;…
- Macro Processing1
Yesterday I posted an Grammar for a small macro preprocessor with use of parameters to the developer mailing list. It shows up that is difficult to work out that it…
- Register variables slowing down floating point operations11
Hello. I have written the following program: program a; {$mode objfpc} uses SysUtils; var i: integer; vd: double; t: TDateTime; max: int64;// = 100000000; begin t := Now;
- Debugging Win322
Since upgrading to the lazarus 0.9.31 v30288 x64 ( and win32) i've noticed the debugging is painfully slow , what use to take only a few seconds under 0.9.28 now seems…
