Commit Graph

489 Commits

Author SHA1 Message Date
joost
558470b406 + Added check to TParam.SetDataType for empty variants
git-svn-id: trunk@3549 -
2006-05-16 18:27:41 +00:00
joost
8b13640dc6 + implemented TStringField.FixedChar
+ Enabled check for FixedChar in TParam.AssignFieldValue
 + added test for the above
 + added test for TDataset.Close

git-svn-id: trunk@3548 -
2006-05-16 15:15:47 +00:00
joost
9972dc9996 + Removed the usage of a cursor
git-svn-id: trunk@3536 -
2006-05-14 21:14:31 +00:00
michael
32e0de3ba7 + Patch from Bram Kuijvenhoven: optimised storage of zero-length BLOBS
git-svn-id: trunk@3469 -
2006-05-10 09:05:15 +00:00
joost
8b189839aa + if TBufDataset.PacketRecords is set to -1, all records are fetched
+ TBufDataset.RecNo now always returns 0 for new records
 + TBufDataset.Recordcount does not count a new record anymore
 + EOF and BOF must be true when a dataset is created
 + Close does not call CheckBrowseMode anymore
 + Add a check in MoveBy for distance=0
 + MoveBy calls DoBeforeScroll before it does anything else
 + Send the right dataevent in MoveBy (bug 5048)
 + Check for an edit state in Post
 + Fixed NotInEditState error message
 + added the deConnectChange,deReconcileError,deDisabledStateChange TDataEvents
 + Do not send a deFieldListChange event when opening the dataset

git-svn-id: trunk@3463 -
2006-05-09 20:01:59 +00:00
micha
73e6645235 compile fixes: remove UseFloatFields entirely
git-svn-id: trunk@3462 -
2006-05-09 16:23:07 +00:00
joost
7f6f212720 + Temporary fix for compilation
git-svn-id: trunk@3460 -
2006-05-08 20:58:05 +00:00
micha
05f8a1abc3 tdbf cvs updates
git-svn-id: trunk@3459 -
2006-05-08 20:30:25 +00:00
michael
c8fb11776d + Patch from Bram Kuijvenhoven to implement blob field and more verbose errors
git-svn-id: trunk@3458 -
2006-05-08 20:22:20 +00:00
joost
49b6e35862 + RecNo should be -1 if the recordset is empty
git-svn-id: trunk@3415 -
2006-05-03 13:03:18 +00:00
joost
1d226830f2 + Fixed bug #5070
git-svn-id: trunk@3381 -
2006-04-30 11:17:23 +00:00
joost
c4c200fc7c + Fixed TBufDataset.First (bug 5068)
git-svn-id: trunk@3364 -
2006-04-29 17:03:28 +00:00
joost
401c32d145 + TDataset.ActiveBuffer now returns nil if the dataset is closed
+ TBufDataset.RecNo now returns -1 if the dataset is closed (bug 5061)

git-svn-id: trunk@3362 -
2006-04-29 16:25:17 +00:00
micha
d0a24874ab update tdbf to release 6.4.8
git-svn-id: trunk@3358 -
2006-04-29 14:34:43 +00:00
peter
cba7504dec * use -P for cross compile
* support libimp*.a

git-svn-id: trunk@3321 -
2006-04-23 18:53:29 +00:00
joost
ab7395fa03 + fixed bug #5011, thanks to tip from Doug Nettleton
git-svn-id: trunk@3309 -
2006-04-21 11:59:46 +00:00
joost
1796561a9c + fixed a resource link
git-svn-id: trunk@3308 -
2006-04-21 11:30:54 +00:00
joost
772c36ae7a - Fix for TParam.SetDataType
- Implemented TSQLQuery.UpdateSQL .DeleteSQL and .InsertSQL
  Added example to fedittable.pp
- Fix for TSQLQuery.ExecSQL if no database is assigned
- TSQLQuery.ApplyRecUpdate now uses parameters
- Fixed handling of ftFixedChar parameters with IBConnection
- Clarified IBConnection parameters-error message

git-svn-id: trunk@3288 -
2006-04-19 22:24:04 +00:00
joost
56ac885f84 + Commented out Debug-procedure DumpMem
+ implemented TField.Text
 + fixed TField.CanModify
 + implemented TDataset.CheckBiDirectional
 + Fixed TDataset.FilterOptions
 + implemented TDataset.SetFound

git-svn-id: trunk@3215 -
2006-04-15 17:04:41 +00:00
joost
8f5e0c8d81 + moved InternalInitRecord from Clearbuffers to Resync
git-svn-id: trunk@3210 -
2006-04-14 19:54:52 +00:00
joost
ff472b1366 + fix for InternalgotoBookmark
+ Changed ProviderFlags to published
 + Implemented Locate

git-svn-id: trunk@3209 -
2006-04-14 19:47:10 +00:00
michael
f98b943047 + Patch from Luiz Americo to map unknown field types to string
git-svn-id: trunk@3187 -
2006-04-09 19:28:36 +00:00
michael
4efefe659a + Added support for NEWDECIMAL from MySQL 5
git-svn-id: trunk@3169 -
2006-04-08 12:35:19 +00:00
michael
410e7fa38c Library initialized only if not done before
git-svn-id: trunk@3156 -
2006-04-05 19:55:34 +00:00
joost
8b67fbcba4 + Fix a leak of connections
git-svn-id: trunk@3149 -
2006-04-05 10:35:12 +00:00
joost
ff01aa8c71 * re-implemented cancelupdates
* Delete now also works on edited and inserted records
 * Clearbuffers now also initialises/empties the ActiveBuffer

git-svn-id: trunk@3138 -
2006-04-03 22:21:12 +00:00
joost
9d984de6b4 + removed obsolete deleted-flag
git-svn-id: trunk@3126 -
2006-04-02 19:31:28 +00:00
joost
dbf5a5e378 + re-implemented RecNo and Recordcount
+ fix in the result of GetNextPacket

git-svn-id: trunk@3123 -
2006-04-02 18:34:25 +00:00
michael
69559c6068 + Initial support for Master/Detail relations
git-svn-id: trunk@3120 -
2006-04-02 08:24:31 +00:00
michael
c6fab5ca63 + Fix for applying null parameters
git-svn-id: trunk@3119 -
2006-04-02 08:23:42 +00:00
joost
a75c1e5dd3 + Replaced the array-based record-buffer for a linked-list buffer
git-svn-id: trunk@3111 -
2006-04-01 16:03:41 +00:00
joost
101dc0fe85 + added check for empty dataset to TDataset.Delete
+ Updated comment regarding bookmarks and appending records

git-svn-id: trunk@3109 -
2006-04-01 14:58:11 +00:00
joost
9b7d7cb21f + updated to latest version from Luiz Camara
git-svn-id: trunk@3061 -
2006-03-27 18:14:02 +00:00
peter
323d6cf640 * use -O2 for 2.1.1 compilers
git-svn-id: trunk@2966 -
2006-03-19 11:19:43 +00:00
Jonas Maebe
f3ffa1400a * regenerated for new ppc release optimizer settings
git-svn-id: trunk@2943 -
2006-03-17 17:54:28 +00:00
joost
ce902aedee * fixed bug #4837, as suggested by submitter Tomasz Łobejko
git-svn-id: trunk@2937 -
2006-03-16 23:30:19 +00:00
joost
f491452803 * Implemented EIBDatabaseError with the GDSErrorCode
git-svn-id: trunk@2936 -
2006-03-16 23:20:00 +00:00
joost
c6bfbcfa91 * Handle postgresql text fields as ftString
git-svn-id: trunk@2935 -
2006-03-16 22:03:56 +00:00
joost
c575771aee + start of TBufDataset.Locate
+ Do not allocate memory for bookmarks in TBufDataset-buffers

git-svn-id: trunk@2920 -
2006-03-14 21:30:02 +00:00
joost
59c4fe4057 + Cache field buffer position
git-svn-id: trunk@2918 -
2006-03-14 17:22:15 +00:00
joost
5f801f2b42 * Implemented TBufDataset.Packetrecord
git-svn-id: trunk@2842 -
2006-03-10 20:46:48 +00:00
Jonas Maebe
f868c80460 + i386-darwin support (use fpcmake from after 12 February 2006)
git-svn-id: trunk@2820 -
2006-03-09 15:26:49 +00:00
Tomas Hajny
b43cc3cfaa * attempt to fix broken compilation for go32v2 target
git-svn-id: trunk@2706 -
2006-02-27 23:43:30 +00:00
joost
30eb347b33 + forgot to include changes in db.pp and dsparams.inc in r2663
git-svn-id: trunk@2664 -
2006-02-22 11:58:35 +00:00
joost
1260b2a233 + made TDataset.CreateFields virtual (delphi compat)
+ implemented TParam.AsLargeInt
 + cleanup of IBConnection LargeInt code
 + implemented LargeInt parameter type for IBConnection

git-svn-id: trunk@2663 -
2006-02-21 21:17:11 +00:00
joost
f1fc3a316d * Fix for error-handling when a TSQLQuery is opened.
git-svn-id: trunk@2662 -
2006-02-21 14:29:30 +00:00
joost
619541d0cc + renamed tests to ddg
git-svn-id: trunk@2661 -
2006-02-21 10:17:47 +00:00
joost
c666accec9 + Moved obsolete DB-units to unmaintained
git-svn-id: trunk@2660 -
2006-02-21 10:14:31 +00:00
joost
251fc46121 + added empty TSQLConnection.GetHandle
+ added empty TSQLConnection.CreateBlobStream
 + implemented TSQLConnection.StartTransaction and EndTransaction

git-svn-id: trunk@2631 -
2006-02-19 15:22:21 +00:00
joost
97fa418c02 + Do not handle :: in a query as a parameter (bug 4813-2)
git-svn-id: trunk@2630 -
2006-02-19 15:08:00 +00:00