Sign in Join

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

Mailing lists / fpc-devel

fpc-devel · 2007-11

  1. zstream, fpc and lazarus

    Hello, FPC developers' list. Lazarus crashes with latest fpc (trunk). I found that reason in zstream. TDecompressionStream must reset position of Source stream if Seek…

    Paul Ishenin, Daniël Mantione, Michael Van Canneyt
    29
  2. Controlling the output of the widestring manager

    Today I took a look at what would be necessary to implement controlling the output of the widestring manager, and implementing this looks rather trivial. The only thing…

    Felipe Monteiro de Carvalho, Daniël Mantione, Florian Klaempfl
    36
  3. interfaces vs classes in dll

    Lazarus has the IDEIntf, the API for IDE plugins. What is better in this case: classes or interfaces? What if someday there are packages? What if someday there is a…

    Mattias Gaertner, Daniël Mantione, Felipe Monteiro de Carvalho
    25
  4. Problems getting a arm cross-compiler for symbian

    I just added symbian arm target and I tryed to build a cross-compiler using a modification of my old script to build the symbian-x86 compiler:…

    Felipe Monteiro de Carvalho, Jonas Maebe
    4
  5. {$Interfaces Corba} and TInterfacedObject

    I previously asked what is the difference between the supported $Interfaces types. eg: Corba vs COM. interfaces are NOT reference counted. So what do I use to create…

    Graeme Geldenhuys, Florian Klaempfl, Joao Morais
    56
  6. compile fpc for i386 from a 64 bit machine

    Hi... I need to cross-compile an application in a 64 bit environment, (fully working with lazarus 0.9.23 and FPC 2.2.1), for 32 bits archs. I tryed to follow this guide:…

    Alvise Nicoletti, Daniël Mantione, Florian Klaempfl
    15
  7. latest translation of errorhe.msg and errorheu.msg (a diff file)

    I hope you will apply this patch ... Ido "There once was a virtualization coder, Whose patches kept getting older, Each time upstream would drop, His documentation would…

    ik
    0
  8. WideString and cwstring unit

    If I want to use WideString, when would I need the cwstring unit? Is it for multiple platform usage (including Windows)? I'm currently developing under Linux, but my…

    Graeme Geldenhuys, Marco van de Voort, Michael Van Canneyt
    3
  9. WideString version of TStringList

    I want to convert code to using WideString and my existing code uses TStringList a lot. Is it needed to create a TWideStringList implementation? Would FPC be…

    Graeme Geldenhuys, Michael Van Canneyt
    1
  10. A patch for external assembler output

    I found and fixed at least four issues with MASM assembler output: - garbage was being output sometimes instead of source lines when compiling with -al. This is because…

    Sergei Gorelkin, Peter Vreman
    1
  11. Tiny fix for codegenerator

    I was wondering why Pascal statements like "Inc(SomePointer, sizeof(WideChar))" are compiled into two assembler commands (mov ecx,2; add [location],ecx). I found out…

    Sergei Gorelkin, Jonas Maebe
    1
  12. Widestring and reference counting

    I was reading a article on Delphi's WideString support. It mentions that under Delphi, WideStrings are not reference counted, but under Kylix they are.…

    Graeme Geldenhuys, Martin Schreiber, Mattias Gaertner
    4
  13. Conflict between Class Method Name and Local Function Name

    Since upgrading to Lazarus 0.9.24 which uses FPC 2.2.0, there seems to be a change in behaviour which is not listed in…

    Andrew LESH
    0
  14. SQLdb: bug added with a bugfix port (FPC 2.2.0 + fixes)

    Hi... I wrote some mails to Joost van der Sluis notifying that there is a strange bug in FPC 2.2.1 ( http://svn.freepascal.org/svn/fpc/branches/fixes_2_2 ) regarding…

    Alvise Nicoletti, Joost van der Sluis
    8
  15. fpmkunit patch

    The following patch fixes a broken TTarget.Mode. Darius

    Darius Blaszijk, Peter Vreman
    3
  16. Re: .NET Reflection vs RTTI

    He's not alone :-) . I used RTTI to avoid defining an additional constant array of strings to have a unit output debug information for enumerated types. Otherwise I…

    Michael Schnell, Bram Kuijvenhoven, Daniël Mantione
    31
  17. NullAsStringValue definition

    Does FPC have the 'NullAsStringValue' variable defined anywhere? I'm porting code from Delphi, which uses it. I had a look in my Kylix 3 help and it's mentioned there…

    Graeme Geldenhuys, Michael Van Canneyt
    5
  18. TSQLTimeStamp definition

    I'm using FPC 2.2.0 so ain't sure if it exists in a FPC trunk version. Does FPC have a TSQLTimeStamp record structure? Again, I'm porting a Delphi project which uses…

    Graeme Geldenhuys, Michael Van Canneyt
    1
  19. RTTI's GetPropValue returns corrupt Boolean value

    I've included a program that shows the problem. I'm using FPC 2.2.0 under Linux on a Intel P4. I've got a function PropertyMatch() which returns true or false if a given…

    Graeme Geldenhuys, Joao Morais, Michael Van Canneyt
    7
  20. Re: Project inspector files sort order

    * Andrey Gusev [Tue, 20 Nov 2007 15:57:08 +0300]: snap is attached.

    Andrey Gusev
    0
  21. ShowModal / Application.Idle problem

    TCustomForm.ShowModal() implementation have call to Application.Idle() after closing form, for what ?? background: My some forms idle tasks have appeal to form's visual…

    Andrey Gusev, Mattias Gaertner
    7
  22. Improved compiler speed by 20%

    I have spent some time to profile the compiler using callgrind, and was able to improve its speed by about 20%. Attached are the changes that I made to the sources. Some…

    Sergei Gorelkin, Florian Klaempfl, Lee
    6
  23. daemonapp 100% cpu easting fix

    While using the daemonapp.pp unit to code a daemon, I've found that applications that it eat 100% of the CPU. After tracking and debugging, I've found out that the…

    Steve Howe, Alvise Nicoletti, Bogusław Brandys
    20
  24. Notice: Possible copyright infringements in FPC code base

    The FPC team has been recently made aware that a number of routines in the Classes unit are apparently based on code originally from Borland/CodeGear. After someone…

    Michael Van Canneyt, Graeme Geldenhuys
    2
  25. Re: Test fails under FPC but passes under Delphi

    Here is a variation of the test above and it also never works under FPC, but does under Delphi. procedure TTestTIBaseObject.ValidFail2; var LO : TtiBaseObject; begin…

    Graeme Geldenhuys
    0
  26. A bug with temp allocation?

    I have noticed a strange thing with FPC-generated assembler code. The Pascal code is very simple: program test; {$mode objfpc}{$h+} type TObj = class(TObject) public…

    Sergei Gorelkin, Peter Vreman
    1
  27. performance tests: reference counted vs non-reference counted

    We have implemented a BaseObject class in the tiOPF project that can be reference counted or not. Based on the constructor used. What was really strange was when we…

    Graeme Geldenhuys, Jonas Maebe, Luiz Americo Pereira Camara
    18
  28. Off topic: bounce messages etc.

    I was "the person below", and I'd like to apologise, explain, and have a very subdued rant. First, an apology. Something went wrong in a script on our site and it bounced

    Mark Morgan Lloyd
    0
  29. Lazarus IDE searching units overwiev inquire (issue#10176 successor)

    Is somebody (the kind people), who can explain to me about IDE searching units process details ? More concrete: which IDE tunables affects to searching units by IDE (or…

    Andrey Gusev, Mattias Gaertner, Mattias Gärtner
    21
  30. Freepascal Webpage seems down

    http://www.freepascal.org/ and http://svn.freepascal.org seem down. regards.

    Den Jean, Andrey Gusev, Jonas Maebe
    4
  31. copyright infringement in FPC code

    For those that don't follow the Lazarus mailing list. It was brought to our attention by a ex-Borland employee (Steve Trefethen), that FPC contains some stolen code from…

    Graeme Geldenhuys, Alvise Nicoletti, Bee
    27
  32. fpmkunit

    I've been playing around with fpmake again and came to the conclusion that it exhibits some strange behavior (at least I think so) The -v option gave me the following…

    Darius Blaszijk, Mattias Gaertner, Peter Vreman
    7
  33. Apache header translation Patch

    These patchs correct the cmd_func type in http_config.inc : - 2.2-http_config.inc.diff for apache 2.2 - 2.0-http_config.inc.diff for apache 2.0 Thanks Inoussa O.

    Inoussa OUEDRAOGO, Felipe Monteiro de Carvalho, Jonas Maebe
    15
  34. fpdoc TOC link in HTML output

    I have the same annoyance with my generated docs for fpGUI, but I'll the FPC html docs as an example. The Free Pascal TOC page is…

    Graeme Geldenhuys, L, Michael Van Canneyt
    6
  35. NotifyIconData not flexible enougth

    The _NOTIFYICONDATA structure and other similar ones on ShellAPI have different versions choosen based on IFDEFs: _NOTIFYICONDATAA = record cbSize …

    Felipe Monteiro de Carvalho, Giulio Bernardi, Marco van de Voort
    6
  36. SetLength() vs := ''

    Is SetLength(StringVar, 0); faster than StringVar := ''; ? I see quite a bit of code in fpdoc use SetLength() rather than := '' so I just wondered... -…

    Graeme Geldenhuys, Daniël Mantione, Michael Van Canneyt
    2
  37. Debugln() using details question.

    May i use debugln() to put messages on screen (to separate window, console, or whatever) ? I mean normal function mode (non-debugging) of Lazarus IDE. This question…

    Andrey Gusev
    1
  38. Dnamic packages support

    Reading a post in "public.mseide-msegui.talk", the mseide discussion list, I found this: "Florian has committed the beginning of dynamic packages support". With "Dynamic…

    Leonardo M. Ram�, Bogusław Brandys, Daniël Mantione
    56
  39. Attachments

    Are you planning to create a new list with Attachments enabled? or enabling them in this list? Yesterday I'd try to post a response with a code example and never was…

    Leonardo M. Ram�, Daniël Mantione
    2
  40. libsndfile full working code

    I'm sending a tar file with a full working copy of libsndfile (fpc/packages/extra/sndfile). Please note that it is not a patch, and it will extract file to the directory…

    ik
    1
  41. Solaris X86

    My company bought an amazing Sun Ultra 40 M2 Workstation, with two Opteron processors and Solaris 10 installed. This machine will be used as a demo server for a third…

    Leonardo M. Ram�, Jonas Maebe
    1
  42. Re: Why TSemaphore not implemented for Win32?

    AFAIK TSemaphore is just an alias to different semaphore names on different unixes. So it would never work on Win32 by definition. No it's not. It's a Windows API. It's…

    Felipe Monteiro de Carvalho, willem
    1
  43. errorhe translations

    Hello I'm attaching here diff files for errorhe.msg and errorheu.msg files. I think that some of the translation are prior to 2.2.0 (I haven't translated for a while).…

    ik, Florian Klaempfl, Leonardo M. Ram�
    2
  44. Adding new targets to the compiler help screen

    I was taking a look at how to add new target options to the compiled help screen (the one that appears when you just type "fpc"). Am I correct to assume that one must…

    Felipe Monteiro de Carvalho, Florian Klaempfl
    3
  45. Contribute libfam/gam binding to FPC

    I have binded the libfam into FPC, and I wish to contribute it to the FPC packges/extra. So, can I contribute it to the FPC packages ? Ido http://ik.homelinux.org/

    ik
    0
  46. Seems gtk2 package contains small bug in declaration of TGtkScrolledWindow

    Hello, FPC developers' list. I checked and indeed flag0 must be 4 byte (longint) instead of 2 byte (word) under windows (at least under win32). I looked at gtk1…

    Paul Ishenin, Yury Sidorov
    5
  47. More on arm4, armi and thumb

    It seams that building arm4 software isn't supported for Symbian OS. At least for third-party software, and any example build for it crashes on startup. So I was…

    Felipe Monteiro de Carvalho, Florian Klaempfl, Marco van de Voort
    8