Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2018-05

  1. FPC code to migrate Outlook PST file to MBOX format?

    I need to switch away from using Outlook 2003 to something sensible like Thunderbird. But when I do I need to keep my mail archive, which is stored in multiple very big…

    Bo Berglund, Austinwalker, brendan
    6
  2. Feature announcement: Dynamic array extensions

    Hello together! I'm pleased to announce that after nearly a year various extensions for dynamic arrays have been finished. This includes the following features: -…

    Sven Barth, Anthony Walter, Bart
    93
  3. Realtime and freepascal???

    For a hard real-time project I am considering using freepascal. As this is my first endeavour in real-time I would like to ask the community on their experiences. Is FPC…

    Darius Blaszyk, Brian, Dennis
    11
  4. Free e-book: Free Pascal from Square One

    See http://www.contrapositivediary.com/?p=4034 It's by Jeff Duntemann, and based on his 1993 book "Borland Pascal 7 from Square One". Jonas

    Jonas Maebe, Joost van der Sluis, Marcos Douglas B. Santos
    3
  5. השב: Re: Free e-book: Free Pascal from Square One

    נשלח מסמארטפון ה-Samsung Galaxy שלי. <div>-------- הודעה מקורית --------</div><div>מאת: Joost van der Sluis …

    ezrashumla
    0
  6. Sets & FPC

    I've got a piece of code which uses TOwnerDrawStateType and TBaseOwnerDrawState which is set of TOwnerDrawStateType , if i have on variable called state which is…

    Justin Smyth, cobines, Jonas Maebe
    12
  7. Privacy statement published.

    As most of you are aware, the servers of FPC (and many of the collaborators of the core team) are located in the EU. The GDPR (General Data Protection Regulation) is in…

    Michael Van Canneyt
    0
  8. -gw and -O3

    What happens when you have both those switches on at the same time? Does the -gw affect the performance or just output information in addition to the optimized…

    Ryan Joseph, Sven Barth
    1
  9. Feature announcement: Unicode character constants outside of BMP

    Hello together! Small feature announcement this time, but some might like it nevertheless: FPC now supports unicode character constants that are outside of the Basic…

    Sven Barth, Marco van de Voort
    1
  10. Class Helper to implement an Interface

    Can I make a class helper to implements an Interface in an existing class? For example, TStringList class has Find: public function TStringList.Find(const S: string; out…

    Marcos Douglas B. Santos, Marco van de Voort
    2
  11. Management operators question

    Talking about dynamic arrays I was just curious if we could us the new management operators to make dynamic arrays that are managed on the stack. Here’s a quick demo I…

    Ryan Joseph, Alexander Grotewohl, Maciej Izak
    11
  12. Libxml2 - How to get messages on Linux?

    I need to accomplish validate XML files with an XSD. Found libxml in packages and works as expected with Win32. But I have problem with messages on Linux 64bit. Got %s…

    Gabor Boros, Henry Vermaak, Michael Van Canneyt
    5
  13. -gw3 produces garbages

    The `-gw3` with `godwarfcpp` flag for lldb produces garbages for string type or any dynamic array types. While `-gw2` only works on string but still failed on any…

    Mr Bee
    0
  14. Lazarus Release 1.8.4

    The Lazarus team is glad to announce the release of Lazarus 1.8.4. This is a bugfix release. The release was built with FPC 3.0.4. Here is the list of changes for…

    Mattias Gaertner
    0
  15. Printing TFPImage to TCairoPSCanvas

    Hi, I need to print an TFPMemoryimage into Printer.Canvas (which uses TCairoPSCanvas to printing to CUPS) from a Linux CGI (no widgetset), but it seems that it's an…

    Leonardo M. Ramé, Graeme Geldenhuys, Michael Van Canneyt
    4
  16. Dynamic Array, operator +

    Mixing dynamic and static array does not work properly yet. I compiled the following code with the latest trunk of FPC (revision 39062): procedure Ausgabe(a: array of…

    Mathias, Sven Barth
    1
  17. Re: fpc-pascal Digest, Vol 167, Issue 39

    The dynamic array constructors sound absolutely wonderful! I have code with rather awkward workarounds that will benefit a lot by these features. /Ingemar

    Ingemar Ragnemalm
    0
  18. TJSFloat32Array casting

    Did something change? I just tried this and it didn’t work. Casting “arr” to TJSObject didn’t work either. I could swear that used to work a few days ago. Maybe…

    Ryan Joseph
    1
  19. LongBool True = -1

    I am working with some a glib library that expects gboolean to be positive 1 for true, yet FPC emits -1 for true. Is there a compiler flag to force boolean types to emit…

    Anthony Walter, Dmitry Boyarintsev, Gerhard Scholz
    5
  20. Anyone know where Blaise Thorne is?

    Has anyone had any contact with Blaise Thorne in the past couple of months? In mid-March he told me he would have an updated version of the closure branch ready in a…

    Zoë Peterson
    0
  21. ExceptProc no longer gets Frames if DLL host uses a different memory manager

    I have a Win64 DLL compiled with FreePascal 2.6.0 in which I install a ExceptProc handler which signature is as follows: procedure MyExceptProc(Obj: TObject; Addr:…

    OBones
    0
  22. Undocumented SetLength functionality

    Hi All. I just discovered that SetLength(Var S: Array; NewLength: Integer) has an undocumented (appenrently unlimited number of) overloaded functions. Any multi…

    Torsten Bonde Christiansen, Michael Van Canneyt, Sven Barth
    4
  23. Currency and Int64 casting

    consider following program: var c: currency; begin c := 1; writeln(c,' ',Int64(c)); readln; end. FPC 3.0.4 On Win32/x86 I get: 1, 1000 (what I am expecting) On…

    LacaK, Vojtěch Čihák
    6
  24. pas2js Webgl unit committed

    See subject. Rev 83 in pas2js subversion. I have no experience with webgl, so if someone could provide several examples which I can include in the demo folder of pas2js,…

    Michael Van Canneyt, Joost van der Sluis, Mattias Gaertner
    49
  25. Copy dynamic array

    Hi List. This i a real newbie question: I hardly use dynamic array, so I don't know if there is a simpler method to copying a dynamic interger array than the straigh…

    Torsten Bonde Christiansen, Alexander Grotewohl, Bart
    12
  26. FPC on Android tablets: ARM, x86_64

    Has anybody come across https://wiki.termux.com/wiki/Main_Page which I've seen mentioned elsewhere? It's supposedly a Linux environment into which one can install…

    Mark Morgan Lloyd, Alexander Grotewohl, leledumbo
    5
  27. testing if a float has a fractional part

    after all these discussions about the frac function, what is the best way to test if there is a fractional part? That is the most common thing I use frac for I have…

    Benito van der Zander, Bart, Florian Klämpfl
    7
  28. fpWeb: How can I use heaptrc in standalone mode?

    I'm using fpWeb in standalone mode (fphttpapp unit) to develop and debug. I would like to see the heaptrc log in the end, as we can do in normal desktop applications.…

    Marcos Douglas B. Santos, leledumbo, Michael Van Canneyt
    15
  29. FPC on gaming consoles: XBox One, PlayStation 4, Nintendo Switch

    I am wondering about the possibility to port Castle Game Engine to modern gaming consoles. Summary (TL;DR): - Is it possible to use FPC to compile programs/libraries for…

    Michalis Kamburelis, Dmitry Boyarintsev, Marco van de Voort
    8
  30. Feature announcement: default namespaces

    Hello together! I'm pleased to announce the implementation of a new feature: default namespaces. As you may know FPC supports the use of dots/points/periods (".") inside…

    Sven Barth, Ben Grasset, Graeme Geldenhuys
    29
  31. detecting recursive loops

    I'm having an issue with one of my programs that I suspect is being caused by a recursive loop... in simplified form... something like this: Procedure Proc1; Begin Proc2;

    James Richters, leledumbo, Mark Morgan Lloyd
    2
  32. Cross compiling: Win 32 to 64

    I have a script for a long time that I use to compile FPC from sources. Today I'm configuring a new machine and I would like to use this script to configure FPC and…

    Marcos Douglas B. Santos
    1
  33. Re: working with lldb

    Den 2018-05-05 kl. 12:00, skrev Mr Bee : In my experience, AnsiStrings will print with no problems. For example, they print nicely with a command like "fr v" as well as…

    Ingemar Ragnemalm, Mr Bee
    1
  34. working with lldb

    Is there a way to make LLDB able to read and display Pascal's string correctly? At least, ansi string. I'm now using this option '-glpsw3 -godwarfcpp'. Did I miss some…

    Mr Bee
    0
  35. Prorammatically sending file using HTTP POST?

    I have written a Lazarus/FPC program to configure an IoT device via a tcp server I have implemented on the device. It all works well for setting the parameters etc. Now…

    Bo Berglund, Alexander Grotewohl, Anthony Walter
    15
  36. howto print hires-graphics in windows?

    I want to draw simple line graphics both on screen and printer (full page, with ~300dpi). What is the easiest way to achieve this in FreePascal (not Lazarus)? Maybe a…

    Klaus Hartnegg
    0
  37. Next language feature for pas2js...

    Now that interface support has been added to the list of implemented language features of pas2js, we're looking to get feedback on what best to tackle next. This time,…

    Michael Van Canneyt, Benito van der Zander, Ingemar Ragnemalm
    40
  38. Next language feature for pas2js...

    I found it surprisingly easy to import undefined JavaScript functions working from examples in the interfaces. I believe web.pas was particularly useful. I also made…

    Ingemar Ragnemalm, Michael Van Canneyt
    1