Sign in Join

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

Mailing lists / lazarus / 2003-09

New DB Test APP for FCL Fixes

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrew Johnson

Thanks you are correct.. seems I am a few weeks outa date :)

Grabbing a new FCL from CVS now, and wil try and remember to sync it more often.

Andrew

Earlier message 27 lines
-----Original Message----- From: Sent: Sep 16, 2003 12:32 PM To: Subject: Re: [lazarus] New DB Test APP for FCL Fixes On Tue, 16 Sep 2003, Andrew Johnson wrote: > I made a new test app(mostly the same form as before) this time including both LCL dbctrls and FCL db, with changes toward improving db. I want to make sure the basic changes I am doing to the fcl itself are working before I submit a patch, plus obviously not everyone is going to want to recompile the FCL just to test DB controls :) > > What I have started to do is implement TDataset.SetFields/InsertRecord TField.Assign/AssignValue/MaskEdit/Text and I have moved TFieldDataLink over, using a FocusRequest Callback which the db controls that need to be updated then assigns(eg. editable TWinControls like TDBEdit, but not TDBText). Since a few of the changes (minor though they be) to the DBCtrls, require these changes to DB, I am not submitting them to lazarus CVS just yet. I've been checking out the FCL part. Looks good for the most part. I suggest you update your local FCL sources from CVS before continuing. There have been some changes to database.inc et al. which you don't have in your local copy. If you wait, it may get harder to fold back changes to the FCL... Michael. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Unknown author
to Andrew Johnson: I made a new test app(mostly the same form as before) this time including both LCL…
Andrew Johnson wrote
I made a new test app(mostly the same form as before) this time including both LCL dbctrls and FCL db, with changes toward improving db. I want to make sure the basic changes I am doing to the fcl itself are working before I submit a patch, plus obviously not everyone is going to want to recompile the FCL just to test DB controls :) What I have started to do is implement TDataset.SetFields/InsertRecord TField.Assign/AssignValue/MaskEdit/Text and I have moved TFieldDataLink over, using a FocusRequest Callback which the db controls that need to be updated then assigns(eg. editable TWinControls like TDBEdit, but not TDBText). Since a few of the changes (minor though they be) to the DBCtrls, require these changes to DB, I am not submitting them to lazarus CVS just yet.

I've been checking out the FCL part. Looks good for the most part.

I suggest you update your local FCL sources from CVS before continuing. There have been some changes to database.inc et al. which you don't have in your local copy. If you wait, it may get harder to fold back changes to the FCL...

Michael.

Reply by email

Andrew Johnson

I made a new test app(mostly the same form as before) this time including both LCL dbctrls and FCL db, with changes toward improving db. I want to make sure the basic changes I am doing to the fcl itself are working before I submit a patch, plus obviously not everyone is going to want to recompile the FCL just to test DB controls :)

What I have started to do is implement TDataset.SetFields/InsertRecord TField.Assign/AssignValue/MaskEdit/Text and I have moved TFieldDataLink over, using a FocusRequest Callback which the db controls that need to be updated then assigns(eg. editable TWinControls like TDBEdit, but not TDBText). Since a few of the changes (minor though they be) to the DBCtrls, require these changes to DB, I am not submitting them to lazarus CVS just yet.

http://ajgenius.us/random/LCLDBTest2.tar.gz

Anyone who wishes to help please test, and maybe make other changes to fix broken implentations, or add functions etc.

Andrew

P.S. I am also having wierd, as yet untraceable/semi-unproducable errors with the SetFields and Array of Const which can cause segfaults and overall general corruption. I tried playing with misc settings but nothing improved, I am wondering if this is something wierd with the system I made the changes on, because I just tried compiling it on another system(same compiler et al) and it hasn't happened again. If anyone else has similar issues, let me know, otherwise I am going to be upgrading and reinstalling things on that system soon anyway and we will see... :)

Reply by email