Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal

fpc-pascal · 2012-01

  1. fpGUI Toolkit v0.8 release for FPC 2.4.4 & 2.6.0-rc

    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…

    Graeme Geldenhuys, Howard Page-Clark, Paul Breneman
    7
  2. Help!!

    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:…

    Malvin, Andreas Schneider, Felipe Monteiro de Carvalho
    16
  3. libQT4Pas - Why it is needed?

    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…

    Krzysztof, Andrew Haines, Den Jean
    29
  4. add a string to existed open array

    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…

    ik, Sven Barth
    2
  5. I found FPC v0.2 source code :-)

    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…

    Graeme Geldenhuys, Bart, Florian Klämpfl
    24
  6. Poor man's resource code available and CheckRide update: now with editor

    (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…

    Reinier Olislagers
    0
  7. Options -WG -WC -WF -WT

    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…

    Mattias Gaertner, Sven Barth, Tomas Hajny
    5
  8. FCL-STL's TVector<T> and removing of elements

    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…

    Sven Barth, Kornel Kisielewicz
    4
  9. Unclear documentation of Trim(), TrimLeft(), TrimRight() functions

    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…

    Bernd
    0
  10. Class helpers and properties

    If a class has a public reader property like this: TLexemeList= class(TObject) protected fValue: TPrimaevalValue; public property Value: TPrimaevalValue read fValue; ...…

    Mark Morgan Lloyd, Sven Barth
    4
  11. Request for Win32 bootstrap compiler on ftp.freepascal.org/

    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…

    Reinier Olislagers, Marco van de Voort, Tomas Hajny
    11
  12. fpdoc links and short description

    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"…

    Felipe Monteiro de Carvalho, Unknown author
    3
  13. memory corruption

    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…

    ik, Michael Müller
    2
  14. (no subject)

    http://prolumia.eu/mor/184042.html

    Brad Woosley
    0
  15. Access violation that I do not understand while creating a class instance

    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…

    ik, Henry Vermaak, Jürgen Hestermann
    6
  16. Redis client for object Pascal

    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…

    ik, Daniel Gaspary
    3
  17. understanding heaptrc and collection init()

    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…

    waldo kitty
    0
  18. IPTables log parser?

    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…

    Reinier Olislagers, ik, Mark Morgan Lloyd
    4
  19. detecting if a socket is open in synapse

    How can I detect if a tcp socket is open or not in synapse ? Ido

    ik, Daniel Gaspary
    2
  20. High precision timing

    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

    Unknown author, Vinzent Höfler
    2
  21. procedure variable and inc/dec procedures

    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…

    ik, Howard Page-Clark, leledumbo
    2
  22. detect the version of fpc that a feature added to it

    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…

    ik, Daniel Gaspary, Graeme Geldenhuys
    3
  23. How to get path to current theme icons on linux?

    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,…

    Krzysztof, cobines, Daniel Gaspary
    6
  24. Best practice for getting heap usage summary

    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…

    Mark Morgan Lloyd, Jonas Maebe, Mattias Gaertner
    3
  25. Converting header with va_list

    I need to convert this: android]$ gedit ~/Programas/android-ndk-r5/platforms/android-8/arch-arm/usr/include/jni.h void (*CallStaticVoidMethodV)(JNIEnv*, jclass,…

    Felipe Monteiro de Carvalho, Jeppe Græsdal Johansen, Jonas Maebe
    3
  26. Postscriptcanvas

    Is it possible to use the PostScriptCanvas unit in a non-gui program? Dave.

    David Copeland, Felipe Monteiro de Carvalho, Mattias Gaertner
    13
  27. MySQL5

    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…

    Mattias Gaertner, ik, Marco van de Voort
    6
  28. Would someone be willing to build the skeleton of a simple application for me?

    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…

    Unknown author, Sven Barth
    1
  29. convert "epoch" to UTC

    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"…

    waldo kitty, Jeff Wormsley, Lukasz Sokol
    15
  30. tthread.waitfor with timeout

    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)…

    Jorge Aldo G. de F. Junior, Jonas Maebe
    1
  31. convert "epoch" to UTC (waldo kitty)

    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…

    edgar jordan, waldo kitty
    1
  32. Advanced Records - Why not available by default?

    Any special reason to Advanced Records be available only in Delphi Mode ?

    Daniel Gaspary, Felipe Monteiro de Carvalho, J.-c. Chu
    19
  33. installing FPC 2.6.0 on OS/2

    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:…

    waldo kitty, Tomas Hajny
    13
  34. sorting and merging array of records

    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…

    waldo kitty, Marco van de Voort, Sven Barth
    33
  35. MSEide+MSEgui 2.8 for FPC 2.6.0

    MSEide+MSEgui 2.8 for FPC 2.6.0 has been released: http://sourceforge.net/projects/mseide-msegui/ Martin

    Martin Schreiber, Rainer Stratmann
    3
  36. Installing on mac

    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…

    Darius Blaszyk, Jonas Maebe
    2
  37. Redis client for FPC

    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…

    ik, Daniel Gaspary, Unknown author
    4
  38. Command line FPC/Lazarus SVN downloader/installer

    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…

    Reinier Olislagers
    0
  39. OT: Delphi HLPlib is discontinued

    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…

    ik, Ralf A. Quint
    3
  40. FPCUnit without Lazarus

    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…

    Luciano de Souza, Graeme Geldenhuys, leledumbo
    15
  41. format string - number padding

    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]));…

    ik, Lubomír Čabla, Sven Barth
    3
  42. Some questions regarding jvmbackend port

    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…

    leledumbo, Jonas Maebe, Sven Barth
    6
  43. Supported FPC revision to compile jvmbackend port

    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…

    leledumbo, Jonas Maebe
    2
  44. ANN: heLib/heContnrs stable version for FPC 2.6.0

    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…

    Honza
    0
  45. Group arguments from overloaded functions in fpdoc

    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…

    Unknown author, Marco van de Voort, Michael Van Canneyt
    11
  46. Latest bootstrap compilers?

    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…

    Reinier Olislagers
    0
  47. Generic type parameter variable initialization

    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…

    kyan, Florian Klämpfl, Sven Barth
    7
  48. Installing FPC 2.5.1 in Mac OS X

    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…

    Felipe Monteiro de Carvalho, Jonas Maebe, Marco van de Voort
    12
  49. FPDoc visibility sections

    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…

    Unknown author, Michael Van Canneyt
    2
  50. FPC JVM checkout problem

    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…

    leledumbo, Adrian Veith, Florian Klämpfl
    10