fpc-devel · 2007-11
- zstream, fpc and lazarus29
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…
- Controlling the output of the widestring manager36
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…
- interfaces vs classes in dll25
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…
- Problems getting a arm cross-compiler for symbian4
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:…
- {$Interfaces Corba} and TInterfacedObject56
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…
- compile fpc for i386 from a 64 bit machine15
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:…
- latest translation of errorhe.msg and errorheu.msg (a diff file)0
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…
- WideString and cwstring unit3
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…
- WideString version of TStringList1
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…
- A patch for external assembler output1
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…
- Tiny fix for codegenerator1
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…
- Widestring and reference counting4
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.…
- Conflict between Class Method Name and Local Function Name0
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…
- SQLdb: bug added with a bugfix port (FPC 2.2.0 + fixes)8
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…
- fpmkunit patch3
The following patch fixes a broken TTarget.Mode. Darius
- Re: .NET Reflection vs RTTI31
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…
- NullAsStringValue definition5
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…
- TSQLTimeStamp definition1
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…
- RTTI's GetPropValue returns corrupt Boolean value7
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…
- Re: Project inspector files sort order0
* Andrey Gusev [Tue, 20 Nov 2007 15:57:08 +0300]: snap is attached.
- ShowModal / Application.Idle problem7
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…
- Improved compiler speed by 20%6
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…
- daemonapp 100% cpu easting fix20
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…
- Notice: Possible copyright infringements in FPC code base2
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…
- Re: Test fails under FPC but passes under Delphi0
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…
- A bug with temp allocation?1
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…
- performance tests: reference counted vs non-reference counted18
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…
- Off topic: bounce messages etc.0
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
- Lazarus IDE searching units overwiev inquire (issue#10176 successor)21
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…
- Freepascal Webpage seems down4
http://www.freepascal.org/ and http://svn.freepascal.org seem down. regards.
- copyright infringement in FPC code27
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…
- fpmkunit7
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…
- Apache header translation Patch15
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.
- fpdoc TOC link in HTML output6
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…
- NotifyIconData not flexible enougth6
The _NOTIFYICONDATA structure and other similar ones on ShellAPI have different versions choosen based on IFDEFs: _NOTIFYICONDATAA = record cbSize …
- SetLength() vs := ''2
Is SetLength(StringVar, 0); faster than StringVar := ''; ? I see quite a bit of code in fpdoc use SetLength() rather than := '' so I just wondered... -…
- Debugln() using details question.1
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…
- Dnamic packages support56
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…
- Attachments2
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…
- libsndfile full working code1
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…
- Solaris X861
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…
- Re: Why TSemaphore not implemented for Win32?1
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…
- errorhe translations2
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).…
- Adding new targets to the compiler help screen3
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…
- Contribute libfam/gam binding to FPC0
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/
- Seems gtk2 package contains small bug in declaration of TGtkScrolledWindow5
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…
- More on arm4, armi and thumb8
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…
