Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2013-02

  1. Feature announcement: Type helpers

    Hello Free Pascal community! I'm pleased to announce the addition of type helpers which extend the existing helper concept with the ability to extend primitive types.…

    Sven Barth, Gerhard Scholz, leledumbo
    4
  2. OOP in FreePascal ARM-Embedded

    Is anybody working on being able to uses classes, methods, etc (OOP) in freepascal compiler for ARM embedded platform? Cheers

    Juan Duran, Graeme Geldenhuys, Mark Morgan Lloyd
    5
  3. differences between .pp and .pas files

    Please what is a difference between .pp and .pas files extension? Kind Regards Eric Kom System Administrator & Programmer - Metropolitan College…

    Eric Kom, Bart, Graeme Geldenhuys
    31
  4. fpweb: processing URLs like GET http://server/cgi-bin/tigercgi/documents/301/

    Hoping you fpweb gurus know the answer by heart: Say I have an fpweb CGI server with action documents registered and I GET http://server/cgi-bin/tigercgi/documents/301/…

    Reinier Olislagers, Michael Van Canneyt
    5
  5. Does FPC 2.8.0 can actually still be called Pascal ?

    I was going over the wiki and looked at http://wiki.freepascal.org/FPC_New_Features_Trunk . It looks like some of the features here, actually breaks Pascal, and create…

    ik, Andrew Brunner, Craig Peterson
    62
  6. What's a unit?

    Does a unit- rather than something it contains- have any sort of representation which is recognisably distinct from an object? I've got a situation where if a library…

    Mark Morgan Lloyd, ik, Marco van de Voort
    11
  7. Compiler define MAC or MACOS ?

    on documentation http://www.freepascal.org/docs-html/prog/progap7.html#x316-331000G there is : Classic Macintosh MAC but in sources is used: MACOS So may be, that…

    LacaK, Jonas Maebe
    1
  8. [news] DA-Soft discontinues AnyDAC component suite

    Seeing that they supported FPC/Lazarus too, I guess this might affect some people here. ----8<-------------8<-------------8<-------------8<-------------8<---- The…

    Graeme Geldenhuys, Antonio Fortuny, Juha Manninen
    15
  9. Compiling arm-embedded fpc

    I was looking into the latest fpc to see if there were updates about arm-embedded since my last version. Indeed there are ! So I downloaded it (svn 23505) and tried to…

    Koenraad Lelong, Florian Klämpfl, Jeppe Græsdal Johansen
    24
  10. FPJSON and float values.

    Please see: http://bugs.freepascal.org/view.php?id=23970 Thank you! Silvio Clécio My public projects - github.com/silvioprog

    silvioprog, luiz americo pereira camara, Michael Van Canneyt
    7
  11. Copying over one .pas and modifying it - problem with debug info or... me

    Cryptic subject, isn't it? I tried to modify fpreadtiff.pas by copying only that module over to a new directory, write a test program that uses fpreadtiff, fpimage and…

    Reinier Olislagers
    1
  12. FPC & Lazarus used for teaching down under

    I thought I would share this bit of info. I'm not sure what I am more impressed about though. The fact that a long time Delphi developers is [finally] impressed with FPC…

    Graeme Geldenhuys, Howard Page-Clark, Marcos Douglas
    3
  13. fpweb: handling DELETE method as well as GET

    Using fpweb, I'm trying to handle DELETE requests. The code below works for GET calls: GET /cgi-bin/tigercgi/document/ HTTP/1.1" 200 but gives a 500 server error for…

    Reinier Olislagers, Michael Van Canneyt
    4
  14. How to get info about CPU and Memory usage?

    I need system info such CPU (by PID), memory usage (by PID), free memory etc. Target platform: Linux. Linux have command line tools like ps, top, memstat, but I'm just…

    Krzysztof, Graeme Geldenhuys, Ludo Brands
    7
  15. Place of elements in record

    I'm developping a arm-embedded project. I need to store some variables to EEPROM. What I'm doing now is manually give each variable an address and then I use that…

    Koenraad Lelong, Ludo Brands, Mark Morgan Lloyd
    3
  16. pascal compiler for ardurino

    Is there a Pascal compiler for Ardurino (instead of the existed build in language or C) ? Ido

    ik, Koenraad Lelong, Marco van de Voort
    11
  17. Free Pascal 2.6.2 - 64 - setup

    There are a setup to install FPC 2.6.2 stable 64 bit? In SF ( http://sourceforge.net/projects/freepascal/files) have only 32. Thanks. Silvio Clécio My public projects -…

    silvioprog, Gabor Boros
    2
  18. Faster way of doing this?

    I've been looking at adding some support for bilevel (black & white) TIFF images. I seem to have something working for uncompressed images, but I'm almost sure that this:

    Reinier Olislagers
    2
  19. Regression? Problem passing a packed record to a overriden, virtual, abstract method in fpc 2.7.1.

    see the following little program: program argumentbug; {$MODE ObjFpc} uses classes; type TVector3 = packed record X, Y, Z: Single; end; TClassA = class protected…

    Reimar Grabowski, Flávio Etrusco, Mattias Gaertner
    8
  20. Cross-compiler installation

    What is "cross-compiler installation" mentioned in this article?: http://wiki.freepascal.org/Android (please see: http://imagebin.org/247728) And where do I download it?…

    silvioprog, Henry Vermaak, Sven Barth
    10
  21. Semi OT: Database-free application lecture

    I gave today a lecture named "database-free applications"[1]. The lecture explain an idea of how to design complex systems and break them apart etc... The lecture is in…

    ik, Sven Barth
    2
  22. Performance problems with Image Conversions

    I just finished (a beta) of a collage app for Aurawin. I'm seeing a huge load on my servers when scaling images using the Image factory classes for JPEG, and PNG.…

    Andrew Brunner, Graeme Geldenhuys, Michael Van Canneyt
    10
  23. FPC user change trunk page: remove mention of UPX?

    Noticed that the user changes for FPC trunk mentions UPX has been removed: http://wiki.lazarus.freepascal.org/User_Changes_Trunk#UPX_support_has_been_removed However,…

    Reinier Olislagers, Marco van de Voort
    1
  24. unsubscribe

    Hello Please unsubscribe me (no more use of free pascal) Thanks a lot Jean-françois Jouvet OPALES 140 rue Désiré Monnier 39000 Lons-le-Saunier TEL 03 84 24 88 66…

    Jean-Francois Jouvet
    0
  25. FPC 2.6.2 released!

    Finally, FPC 2.6.2 has landed. FPC 2.6.2 is an update to 2.6.0 that contains most library progress in 2012 and some crucial compiler fixes, as well as a few new targets.…

    Marco van de Voort
    0
  26. dglOpenGL <-> GL, GLu, GLExt

    There is an OpenGL unit named dglOpenGL, maintained by www.delphigl.com, and used by many projects. I want to use the units provided by FPC instead, namely GL, GLu and…

    Juha Manninen, Marco van de Voort, Reimar Grabowski
    5
  27. TProcess InheritHandles has no effect

    According to the documentation InheritHandles only works in windows. However the windows implementation of TProcess.Execute has in the first line FInheritHandles:=true…

    Luca Olivetti
    1
  28. Refr Bruhl

    &nbsp;http://www.northhoustoncounselingservices.com/cnsbs/xx7154m3q1j4roj2gv5j9pclm0g2&kh3wq1bh95ftllmg4bzct1hahgpw=l63yep2tRefr Bruhl

    Refr Bruhl, Florian Klaempfl
    1
  29. Forward struct declaration in C

    I'm porting a piece of software to FPC but I got stuck at a forward struct declaration. The situation is as folows. Header 1 declares: struct TaskHandle__; typedef void…

    Unknown author, Michael Van Canneyt, Sven Barth
    3
  30. is resourcestring translation thread safe ?

    Let's say I have a multi-threaded cgi (such as brook framework), and I use resourcestring to translate strings. Does the translation of resourcestring will be based on a…

    ik, Sven Barth
    4
  31. JSON dates

    Creating a client/server scanning application that uses JSON to exchange data. Noticed there's no support for dates in the JSON specs; apparently various approaches are…

    Reinier Olislagers, Graeme Geldenhuys
    2
  32. FPC build fails

    Hi all I experience some strange issue, which I happen to find accidentally. When I try to build fpc using "make -B all" (executing in fpc sources root), it crashes with…

    denisgolovan
    0
  33. OT a bit - Planet Object Pascal

    I'ved created an RSS aggregation site for Object Pascal related blogs: http://planet.objpas.org/ This is a test run, and the look and feel will be changed in the feature.

    ik, Florian Klämpfl, Frank Church
    57
  34. Fpc Access Violation if AppConfigDir doesn't exist.

    Launching a Lazarus application in a freshly installed Linux system, I found a condition which may be quite confusing for a normal user: the main form was shown, the…

    Giuliano Colla, Bart, DaWorm
    82
  35. Modular Qt4Pas

    Simple "hello world" application created in QT Creator has only basic QT dependencies (libqtgui, libqtcore and libqtwidgets). But Qt4Pas has static linked api for all QT…

    Krzysztof, zeljko
    1
  36. Make TStringList.ExchangeItems virtual?

    Is it at all feasible to make TStringList.ExchangeItems a virtual method? Reason: In Lazarus we have a component (TValueListEditor) that has a TStringList descendant as…

    Bart, Dennis Poon, Martin
    9
  37. Configuration file handling

    If multiple, related, programs running on unix (Linux, Solaris etc.) refer to the same configuration file accessed via a TIniFile, is there any recommended "good…

    Mark Morgan Lloyd, Andrew Brunner, Marco van de Voort
    8
  38. TEventLog, RegisterMessageFile and {$R fclel.res}

    While adapting some code to use Eventlog I found RegisterMessageFile, which the help helpfully explains (it registers the file used by Windows to show certain strings in…

    Reinier Olislagers, Michael Van Canneyt
    3
  39. Abstract methods called from descendants via Inherited.

    This is a minor issue, just a question of design... I understand that by design abstract methods cannot be called and that doing so is an error. However FPC used to…

    Bruce Tulloch
    0
  40. Can't configure fppkg

    I'm trying to configure fppkg, because seems that this is only way to install GeckoPort version 2 (wiki.freepascal.org/GeckoPort_version2). I'm using thos tips:…

    Krzysztof, Sven Barth
    6
  41. download link on viewvc pages is missing

    Hi, the "(download)" link (together with the "(as text)") link that used to be next to "(view)" and "(annotate)" in viewvc revisions logs are missing, can this be…

    Jesus Reyes, Bart, LacaK
    7
  42. Tree structure

    Hi, I would like to know if there's a standard tree structure where each node is a TObject. With "standard" I mean, in a standard package, like fcl-base.   Leonardo M.…

    Leonardo M. Ramé, Graeme Geldenhuys, leledumbo
    14
  43. TStringList.Put calls change even if value hasn't changed

    When you do something like StringList1.Strings[Index] := Value it calls TStringList.Put(). I would expect that if Value = Strings[Index] then nothing happens, and no…

    Bart, Michael Van Canneyt
    5
  44. what happened to the "contributed units" listing?

    The database of contributed pascal code seems to have disappeared: http://www.freepascal.org/contrib/db.php3 Anyone know where it went, or how to get it back? :)

    Michal Wallace, Florian Klämpfl, Frank Church
    20
  45. GetCurrentThreadID under FreeBSD vs Linux

    Under Linux and Windows I have the following code which works fine. var LThreadID: string; begin FmtStr(LThreadID, '%.4d', [GetCurrentThreadID]); Under FreeBSD (64-bit)…

    Graeme Geldenhuys, Ewald, Marco van de Voort
    6
  46. TStringList.InsertItem

    Consider: Procedure TStringList.InsertItem(Index: Integer; const S: string); and Procedure TStringList.InsertItem(Index: Integer; const S: string; O: TObject); 1018…

    Bart, Michael Van Canneyt
    2
  47. [TIP] Script for automatic installation of Lazarus and Free Pascal under Linux Mint 14.1 - 64bit

    Yesterday I created a script to install the Lazarus and Free Pascal on Mint 14.1 - 64 bit. The installation is done from sources downloaded via Github. For those who…

    silvioprog
    0
  48. JSON coders beware...

    i just saw this in my latest copy of @RISK and thought i'd share it since there seem to be quite a few coders using JSON...…

    waldo kitty, Michael Van Canneyt, Reinier Olislagers
    2
  49. -fPic

    When and where (platform) is -fPic needed for libraries? It is for Lazarus' Library template. Mattias

    Mattias Gaertner, Antonio Fortuny, Florian Klämpfl
    2
  50. Lazarus 1.0.6 Release

    The Lazarus team is glad to announce the release of Lazarus 1.0.6. This is a bug fix release. Here is the list of changes:…

    Mattias Gaertner, Giuliano Colla
    1