Re: [fpc-devel] patch to tdataset

2006-04-17 Thread Alexandrov Alexandru
On 4/17/06, Joost van der Sluis [EMAIL PROTECTED] wrote: On Sun, 2006-04-16 at 20:46 +0300, Alexandrov Alexandru wrote: added GetIndexDefs and InitFieldDefsFromFields, implemented Filed.GetIsIndexField. Hmm.. Delphi (7) doesn't have the GetIndexDefs and InitFieldDefsFromField functions

[fpc-devel] patch to tdataset

2006-04-16 Thread Alexandrov Alexandru
added GetIndexDefs and InitFieldDefsFromFields, implemented Filed.GetIsIndexField. Alex Index: dataset.inc === --- dataset.inc (revision 3232) +++ dataset.inc (working copy) @@ -246,91 +246,91 @@ begin If assigned(FAfterCancel)

Re: [fpc-devel] LocateNext

2006-04-10 Thread Alexandrov Alexandru
On 4/10/06, Joost van der Sluis [EMAIL PROTECTED] wrote: I'm busy implementing TBufDataset.Locate and friends. I had the idea to overload Locate like this: function Locate(const keyfields: string; const keyvalues: Variant; options: TLocateOptions; LocateNext : boolean ) : boolean;

Re: [fpc-devel] fpc_pchar_length error

2005-12-12 Thread Alexandrov Alexandru
On 12/11/05, Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sat, 10 Dec 2005, Alexandrov Alexandru wrote: The following program will rise an error: Adress: $00401493 Procedure: fpc_pchar_length program project1; {$mode objfpc}{$H+} uses Classes; var Buffer: PChar

Re: [fpc-devel] fpc_pchar_length error

2005-12-12 Thread Alexandrov Alexandru
On 12/12/05, Michael Van Canneyt [EMAIL PROTECTED] wrote: On Mon, 12 Dec 2005, Jonas Maebe wrote: On 11 dec 2005, at 22:22, Alexandrov Alexandru wrote: It depends on the specs of length :-) What do you mean with specs? How it is defined to behave in the documentation (i.e

Re: [fpc-devel] fpc_pchar_length error

2005-12-12 Thread Alexandrov Alexandru
On 12/12/05, Michael Van Canneyt [EMAIL PROTECTED] wrote: On Mon, 12 Dec 2005, Jonas Maebe wrote: On 11 dec 2005, at 22:22, Alexandrov Alexandru wrote: It depends on the specs of length :-) What do you mean with specs? How it is defined to behave in the documentation (i.e

[fpc-devel] fpc_pchar_length error

2005-12-10 Thread Alexandrov Alexandru
The following program will rise an error: Adress: $00401493 Procedure: fpc_pchar_length program project1; {$mode objfpc}{$H+} uses Classes; var Buffer: PChar; begin Buffer := Nil; WriteLn(Length( Buffer )); end. is this a bug? Alex ___

Re: [fpc-devel] Some Dataset and Variants patches

2005-09-19 Thread Alexandrov Alexandru
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

Re: [fpc-devel] Some Dataset and Variants patches

2005-09-16 Thread Alexandrov Alexandru
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

[fpc-devel] Fixed date/time formats for sqldb and tdbf?

2005-08-11 Thread Alexandrov Alexandru
Hi In revision 803 log: Fixed date/time formats for sqldb and tdbf I don't understand what is fixed. Beside that, the compatibility with databases that use TDateTimeRec is broken. They used this format before D4 and they still use now for compatibility. D7 can handle this format. FPC no more,

Re: [fpc-devel] Patch to remove useless bookmark store in TDataset.DoInsertAppend

2005-07-25 Thread Alexandrov Alexandru
On 7/24/05, Luiz Américo [EMAIL PROTECTED] wrote: As already commented in the code, the bookmarking done inside TDataset.DoInsertAppend is useless, not to say buggy. It makes 2 records to have the same bookmark data but this is not noticed because the bookmarkdata is set to the correct value

Re: [fpc-devel] DB Bug in 2.0.1?

2005-07-21 Thread Alexandrov Alexandru
On 7/21/05, Michael Van Canneyt [EMAIL PROTECTED] wrote: On Wed, 20 Jul 2005, Tony Maro wrote: Jonas Maebe wrote: On 21 jul 2005, at 00:40, Tony Maro wrote: Can someone confirm the date issue for me? I can't confirm it, but I do want to mention that I fixed all

Re: [fpc-devel] DB Bug in 2.0.1?

2005-07-21 Thread Alexandrov Alexandru
On 7/21/05, Micha Nelissen [EMAIL PROTECTED] wrote: On Thu, 21 Jul 2005 06:51:12 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: Because of the bug report I did some research on this as well. Up to and including D4, a TDateTimeRec was used internally. As of Delphi 5, TDateTime

[fpc-devel] error compiling from current svn

2005-05-24 Thread Alexandrov Alexandru
there is an error compilling in winunits: D:/lazarus/fpcsrc/compiler/ppc386.exe -XX -CX -Xs -OG2p3 -n -FuD:/lazarus/fpcsrc /rtl/units/i386-win32 -FE. -FUunits/i386-win32 -di386 -dRELEASE jwawownt16.pas jwawownt16.pas(55,2) Error: Wrong switch toggle, use ON/OFF or +/- jediapilib.inc(38,2)

Re: [fpc-devel] About TDataSet master/detail design in fpc

2005-05-06 Thread Alexandrov Alexandru
On 5/6/05, Luiz Américo [EMAIL PROTECTED] wrote: Michael Van Canneyt wrote: On Fri, 6 May 2005, Luiz Américo wrote: I noticed that in the current cvs of fpc it's implemented the master/detail relation between TDataset(s). I saw that TDetailDataLink and TMasterDataLink was introduced