Re: [fpc-devel] Some Dataset and Variants patches
Any reason to re-implement the tempbuffer? Or were you just using an older version? Please give me more datails (history) about tempbuffer. Well, it was an empty procedure. But no-one had a clue where it was used for. Probably it had something to do with some very old fpc-TDataset- descendents. So it got removed. But if you can find a reason to keep it there... Maybe that ZEOS uses it? I can look deeply into ZeosLib and find out why it needs tempbuffer. Patch with constraints and tempbuffer is really not important. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Some Dataset and Variants patches
It seems that there are many delphi compatible components left that use tempbuffer. I have myself reintroduced this function instantly, becouse it is used in filtering/searching operations by my dataset component. Since this function exists in delphi and it is used by some components, i see no reason not to have it in fpc. Ok, forget my last message then, i'll re-implement it. Do you also know what it should do? Regards, Joost ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Some Dataset and Variants patches
On 9/19/05, Joost van der Sluis [EMAIL PROTECTED] wrote: It seems that there are many delphi compatible components left that use tempbuffer. I have myself reintroduced this function instantly, becouse it is used in filtering/searching operations by my dataset component. Since this function exists in delphi and it is used by some components, i see no reason not to have it in fpc. Ok, forget my last message then, i'll re-implement it. Do you also know what it should do? Regards, Joost Function TDataset.TempBuffer: PChar; begin Result := FBuffers[FRecordCount]; end; The result of this function is used in filtering/searching operations. Alex ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Some Dataset and Variants patches
Alexandrov Alexandru wrote: On 9/16/05, Joost van der Sluis [EMAIL PROTECTED] wrote: Any reason to re-implement the tempbuffer? Or were you just using an older version? regards, Joost. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel It seems that there are many delphi compatible components left that use tempbuffer. I have myself reintroduced this function instantly, becouse it is used in filtering/searching operations by my dataset component. Since this function exists in delphi and it is used by some components, i see no reason not to have it in fpc. But relying in a function that does nothing / not implemented / acts different from Delphi can lead to problems. Luiz ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Some Dataset and Variants patches
Any reason to re-implement the tempbuffer? Or were you just using an older version? regards, Joost. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Some Dataset and Variants patches
On Fri, Sep 16, 2005 at 04:21:16PM +0200, Joost van der Sluis wrote: Any reason to re-implement the tempbuffer? Or were you just using an older version? Please give me more datails (history) about tempbuffer. I can look deeply into ZeosLib and find out why it needs tempbuffer. Patch with constraints and tempbuffer is really not important. Petr -- Ing. Petr Kristan . EPOS PRO s.r.o., Bozeny Nemcove 2625, 530 02 Pardubice tel: +420 466335223Czech Republic (Eastern Europe) fax: +420 466510709 ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel
Re: [fpc-devel] Some Dataset and Variants patches
On 9/16/05, Joost van der Sluis [EMAIL PROTECTED] wrote: Any reason to re-implement the tempbuffer? Or were you just using an older version? regards, Joost. ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel It seems that there are many delphi compatible components left that use tempbuffer. I have myself reintroduced this function instantly, becouse it is used in filtering/searching operations by my dataset component. Since this function exists in delphi and it is used by some components, i see no reason not to have it in fpc. Alex ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel