Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2016-10

  1. C translation question

    I’m trying to translate a function from C (taken from http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html) and although I think I got it correctly…

    Ryan Joseph, Bernd Oppolzer, Bo Berglund
    19
  2. A serious Memleak using delegates/implements (was: Delegate Interface class does not seem to be referenced counted)

    Tony Whyman had posted on August 10 a problem with the compiler using Delegates. He used a workaround to "solve" his problem and the thread died. So, I coded a new…

    Marcos Douglas, Graeme Geldenhuys, Jürgen Hestermann
    47
  3. Blind Users

    Have any blind programmers managed to make use of the Lazarus IDE or the FPC command line to write interactive software that will run on the Windows7, 64-bit platform? I…

    BobJ, Felipe Monteiro de Carvalho, Fred van Stappen
    9
  4. JSON Test Suite

    I just stubled acros this JSON test suite. There graph shows plenty of different JSON parsers and how they compare with this test suite. The Free Pascal JSON parser was…

    Graeme Geldenhuys, Benito van der Zander, leledumbo
    16
  5. Missing messages

    Today I had detected that some emails does not reach me in this mailing list, in fact the last ones from "leledumbo" about JSON parsing, but Graeme and Michael ones…

    José Mejuto, Bo Berglund, David W Noon
    24
  6. Does fpdoc sets a particular define ?

    While generating documentation for one of my projects I ran into a bug in fpdoc. It crashes on declarations like this one: ------- type TObjectBlob = class(specialize…

    Yann Mérignac, Michael Van Canneyt
    4
  7. Can I open XZ compressed text file on the fly?

    I need to analyze log file but its compressed with XZ. Can I open it without decompress it to the file system or can decompress in memory for example into a TStringList?…

    Gabor Boros, Graeme Geldenhuys
    2
  8. inherited interfaces not seen by queryinterface / supports

    I am a bit perplexed / disappointed to see that the Supports / QueryInterface functions for interfaces are not behaving the way I would expect them to behave, when using…

    David Emerson, Graeme Geldenhuys, Marcos Douglas B. Santos
    8
  9. what is the possible cause of EPrivilege Privileged instruction ?

    I have a multi threaded program which executes a list of tasks in real time. It is difficult to debug with a debugger on this program (since debugging will pause the…

    Dennis, Dennis Poon, Snorkl e
    4
  10. fpc 3.0 for ARM (v7l) ?

    I just received a brand new Raspberry 3B. Nice ARM-based quad-core pico-machine (armv7l). I can run on the 3B programs compiled on a Raspberry 2B (armv6l) using the…

    Ched, Paul Breneman
    1
  11. Test file mode question

    I am trying to put together a short program to build a script file. I declare the file as: Uses sysutils; {$H+I-} Var SFile : Text; I then assign a name to the file :…

    Rolf Grunsky, Bart
    1
  12. importtl tool

    I have noticed, that tool for importing type library into pas incorrectly imports interface methods, which should have "var" parameter. For example in my case imported:…

    LacaK, José Mejuto
    12
  13. Generic way to pre-maturely exit TCustomApplication without memory leaks

    Hi. Is there a way to pre-maturely halt TCustomApplication without causing memory leaks? Say, I have a code, where TH is a Class(TCustomApplication): ph :=…

    grouchysmurf, Bart, Graeme Geldenhuys
    16
  14. Class helper method overloading ?

    is there posibility introduce in class helper method with same name like in base class ? For example: TSQLQueryHelper = class helper for TSQLQuery public procedure…

    LacaK, Michael Van Canneyt
    3
  15. Smart link in FreeBSD multi-arch ?

    Hello. I will try to explain the problem... In a multi-arch system (64 bit system that can run 32 bit apps too) FreeBSD 64, there is problem if a fpc 32 bit application…

    fredvs, Graeme Geldenhuys, Marco van de Voort
    30
  16. FPC 3.0.0 and gProf

    are there any known problems with gprof? Mantis says no but when enabling gprof support in my Lazarus project I get a segfault in gmon.c when running it. Any compiler…

    Reimar Grabowski, Jonas Maebe
    4
  17. Piping: high level tool? Strong types sent via pipe

    I was thinking: pipes are useful to communicate between processes. How about a high level communication system instead of just sending low level strings over the pipe?…

    Lars, Jonas Maebe
    1
  18. Error: Identifier not found "Heap Error"

    As mentioned in a previous e-mail, I'm having my first contact with Pascal during my Masters research, trying to compile a code provided by a professor. The first…

    Luiz Gonzaga de Oliveira Neto, Bart, Jonas Maebe
    7
  19. How to know the encoding of a string?

    Is there a way to know what encoding was used at a string? My system are receiving some files and I don't know the encoding. I would like to know and then, convert it.…

    Marcos Douglas B. Santos, Bart, Graeme Geldenhuys
    6
  20. 3.1.1 documentation in html on the website?

    Can the 3.1.1 documentation be viewed as html on the website? where? The 3.0.0 version is easy to find... but I'd like to see the one under development Thanks! David.

    David Emerson, Graeme Geldenhuys, Michael Van Canneyt
    4
  21. server down?

    On the bug tracker login page http://mantis.freepascal.org/login_page.php?return=%2Fmy_view_page.php%3F I see this text: Do you already have a login at Free Pascal…

    Mattias Gaertner, Bart, Torsten Bonde Christiansen
    2
  22. Compiler option -gt (Trash local variables)

    How well does the -gt compiler option work? Is it worth enabling during debugging? Graeme

    Graeme Geldenhuys, Jonas Maebe, Marco van de Voort
    3
  23. teventobject.create fails with error 161

    Hi, Just wondering if anyone has any ideas. I am using FPC 3.0 by the way. Anyway, I am using a third party SFTP server lib and it creates a thread inherited from…

    Snorkl e, Jonas Maebe, José Mejuto
    15
  24. The Next Release

    What's the timetable for the next release? Can we assume that all of "trunk" will be in it or will it be more nuanced? Tony Whyman MWA

    Tony Whyman, Bart, code dz
    8
  25. Issue 24504

    I attached a trivial patch for issue #24504: Dos.FSearch wrong result using joker-signs (http://bugs.freepascal.org/view.php?id=24504) in the bugtracker. Can some devel…

    Bart, Jonas Maebe
    2
  26. Smart Link definition ?

    Hello. Who can explain what is smart linking ? I can say that it tells the compiler to remove unneeded symbols but it is only my feeling. There are no explanation in…

    fredvs, denisgolovan, Graeme Geldenhuys
    16
  27. LowerCase vs. UnicodeLowerCase

    I have this simple program (on Windows): uses Classes, SysUtils; var US: UnicodeString; begin US := 'ÁÉÍ'; writeln(LowerCase(US)); // prints ÁÉÍ…

    LacaK, Graeme Geldenhuys, Marco van de Voort
    10
  28. Build script on Windows

    I’m doing some tests with SDL and I’d like to build the program to work on Windows. I’d like to to automate the build with a script but I can’t seem to figure…

    Ryan Joseph, Jonas Maebe, Sandro Cumerlato
    4
  29. Using for-loop index variable after loop

    I have always avoided using a for-loop index variable after the loop. I thought its value can be unpredictable in some situations when the compiler reuses its register…

    Juha Manninen, Jonas Maebe, Virgo Pärna
    4
  30. Re: Debian, Jessie, Linux64 failed to install FPC3.0 64bit

    this one of mirrors i used ftp://gd.tuwien.ac.at/languages/pascal/fpc/dist/3.0.0/x86_64-linux/ I am using last revision of Lazarus, FPC 3.0 on Windows8.1 Best Regards…

    Zaher Dirkey
    0
  31. string to widestring : what are the difficulties ?

    In http://www.freepascal.org/docs-html/ref/refsu14.html#x37-400003.2.8 , the stack sized used by a Shortstring is Declared length + 2 . Why not Declared length + 1 ? Is…

    Ched, Jonas Maebe, Michael Van Canneyt
    3
  32. CORBA interfaces: no IInterface and TInterfaceList support

    Why doesn't CORBA have the equivalent of IInterface? I have to resort to creating something like this. type IEmptyInterface = interface…

    Graeme Geldenhuys, Sven Barth
    1
  33. fcl-db + IPv6 + Firebird

    A couple of questions... 1. Does fcl-db code support connecting to databases (any DB servers) listening to IPv6 connections? 2. Does anybody know how to tell Firebird…

    Graeme Geldenhuys, Mark Morgan Lloyd, Tony Whyman
    4
  34. Free Pascal - Older Versions

    My name is Luiz and I'm a Masters is my first e-mail in this list. In my Masters research, I've acquired from the author some codes in Pascal, a language I've never…

    Luiz Gonzaga de Oliveira Neto, Jonas Maebe, Sven Barth
    3
  35. test plz ignore

    plz ignore Dimitrios Chr Ioannidis

    Unknown author
    0
  36. Checking the validity of Format and friends at compile-time

    I'm wondering if there is a tool that checks the correctness of calls to Format and friends (like Exception.CreateFmt) in your code. Or does someone plan to write one,…

    Michalis Kamburelis, Maciej Izak, Marco van de Voort
    6
  37. Enabling IPv6 for freepascal.org domain

    This image of Arnie (Arnold Schwarzenegger) describes it best. :-) https://cdn.meme.am/instances/59911439.jpg Could the powers that be, please enable IPv6 support for the

    Graeme Geldenhuys, Michael Van Canneyt
    1
  38. Socket pair

    I've seen that "accept" functions with socket pairs are deprecated. And fpsocketpair returns always -1. How do you get the in and out streams when a server accepts a new

    Santiago A., Mark Morgan Lloyd, Michael Van Canneyt
    6
  39. SetString and result CodePage

    Am I right, when I say, that SetString(S, P, L) sets S code page do declared code page of S ? (So that SetString does not expect, that buffer pointed by P contains…

    LacaK
    0