Sign in Join

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

Mailing lists / fpc-devel

fpc-devel · 2010-08

  1. Building and running FPC natively on ARM under Debian "Lenny"

    I've previously had FPC (and Lazarus) running natively on Debian ARM, but I think it was "Etch"- things got a bit cloudy after that. The kernel being shipped with Lenny…

    Mark Morgan Lloyd, Bernd Mueller, Florian Klaempfl
    24
  2. [patch] pscanner: differentiate between EOL & Tab characters from general Whitespace

    In the following bug report, I attached a minor patch for the pascal scanner in fcl-passrc. http://bugs.freepascal.org/view.php?id=17237 I introduced two new tokens.…

    Graeme Geldenhuys, Alan Krause, Darius Blaszyk
    32
  3. Re: NoGlobals branch

    This sounds good. I don't think that threadvars really hurt if it resolves the cyclic dependencies.

    Florian Klaempfl, Felipe Monteiro de Carvalho, Florian Klämpfl
    83
  4. Type redefinitions

    Several type redefinitions are reported in compiling the compiler, can these be removed? Most types (PByte...) are declared in systemh.inc and objpash.inc. I'm not sure,…

    Hans-Peter Diettrich, Florian Klämpfl
    1
  5. QueryInterface on linux/i386 - adding 'in' parameter type?

    The safecall calling convention is now implemented for i386/linux in fpc-trunk. The next step to get XPCom working now is to update the QueryInterface (and AddRef and…

    Joost van der Sluis, Jonas Maebe, Marco van de Voort
    20
  6. Re: RTTI unit

    Michael, thank you for the reply. It makes a few things a lot clearer for me. I'll comment a bit more below. I know, neither does it support RTTI-scoping (only published…

    Dimitri Smits, Graeme Geldenhuys, Michael Van Canneyt
    20
  7. RTTI unit

    I was wondering if anybody could direct me in the right direction (either mail, wiki) with regard to following questions. What I want to do: Since Delphi 2010, there is…

    Dimitri Smits, Daniël Mantione, Hans-Peter Diettrich
    27
  8. Re: regarding RTTI unit mail

    I doubt that site is going further then D7 in it's documentation. Is the following enough/too much/dangerous to start from? A nice tutorial/breakdown with a lot of stuff…

    Dimitri Smits
    0
  9. does fpc lock the fpc.cfg exclusive on windows?

    I got a strange error while compiling, saying that fpc couldn't open the "fpc.cfg" file (sorry lost the exact wording) The file definitely was/is there. And on repeated…

    Martin, Hans-Peter Diettrich, Jonas Maebe
    6
  10. [patch] fpdoc linear writer ResolveLink fix

    Finally squashed this bug! Sorry Michael, I couldn't wait - I wanted to get some documentation released and needed this fix. Patch is include in Mantis report…

    Graeme Geldenhuys, Marco van de Voort, Michael Van Canneyt
    11
  11. fpc docs have hidden documentation

    Hi In the case of Classes unit documentation - more specifically the TThread documentation. The default behaviour when making RTL documentation, is for it to…

    Graeme Geldenhuys, Michael Van Canneyt, Sven Barth
    4
  12. fpdoc's RTF output

    Hi Has anybody been using the RTF output writer of fpdoc? I had a closer look at it last night, and the output (formatting) looks pretty horrible when viewed using…

    Graeme Geldenhuys, Felipe Monteiro de Carvalho, Luiz Americo Pereira Camara
    28
  13. fpdoc link attribute in element tag

    For some reason the link attribute inside the ELEMENT tag doesn't function any more. Can others duplicate this issues, or is it just my system acting up again. For an…

    Graeme Geldenhuys
    0
  14. Re: String literals

    No. Michael.

    Michael Van Canneyt, Hans-Peter Diettrich, Marc Weustink
    2
  15. CHM help snapshot

    I've generated a new help snapshot. (chm files) The archive still is at http://www.stack.nl/~marcov/doc-chm.zip and contains rtl,fcl,lcl ,fpdoc,ref,user,prog.chm This…

    Marco van de Voort, Graeme Geldenhuys, Tomas Hajny
    4
  16. last OpenSSL patch breaks the Trunk build

    The following change (r15883) breaks Trunk builds. Compiler error on line 2086 (openssl.pas). Expected Pointer but got ShortInt.…

    Graeme Geldenhuys, Felipe Monteiro de Carvalho, Jonas Maebe
    3
  17. Which unit does -gl parameter use?

    When you add the -gl (debug line info added to compiled executable) parameter to a project, which unit does it use to gather the debug information? LineInfo (via stab…

    Graeme Geldenhuys, Jonas Maebe, Sergei Gorelkin
    8
  18. refcounting in fcl-passrc

    I still get errors on deallocation in fpdoc from time to time. The most recent one is related to TPasFunctionType. I searched a bit, and since the type is not used that…

    Marco van de Voort, dmitry boyarintsev, Michael Van Canneyt
    9
  19. fpdoc inheritance diagrams improvements

    Graeme filed a bugreport (15774) about inheritance diagrams. Mostly he wanted interfaces in the inheritance, but while preparing that I found out that inheritance…

    Marco van de Voort
    0
  20. LineInfo unit seems broken in 2.5.1

    Not sure if this affects 2.4.x as well (I haven't tested yet). DUnit2 unit testing framework tries to report the line number and method that caused a unit test failure.…

    Graeme Geldenhuys
    1
  21. rebuilding source form passrc parser token tree

    I'm working on a project where I parse source code, then use the token tree to modify the source code, and write new units out again. I found a few limitation in…

    Graeme Geldenhuys, Michael Van Canneyt
    2
  22. Conditional Breakpoints using FPC and GDB

    Lazarus has a dialog for conditional breakpoints, but it doesn't work. I tried everything. MSEide has conditional breakpoints, but only works for integer type…

    Graeme Geldenhuys, ABorka, BoBo
    46
  23. GPM vs Debian warning messages

    Looking at http://www.freepascal.org/probs.var I see that FPC still has bug 0008416 open and marked "not fixable", but that it was fixed from the Debian side in February…

    Mark Morgan Lloyd, Jonas Maebe
    1
  24. Wiki language

    Who did the Afrikaans (AF) section of the wiki pages? Graeme was that you? I would like to contribute translations to any outstanding translations. How do I go about…

    Desmond Coertzen, Graeme Geldenhuys
    1
  25. fpdoc patch - big or small

    I'm ready to supply the new IPF Output Writer patch for fpdoc. But how should I supply this patch, because I implemented a few extra features into the Linear Output…

    Graeme Geldenhuys, Marco van de Voort, Michael Van Canneyt
    3
  26. FPC 2.4.2 and revision merging

    I have no idea what is the status on the fpc 2.4.2 release, so I though I might ask for a revision to be merged to it =) This basically fixes TrueType font drawing. The…

    Felipe Monteiro de Carvalho
    0
  27. Internal linker question

    [...just curious...] As far as I understand, the Windows version of FPC has an internal linker which greatly improved the speed of building/linking software on that…

    Graeme Geldenhuys, David W Noon, Florian Klaempfl
    7
  28. SQL parser

    I've committed in the FPC packages (fcl-db/src/sql) a SQL scanner/parser/Abstract Syntax Tree. It can parse the complete SQL syntax, as implemented by Firebird, SQL…

    Michael Van Canneyt
    0
  29. fpdoc's link attribute in Section tags

    Hi [me again], :) The 'link' attribute inside section tags where introduced so that descendant classes can link documentation from base classes - without having to…

    Graeme Geldenhuys, Michael Van Canneyt
    5
  30. passrc parser and published property accessors

    It seems that passrc parser doesn't populate the ReadAccessorName and WriteAccessorName correctly on published properties. eg: where a property was defined in a base…

    Graeme Geldenhuys, Michael Van Canneyt
    1
  31. current_settings

    I found problems with some settings, obtained from current_settings at program start (command line processing...). At that time no (module/parser) object exists, that…

    Hans-Peter Diettrich
    0
  32. is that intended? private type section in classes versus visibility

    Since it now is possible to define types inside a class, please look at the example below. the class internal type section continues accross the border of the visibility…

    Martin, Alexander Klenin, Florian Klaempfl
    62
  33. Re: Compiler trheads

    +1 for this approach. BTW, Hans-Peter, those worker threads are better conceived then as general purpose tthread descendants. Java (I know, but hear me out first) has at…

    Dimitri Smits
    0
  34. fpdoc has incomplete type definitions in the documentation output

    When generating HTML class documentation, the Class definition displayed is not the same as the actual class definition in the code. The definition in the HTML docs show:

    Graeme Geldenhuys, Marco van de Voort, Michael Van Canneyt
    5
  35. Proposal: Copy-in-out-parameters

    Hello Vinzent! You wrote 2010-08-10 In-out-parameters]:   Well, yes and no. For *copy*-[in]-out-parameters you could use properties but not for *reference* ones.…

    Unknown author
    0
  36. Is -Sx supposed to be equivalent to {$modeswitch exceptions}?

    The compiler help message says that -Sx "Enables exception keywords", but if I use -Sx along with a try/except block I get: Error: identifier not found "try" If I…

    Bruce Bauman, Jonas Maebe
    1
  37. Proposal: In-out-parameters

    Hello Michael! You wrote 2010-08-09 [Proposal: Enhanced replacement for assignment operators]: One could propose a new kinds of parameter transmission: copy-in-copy-out…

    Unknown author, Vinzent Höfler
    3
  38. TFreeTypeFont

    I am using TFreeTypeFont to draw text to TLazIntfImage and it seams that it just draws char by char, without spacing them according to their sizes. Anyone else using…

    Felipe Monteiro de Carvalho
    1
  39. fcl-passrc developments (fpdoc,makeskel)

    Over the last week I inventorized Dmitry Boyarintsev's many patches for specific fcl-passrc problems in trunk All these are now committed, and most known problems that…

    Marco van de Voort, Graeme Geldenhuys, Michael Van Canneyt
    8
  40. fpdoc - linear output missing example nodes

    Sorry to bug you so much with fpdoc stuff, but I really want to finish this IPF Output Writer once and for all. In the keyboard.xml file under the additional topics…

    Graeme Geldenhuys, Michael Van Canneyt
    2
  41. fpdoc - bug in LaTeX output - missing tables

    On page 671 in the RTL.pdf document, there is a reference to a table in the help context, but the table is not displayed. I have the tables in my IPF/INF output, and…

    Graeme Geldenhuys, Michael Van Canneyt
    2
  42. OO rewrite - technical questions

    One requirement in a transformation into OOP is the replacement of all affected procedures by methods, and of many (currently global) reference variables by class…

    Hans-Peter Diettrich, Aleksa Todorovic, Daniël Mantione
    115
  43. Proposal: Enhanced replacement for assignment operators

    I would like to propose an enhanced replacement for the special assignment operators += -= *= and /= : More pascal-like would be constructs of the form "operator :="…

    Unknown author, Adem, Alexander Klenin
    87
  44. Proposal: Multiple assignments

    probably this is not really new stuff, but... May I propose multiple assignments, e.g. a,b:=0; or a,b += c+d; The right hand expression should be evaluated once and…

    Unknown author, Alexander Klenin, Marcos Douglas
    10
  45. Debugger problem

    I've installed Lazarus 0.9.28 (with FPC 2.2.4) 64 bit on Win7/64. Here gdb works. Then I built and installed FPC 2.5 (trunk) for further use. The compiled apps (64 bit)…

    Hans-Peter Diettrich, Jonas Maebe, Marc Weustink
    8
  46. buildfaq

    I've some problems with building and testing an new compiler. 1) The buildfaq mentions both PP= and FPC= for the compiler, to be used by Make. It should be made clear…

    Hans-Peter Diettrich, Florian Klaempfl, Henry Vermaak
    25
  47. File search

    IMO the file search performance can be improved, in detail for files to compile. Currently FileExists is called for every possible directory, name case and possible…

    Hans-Peter Diettrich, Jonas Maebe
    2
  48. fpdoc: version tag in XML Description file

    What or when is the 'version' tag used for in the XML Description file. I haven't seen any files use this tag, but I see it is coded for in the fpdoc application. -…

    Graeme Geldenhuys, Michael Van Canneyt
    1
  49. Some proposals

    Hello! I recently put other proposals on http://wiki.freepascal.org/Talk:Modernised_Pascal. However I am not sure whether this is the right place to put this. The forum…

    Unknown author, Mark Morgan Lloyd
    1
  50. fpdoc + XML description file + indentation whitespace

    What is supposed to happen with whitespace in the XML Description files. For example. Say you edit an XML file with your favourite text editor, and you have a long…

    Graeme Geldenhuys, Michael Van Canneyt
    1