Sign in Join

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

Mailing lists / fpc-devel

fpc-devel · 2005-06

  1. Small Wstrings problem

    Thanks for fixing bug 4118. I had to apply the attached patch to get the current svn to compile under linux Colin

    Colin Western, Florian Klaempfl, Martin Schreiber
    36
  2. Fedora Core 4

    I found two minor problems (so far) on Fedora Core 4 (current svn): 1. The "Copyright:" tag must be "License:" in the fpc.spec file. (Apparently "Copyright:" has been…

    Colin Western, Jonas Maebe, Joost van der Sluis
    9
  3. www.freepascal.org is back

    and everything should work fine again though at least I lost some mails when it came back because it ate some mails while the mail system wasn't properly configured ...

    Florian Klaempfl, Christian Iversen, Gerhard Scholz
    22
  4. TFPWriterPNG patch

    The attached fixes a 32 bit overflow problem when writing PNG files using 16 bits per colour Colin

    Colin Western, Michael Van Canneyt
    1
  5. Lazarus instability on windows caused by widestrings?

    I am investigating some instabilities of lazarus and stumbled on the following (from UTF8Decode). var hs: widestring; begin SetLength(hs,20); SetLength(hs,8); end; In…

    Vincent Snijders, Florian Klaempfl
    2
  6. Generic Programming Units

    This is a repost of an earlier response to another thread. I did not recieve any response so I am posting this in its own thread. I have several old books (circa 1991),…

    John Briggs, Bram Kuijvenhoven, Dean Zobec
    24
  7. GetText patch #2

    This patch (ment for 2.1.1) cleans some of my old unnecessery mess but more importantly adds the GetLanguageIDs() method. This way, you can see what language was/will be…

    Ales Katona, Peter Vreman
    1
  8. TFPObjectList patch

    This patch adds TFPObjectList to contnrs. It's a descendent of TFPList and uses same tricks to gain speed.(inline etc.) I've tested with bubblesort and it was 1/3 faster.

    Ales Katona, Michael Van Canneyt
    1
  9. ExceptAddr, but no ExceptFrameCount and ExceptFrames

    Sysutil has a function ExceptAddr to current exception address, but no corresponding functions to get the frame count and the frames of the current exception. Are these…

    Vincent Snijders, Florian Klaempfl, Michael Van Canneyt
    8
  10. leak in destroy

    i found a memory leak when calling Destroy explicitly. the leak is in 1.9.8 and 2.0 has anyone seen this? here is an example: program mem3; {$mode objfpc}{$H+} type…

    mariano podesta
    0
  11. OpenGL patch, final(I hope)

    Ok this patch does the following: Removes the writeln() in case the library fails to load. If the whole library is not found, it throws an exception which tell the…

    Ales Katona, Florian Klaempfl, Michael Van Canneyt
    3
  12. About Turbo Vision in FreePascal

    Hello, Im from Mexico. Excuseme my bad and wrong English I want to konow if there is a units like Turbo Vision For Borland Turbo Pascal for Free Pascal. There are a…

    Ivàn Caballero Cano, alphax, Christopher Kirkpatrick
    4
  13. OpenGL patch

    Ok so here's the patch. If you feel some things should change, tell me about it. This patch adds "TryLoadGL[u[t]]" and "GL[u[t]]IsLoaded" methods and also "fixes" the…

    Ales Katona, Florian Klaempfl, Micha Nelissen
    3
  14. fpdoc and macros (-Sm)

    I tried fpdoc (fpc 2.0.0,win2000) and it crashes because it seems not to expand macros. Example unit: UNIT fpdoctest1; {$DEFINE HELLO:=//} HELLO WORLD; INTERFACE…

    Stefan Kisdaroczi, Michael Van Canneyt
    1
  15. OpenGL library loading

    I've noticed that openGL libraies are loaded in the initialization section and if the loading fails it writelns something and halts. I think this is innapropriate. I've…

    Ales Katona, Balogh, Karoly (Charlie/iNQ
    1
  16. rtl/win directory

    I am gathering information for fixing the codetools in lazarus with fpc 2.1. There seems to be a new directory: rtl/win. Is it a directory for files shared between win32…

    Vincent Snijders
    0
  17. Re: [MacPascal] FPC with XCode

    Look how e.g. sparc it does. It is moved to cgcpu.fixreg/make_simple_ref and cgcpu.loadaddr: if a symbol with type addr_full is passed, it simply "picifies" it.…

    Florian Klaempfl
    0
  18. Library and unit search paths under MacOSX with fpc 2.0.0?

    I have a "standard release" installation of fpc 2.0.0 under Mac OS X. I installed GTK through fink (as explained in the Lazarus wiki). This has given me GTK 1.2.10. No…

    Tom Verhoeff, Ales Katona, Dr. Karl-Michael Schindler
    12
  19. A variant which stored string convert to DateTime failure in FPC 2.0.0

    A variant which stored string convert to DateTime failure in FPC 2.0.0. There is a simple program can reproduce this problem.…

    alphax, Peter Vreman
    1
  20. gtk2 bugfix gfloat

    A c float is a fpc single, right? If yes, then there was a heavy bug in the gtk2 bindings. Attached patch fixes the gfloat. Mattias

    Mattias Gaertner, Florian Klaempfl, Micha Nelissen
    7
  21. Bug: fpc-svn-392 compile error

    Hi latest version form SVN does not even compile. Is there any plan to have something similar to a mozilla tinderbox? Jan error: /usr/local/bin/ppcppc -dNOMOUSE -Ur…

    Jan Ruzicka, Jonas Maebe, Peter Vreman
    6
  22. Patch to speed up Uppercase/Lowercase functions

    I don't know if rtl-optimilisation patches have a large priority, but nevertheless this patch improves the speed of the sysutils.uppercase and lowercase functions.

    Joost van der Sluis, Christian Iversen, Daniël Mantione
    60
  23. RTTI for interface (2)

    To the compiler developers: In FPC 2.0.0 - Are the fields TTypeData.IntfParent, IID, IIDStr and IntfUnit valid for tkInterface? - Is TTypeData.IntfParent really…

    Martin Schreiber, Florian Klaempfl, Peter Vreman
    4
  24. Inlining recursive functions works - and it's fast too?

    i'm curious what happens here. If I make a recursive funtion inlined, it runs way faster? Ackerman-test results: $ ppc386 -O3p3r -dRecursiveInline ackerman.pp &&…

    Joost van der Sluis, Florian Klaempfl
    1
  25. Re: type discussion

    Also, += and such were created to make it easier to convert C code. If you change this to +:= you do essentially two things: 1) Break existing code 2) Destroy any of…

    Angelo Bertolli, André Cipriani Bandarra, Bisma Jayadi
    53
  26. Interfaced Object leak in inherited Object

    It seems a bug in FPC 2.0.0.(Delphi 7.1 also has this bug) Assumes there is an object(not class) declaration, the object has a IInterface field. If we declare another…

    alphax, Hans-Peter Diettrich, Michael Van Canneyt
    3
  27. out parameters in RTL/FCL

    At the moment there are a lot of warnigns for uninitialised var parameters. Is it possible to replace the 'var' with 'out' specifiers? Can I send patches for that?…

    Mattias Gaertner, Ales Katona, Florian Klaempfl
    17
  28. Fast ascii upper/lowercase

    With all the discussion about speed of lowercase/uppercase recently, I thought I'd chip in. I don't have the time to actually implement and test this, but I hope…

    Christian Iversen, Daniël Mantione, L505
    4
  29. Patch for fpreadpnm

    The attach fixes two problems I found reading pnm files: - RGB files were not being read correctly - byte values of 255 were overflowing. I have adjusted the colour…

    Colin Western, Michael Van Canneyt
    1
  30. RTTI for interface

    I have problems with RTTI for tkInterface. Should it work in FPC 2.0.0? Martin

    Martin Schreiber, Florian Klaempfl
    2
  31. Bug 4004

    Can I ask somebody to have another look at this bug - it was flagged unreproducable on the web system, but I still get it from the current svn as shown below. (Note that…

    Colin Western, Gerhard Scholz, Hans-Peter Diettrich
    12
  32. Bug 4063 Comment

    With the source of 2005-06-11T01:00Z make install compress files and copy the compiled units and some of the binaries (ppc386.exe, fpc.exe, ppufiles.exe, ppumove.exe,…

    Peter J. Haas
    0
  33. Patch to remove 'ifdef virtualpascal' 's from rtl

    this patch removes all the 'ifdef virtualpascal' 's from the rtl. These are remainings of the idea to use the fpc-sysutils for virtualpascal. Joost van der Sluis

    Joost van der Sluis, Florian Klaempfl, Michael Van Canneyt
    2
  34. TStringList.commatext

    I found some errors in TSringList.CommaText and tryed to fix it. For variable sl:TStringList, command sl.CommaText:=sl.CommaText; sometimes changes strings in the list -…

    Martin Pekar, Michael Van Canneyt
    1
  35. Whay I can not post message to the mail list?

    Whay I can not post message to the mail list?

    alphax, Jonas Maebe
    1
  36. BUG: gtk2 unit and GtkFileChooserDialog

    I'm new to FPC and making some tests in the last few days I've found 2 little but annoying bugs: 1) in libglade2 unit the windows dll is referenced as "libglade-2.0.dll"…

    Federico Lox Lucignano, Mattias Gaertner, Micha Nelissen
    8
  37. GetText patch

    This patch makes GetText/TranslateResourceStrings(FileName) work in win32. (it didn't detect the right language under win32 before it worked only in POSIX enviroments)…

    Ales Katona
    1
  38. packages\extra\uuid

    packages/extra/Makefile.fpc adds the uuid package for linux. The packages/extra/uuid/Makefile has: MAKEFILETARGETS=i386-linux Since i386 is not the only linux target a…

    Vincent Snijders, Peter Vreman
    1
  39. gtk2 gdk_draw_pixbuf

    Here is a patch to add the missing gdk_draw_pixbuf function to the gtk2 bindings. Mattias

    Mattias Gaertner, Peter Vreman
    1
  40. Passing consts to const

    Hi The following code snippet gives a compile error: "Error: Can't assign values to const variable". It should be legal, since we are passing a const to a const…

    David Butler, Alexey Barkovoy, Kornel Kisielewicz
    6
  41. FPC 2.0 and Delphi difference in scope of protected class members

    Hi In Delphi the protected members are "visible anywhere in the module where its class is declared and from any descendant class, regardless of the module where the…

    David Butler
    0
  42. Re: type discussion

    I agree. I hate prototyping. That's why you use top-down design. What's wrong with that? Not at all; I certainly don't indent them, and I'm a fanatical indenter. I…

    Angelo Bertolli, Daniël Mantione, Florian Klaempfl
    24
  43. TMySQLConnection.LoadField field length

    The TMySQLConnection.LoadField method from sqldb/mysql does not fetch the field lengths properly. It uses mysql_fetch_field_direct, but this only returns data about an…

    Bram Kuijvenhoven, Joost van der Sluis
    3
  44. compiler/utils/samplecfg, FPCWiki

    In the source repository, the current version for trunk/compiler/utils/samplecfg has a line…

    Tom Verhoeff, Olle Raab
    1
  45. Re: type discussion

    I followed this discussion if that construction (see below) should be allowed or not (I think it should be allowed, but it's possible to live without it; I can imagine…

    Gerhard Scholz, Ales Katona, Christian Iversen
    120
  46. Build 2.0.0 documentation in html format

    before I start re-inventing the wheel I ask it here: If I try to build the documentation using latex2html it complains that ref.htex coudn't be found. If I change the…

    Joost van der Sluis, Marco van de Voort, Michael Van Canneyt
    2
  47. David Intersimone Interview about Freepascal and Lazarus!!!

    David Intersimone Interview about Freepascal and Lazarus!!! http://www.bitwisemag.com/media/video/iv/davidi_june2005/davidi_interview_delphi.wmv go to 3:32

    Unknown author, Christian Keck, Florian Klaempfl
    6
  48. How to manually control debug information

    I'm writting a custom preprocessor and I would like that the line number information maps to the original file. An example (not real, only an example): ...original.pas...

    Nico Aragón, Florian Klaempfl, Ivan Shikhalev
    14
  49. units precedence cthreads, variants

    Hi I'm trying to track down 'Variant Array is locked' bug and during simulation on simple program i found the unit precedence problem.…

    Unknown author
    1
  50. modernizing pascal discussions

    I think we should put these kind of threads to an end. We get several different request which conflict or need a lot of time: - Packages - Better optimizer - Better…

    Peter Vreman, Florian Klaempfl, listmember
    3