fpc-pascal · 2012-01
- fpGUI Toolkit v0.8 release for FPC 2.4.4 & 2.6.0-rc7
I'm glad to announce the next release of fpGUI Toolkit. fpGUI v0.8 ---------- An archived source download and pre-built binaries for DocView (fpGUI's Documentation…
- Help!!16
Right now i've been trying to build a mysql server using pascal, but i don't know where to begin. Can anyone help me? View this message in context:…
- libQT4Pas - Why it is needed?29
I am wondering. If I build application for linux using gtk2 widgetset for GNOME (or XFCE etc.) and send this program to my friend, then he can run it without any…
- add a string to existed open array2
I wish to create something like this: function foo(a : String; b : array of const) : string; begin Result := bar([a] + b); end; But this works only on Sets. The thing…
- I found FPC v0.2 source code :-)24
I stumbled upon the following. No idea where this FTP server lives, but the link came from the Free Pascal documentation downloads page. Anyway, while browsing there, I…
- Poor man's resource code available and CheckRide update: now with editor0
(Cross posted to Lazarus+FPC lists) Thanks to UPayload (http://www.delphidabbler.com/articles?article=7) and some help on the forum, I could implement an alternative way…
- Options -WG -WC -WF -WT5
According to fpc -h (2.7.1): Option -WG creates graphic type application (EMX, OS/2, Windows). Option -WC creates console type application (EMX, OS/2, Windows). fpc -h…
- FCL-STL's TVector<T> and removing of elements4
Hello together! Can it be that the TVector<T> type of FCL-STL has some problems when deleting elements? At least the following code generates an exception when running…
- Unclear documentation of Trim(), TrimLeft(), TrimRight() functions0
There it reads: "Trim strips blank characters (spaces) at the beginning and end of S and returns the resulting string. Only #32 characters are stripped.". But from…
- Class helpers and properties4
If a class has a public reader property like this: TLexemeList= class(TObject) protected fValue: TPrimaevalValue; public property Value: TPrimaevalValue read fValue; ...…
- Request for Win32 bootstrap compiler on ftp.freepascal.org/11
On ftp://ftp.freepascal.org/pub/fpc/dist/2.6.0/bootstrap/ there are a lot of bootstrap compilers, but I miss a x86 Windows bootstrap compiler. Would it be possible to…
- fpdoc links and short description3
I havent seen an answer for this in the other thread and it is getting too big. So, in fpdoc if we make a link like this: <element name="TShellTreeView.OnMouseDown"…
- memory corruption2
While testing my following code: https://github.com/ik5/redis_client.fpc/blob/master/tests/test_parser.lpr#L166 When I'm executing the code on the second item (that is…
- (no subject)0
http://prolumia.eu/mor/184042.html
- Access violation that I do not understand while creating a class instance6
In the following code ( https://github.com/ik5/redit_client.fpc/blob/master/tests/test_parser.lpr#L55), when I point, I have access violation when trying to create…
- Redis client for object Pascal3
I've started to work on protocol implementation for Redis. It seems that there isn't even one implementation for it for Pascal (including Delphi). At the moment it is…
- understanding heaptrc and collection init()0
i'm trying to understand what heaptrc is telling me... i have two collections that are set up, filled, used and disposed of... at the end of the program run, heaptrc…
- IPTables log parser?4
I noticed ik has started a project to manipulate Linux iptables firewall rules... which got me thinking. Is there any FreePascal/Delphi code lying around to parse…
- detecting if a socket is open in synapse2
How can I detect if a tcp socket is open or not in synapse ? Ido
- High precision timing2
I would like to know if is there any way to get the time in a high precision, something like nannoseconds. I`m trying to write a speed profilling tool. Bizz
- procedure variable and inc/dec procedures2
I'm trying to do the following: --------- var a : procedure(var x : TOrdinal); b : procedure(var x : integer); begin a := @inc; b := @dec; end. ----------- I simplified…
- detect the version of fpc that a feature added to it3
I was looking to understand in what version of FPC ($IF defined ... } was added, and realized that it is not very simple to detect such information. So beside this…
- How to get path to current theme icons on linux?6
I need to load icon associated by file extension. On windows I done this by WinAPI function ExtractAssociatedIcon(). On linux is not so easy, because we have GNOME, KDE,…
- Best practice for getting heap usage summary3
What is considered "best practice" for getting a summary of heap usage, in a single-threaded program which doesn't need to be Delphi-compatible? In Delphi programs that…
- Converting header with va_list3
I need to convert this: android]$ gedit ~/Programas/android-ndk-r5/platforms/android-8/arch-arm/usr/include/jni.h void (*CallStaticVoidMethodV)(JNIEnv*, jclass,…
- Postscriptcanvas13
Is it possible to use the PostScriptCanvas unit in a non-gui program? Dave.
- MySQL56
I tried connecting to a mysql 5.5 database and used the fpc unit mysql51. There are only examples for 3 and 4, so I started with testdb4.pp and adapted it. It turned out…
- Would someone be willing to build the skeleton of a simple application for me?1
I am not really sure if this type of message is appreciated on this list or not. I tried looking it up on the Lazarus-site, but didn't find anything on it. My apologies…
- convert "epoch" to UTC15
i'm needing to convert a "UTC epoch" date to a "standard time string"... by that, i mean that i want to get something like "2011-01-13 22:24:04" out of the "epoch"…
- tthread.waitfor with timeout1
hi ! while working on my pascal actor model concurrency framework i hit a problem with the way tthread is currently implemented. i need to quit all actors (threads)…
- convert "epoch" to UTC (waldo kitty)1
12 == 2012 013 == 13th day of the year .9338171 * 24 == 22.4116104 hours .4114104 * 60 == 24.696624 minutes The decimal portion of hours doesn't match the one multiplied…
- Advanced Records - Why not available by default?19
Any special reason to Advanced Records be available only in Delphi Mode ?
- installing FPC 2.6.0 on OS/213
i've a problem with os2260full... i bit the bullet and wiped my old os2 2.4.0(?? or 2.4.2???) install... now none of my projects compile... they complain about "Error:…
- sorting and merging array of records33
i have a li'l project i've been wanting to do for a really long time... as i'm trying to do more and more with FPC, i've experimented a bit and found that i should be…
- MSEide+MSEgui 2.8 for FPC 2.6.03
MSEide+MSEgui 2.8 for FPC 2.6.0 has been released: http://sourceforge.net/projects/mseide-msegui/ Martin
- Installing on mac2
I have done a sudo make clean all. The compiler and units are built correctly and installed in /usr/local/lib/fpc/2.7.1. The tools seems to be placed under…
- Redis client for FPC4
Does anyone know of a Redis client for FPC (and open source) ? Another question: If I need to implement it, how would you do it regarding dataset ? I'm not sure that it…
- Command line FPC/Lazarus SVN downloader/installer0
I got very tired of writing Windows and Linux batch files, so I've written an FPC/Lazarus installer that allows you to keep a copy of FPC and Lazarus that it updates…
- OT: Delphi HLPlib is discontinued3
I've read today a thread about the subject's project<http://code.google.com/p/delphilhlplib/%20> . It is a free software project that we also be interested in. So if any…
- FPCUnit without Lazarus15
I have really appreciated the organized tests that FPCUnit allows. It's really a very good feature, but for me, it hasn't been to use it. For some while, I have…
- format string - number padding3
I'm trying to use the Format function to pad a number like so: 01 where the original value is "$1". I tried to do the following: writeln(Format('%02X', [$1]));…
- Some questions regarding jvmbackend port6
I finally managed to compile the latest revision of jvmbackend port, however I've got some problems during compilation and execution: 1. The wiki instruction The first…
- Supported FPC revision to compile jvmbackend port2
I've just updated my both normal fpc and jvmbackend port to revision 19992. However, the resulting compiler from normal fpc cannot be used to compile the jvmbackend…
- ANN: heLib/heContnrs stable version for FPC 2.6.00
The previously released (RC) version 0.4 was found to be working w/o known bugs with the latest stable FPC 2.6.0 (svn revison 19845). Now virtually (re)releasing the…
- Group arguments from overloaded functions in fpdoc11
When you have overloaded functions, fpdoc will group them on one page. The arguments however are listed in two separate arguments sections. It would be nice to have the…
- Latest bootstrap compilers?0
I looked at ftp://ftp.freepascal.org/pub/fpc/dist/2.6.0/bootstrap/ and saw there is e.g. no i386-win32-ppc386.zip Is this intentional? The reason I'm asking: I'm writing…
- Generic type parameter variable initialization7
Hello everybody. I am new to FPC/Lazarus and I am trying to port some Delphi XE code that uses the units Generics.Defaults and Generics.Collections so I have to write…
- Installing FPC 2.5.1 in Mac OS X12
I am trying to install FPC 2.5.1 in Mac OS X. So I tryed this steps: 1> I have FPC 2.4.2 working fine 2> cd fpctrunk make clean make all sudo make install 3> In Lazarus…
- FPDoc visibility sections2
Found some strange behaviour imho. For some reason there are extra visibility sections inserted in my documentation, instead of following the source. I expected fpdoc to…
- FPC JVM checkout problem10
I'm checking out FPC JVM branch, however, in the middle of the process, it fails with "Decompression of svndiff data failed". The error keeps occuring, so I guess it's…
