Sign in Join

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

Mailing lists / fpc-devel

fpc-devel · 2011-12

  1. Bug 18702

    Seems like it that bug 18702 has nothing to do with my changes to the stack-balancing code, and that nested function proc's never functioned well on Windows. The problem…

    Joost van der Sluis
    1
  2. Pointer cache for fast class/pointer access.

    *** Short version (more technical) ***: Pointers to classes should be stored in a CPU or GPU pointer cache to prevent the pointer from being pushed out of the cache by…

    Skybuck Flying, Florian Klaempfl, Florian Klämpfl
    41
  3. Misterious error

    I'm now running: Lazarus 0.9.31 r34428 FPC 2.7.1 i386-win32-win32/win64 r19895 With this setup something strange is happening in a project of mine, when I close the…

    José Mejuto, Jonas Maebe, Sergei Gorelkin
    15
  4. fixes branch version update (2.5.1 -> 2.6.1)

    Subject says it all, yesterday the version of the fixes branch was upped to 2.6.1. Merging will resume probably a few days after the 2.6.0 release, starting with…

    Marco van de Voort
    0
  5. -Oodfa

    Florian wrote at http://bugs.freepascal.org/view.php?id=20907 Is that documented somewhere ? Is that production read or beta? fpc -i only lists:

    Martin, Florian Klämpfl, Jonas Maebe
    10
  6. JVM: Question regarding converted Java code

    Hello Jonas! Today I've converted a third party jar file using javapp, which went without problems so far (I only need to convert another jar file, because there is a…

    Sven Barth, Flávio Etrusco, Jonas Maebe
    5
  7. Import typelib extension

    I'm in the middle of adding to the typelib importer the automatic generation of a component implementing a sink for the events created by the com object. It'll use the…

    Ludo Brands, Marco van de Voort
    2
  8. encoding for file names in fpc messages

    What encoding does fpc use for file names in messages? Mattias

    Mattias Gaertner, Florian Klämpfl
    1
  9. Stack alignment on i386

    to interface with c libraries containing SSE code, the stack must be aligned to 16 bytes. Currently the default -mpreferred-stack-boundary=num of gcc provides for this.…

    Den Jean, Florian Klaempfl, Hans-Peter Diettrich
    25
  10. Cant' compile trunk

    I can't compile trunk: [.......] make[1]: Entering directory `F:/fpc/svn/utils/importtl' F:/fpc/fpc/2.4.4/bin/i386-win32/ppc386.exe -Fu../../rtl/units/i386-win32 -FE.…

    José Mejuto, Unknown author
    2
  11. importtl - importing typelib

    Fyi Recently, a type lib importer was added to FPC, made by Ludo. I've played a bit, by running them against all TLBs on my, and in some of the larger tlbs there are…

    Marco van de Voort, Ludo Brands, Michael Van Canneyt
    2
  12. What is a "static" function?

    What is a "static" function? class function red_(para1: jint): jint; static; external name 'red'; overload; see jvmbackend/rtl/android/jvm/androidr14.inc line 4027…

    Mattias Gaertner, Jonas Maebe
    2
  13. JVM: class of XYZ => java.lang.Class

    Hello Jonas! I'm getting along quite well with implementing my first real Android application, but now I've hit a little problem: to start a new activity I need to pass…

    Sven Barth, Jonas Maebe
    9
  14. Limitations of static "ranged" integer types and succ/pred, and dynamic solution.

    (Delphi limitation, but probably applies to free pascal as well): Take following examples: Tvalue = smallint; or Tvalue = word or Tvalue = 0..5000; ^ All of these…

    Skybuck Flying, Hans-Peter Diettrich, Marco van de Voort
    10
  15. Paramstr trailing spaces, bug or not?

    With this command-line: "fpmake --prefix=bla --baseistall=test" paramstr(1) gives "--prefix=bla ". Thus with the trailing space. Is this a bug or a feature? Joost My…

    Joost van der Sluis, Marco van de Voort, Pierre Free Pascal
    11
  16. fpc translations

    How does the localization of fpc work? Is there only the -Fr parameter or is there more? Does the compiler convert the encoding? I guess the files in fpc/compiler/msg…

    Mattias Gaertner, Michael Van Canneyt
    1
  17. arm embedded on 2.6.0rc1

    I have been trying to cross-compile arm embedded for a cortexm3 using 2.6.0rc1. I had this working previously with 2.4.0 and stellaris controllers. Following the…

    Geoffrey Barton, Jeppe Græsdal Johansen
    3
  18. More namespace issues

    Polymorphism and Namespaces don't work. http://bugs.freepascal.org/view.php?id=20940 Is a fix something I can expect shortly? Just want to know how serious the issue is…

    Andrew Brunner
    0
  19. New FPC JVM snapshot: Android support

    A new FPC JVM snapshot has been put online at http://wiki.freepascal.org/FPC_JVM The main new feature is full fledged support for Android/Dalvik, including a Pascal…

    Jonas Maebe, Alexander Shishkin, Andrew Haines
    30
  20. Determin file size - how?

    I wonder how to obtain the size of an file on disk. The only function I could find so far is FileSize, which requires an open File, but nothing for an file name :-( ATM…

    Hans-Peter Diettrich, Felipe Monteiro de Carvalho, Graeme Geldenhuys
    77
  21. MakeSkel and FPDoc projects

    When MakeSkel shall use FPDoc projects, this can be achieved by adding something like: procedure LoadProject(const Arg: string); begin ProjectName := Arg; Project :=…

    Hans-Peter Diettrich, Mattias Gaertner, Michael Van Canneyt
    16
  22. Re: Determin file size - how?y

    In fact it seems to be the CHM viewer that (AFAIK) (other than the INF viewer) does not work on multiple files at the same time. Of course I agree. multiple files are…

    Michael Schnell
    0
  23. Problems with namespaces and structs

    class storage class Folders Type Item=record end; PItem=^TItem TItems=array of PItem Variables in some other unit compile OK. ---- in some other unit: type…

    Andrew Brunner, Hans-Peter Diettrich, Paul Ishenin
    4
  24. NowUTC in the RTL

    I would like to add NowUTC to SysUtils as we have already discussed previously. I think that the need for adding this should be of common knowledge for all after the…

    Felipe Monteiro de Carvalho, Hans-Peter Diettrich, Helmut Hartl
    96
  25. Cross compile from linux to wince-arm

    i remember some time ago i read here in the list that someone had managed to create tool chain to cross compile wince arm from linux. As i can't find any info in the…

    Dimitrios Chr. Ioannidis, Graeme Geldenhuys
    1
  26. MakeSkel etc. programs

    I just tried to extend the programs in the fpdoc folder, morphing the program files into unit files by conditional compilation: {$IFDEF DoDi} unit ...; interface {$ELSE}…

    Hans-Peter Diettrich, Michael Van Canneyt
    3
  27. Bad links in RTL docs

    FPDoc doesn't find targets for these links: math.TRoundToRange - range types never become part of the documentation! type TRoundToRange = -37..37; I suspect that fpdoc…

    Hans-Peter Diettrich, Marco van de Voort, Michael Van Canneyt
    3
  28. Makeskel errors on Windows

    Makeskel expects another(?) semicolon after win\wininc\func.inc: function GetRandomRgn(aHDC: HDC; aHRGN: HRGN; iNum: WINT): WINT; stdcall; external 'gdi32'; function ...…

    Hans-Peter Diettrich, Marco van de Voort, Michael Van Canneyt
    17
  29. TFPCustomCanvas Expanded Clipping

    I am facing a problem with clipping in TFPCustomCanvas because it has these properties: property ClipRect : TRect read GetClipRect write SetClipRect; property Clipping :…

    Felipe Monteiro de Carvalho, Hans-Peter Diettrich, Mattias Gaertner
    31
  30. FPDoc parser doesn't handle forward declarations properly?

    In my current tests I found empty classes (no members listed), e.g. Classes.TFPList. The Declaration shows: Source position: classesh.inc line 170 type TFPList = class…

    Hans-Peter Diettrich, Graeme Geldenhuys, Marco van de Voort
    18
  31. Lazarus svn commits fail but work

    Since maybe 1 or 2 days every commit that I make in Lazarus fails: Commit F:\Programas\lazarussvn\lcl\customdrawn_common.pas…

    Felipe Monteiro de Carvalho
    1
  32. How to build the fcl now?

    Previously I would just build things I work with on fpc trunk with my usual compiler and RTL (against recomendation, but it worked), but now the new build system seams…

    Felipe Monteiro de Carvalho
    0
  33. fpdoc project options

    Currently fpdoc stores many options in the project files, but this can cause problems. Once a boolean option is stored as True, e.g. <option name="hide-protected"…

    Hans-Peter Diettrich, Graeme Geldenhuys, Marco van de Voort
    10
  34. ?

    in the function TCustomJSONRPCDispatcher.FormatResult the Result:=TJSONObject.Create(['result',Return,'error',TJSonNull.Create,transactionproperty,ID.Clone]); i think…

    Dimitrios Chr. Ioannidis, Unknown author
    3
  35. Errors with make rtl.chk on Windows

    See Mantis #20786 for details. The first problem was the use of single quotes in the generated fpdoc commandline, which are not handled properly by the Windows shell. I…

    Hans-Peter Diettrich, Graeme Geldenhuys, Marco van de Voort
    52
  36. Compiling fpdoc

    I'm not yet familiar with the new string model, and compiling fpdoc results in a lot of Unicode conversion warnings. When somebody tries to eliminate these warnings,…

    Hans-Peter Diettrich
    0
  37. RTL docs missing links

    FPDoc issues many warnings about unknown link targets. Some of these seem to result from intrinsic types, e.g. for PSmallInt the target SmallInt does not exist. It…

    Hans-Peter Diettrich, Graeme Geldenhuys, Mattias Gaertner
    7
  38. FPDoc projects future

    In my review of the fpdoc project option some questions popped up. The most important question: should fpdoc be usable for creating online help only, or should it also…

    Hans-Peter Diettrich, Felipe Monteiro de Carvalho, Graeme Geldenhuys
    23
  39. fpdoc --input parameter suggestion

    I was playing around this morning with my console app that can generate a script/batch file to generate documentation for fpGUI. The content of the script file is every…

    Graeme Geldenhuys, Hans-Peter Diettrich
    1
  40. FPDoc improvements

    I just implemented and option to create an XML project from the commandline arguments. This should allow to create projects from the scripts and Makefiles, used to build…

    Hans-Peter Diettrich, Graeme Geldenhuys, Jonas Maebe
    27