Commit Graph

1386 Commits

Author SHA1 Message Date
Tomas Hajny
b0300f64d2 * reference to EnvC and EnvP fixed
git-svn-id: trunk@218 -
2005-06-05 14:20:26 +00:00
Tomas Hajny
8765b5a29b + resolve.inc implementation for OS/2 by Soren Ager
git-svn-id: trunk@210 -
2005-06-05 12:34:52 +00:00
Tomas Hajny
723b1a1fad * ssockets and resolve supported under OS/2 now
git-svn-id: trunk@209 -
2005-06-05 12:31:35 +00:00
Tomas Hajny
3bb7f3e832 * use of special NotUnix define replaced with standard Unix
git-svn-id: trunk@208 -
2005-06-05 12:29:47 +00:00
daniel
e3aef781eb * Operator support
git-svn-id: trunk@195 -
2005-06-04 16:17:39 +00:00
daniel
3ece6aa385 * Support operators
git-svn-id: trunk@194 -
2005-06-04 16:14:28 +00:00
daniel
cd01ab8935 * Add operator support
git-svn-id: trunk@193 -
2005-06-04 14:05:12 +00:00
daniel
13bed67695 * Add operator support
git-svn-id: trunk@192 -
2005-06-04 14:04:53 +00:00
michael
809d10c0a6 * Patch from Alexandrov Alexandru:
- TFieldDefs rewrited as TOwnedCollection and TFieldDef as
    TCollectionItem, so it can be edited now with Collection editor;
  - TFieldDef.Assign implemented;
  - corrections to Index property of TField;
  - made writeable Fields property of TFields;
  - DefaultFieldClasses uncommented and moved to implementation part;
    and some more.

git-svn-id: trunk@175 -
2005-06-02 17:13:18 +00:00
michael
0882b637a4 * Patch from Ing. Petr Kristan
- Add dlerror() to dl unit
  - Add CurValue to TField in db.pp
  - Add TCurrencyfield to db.pp
  - Add TDataset.IslinkedTo to db.pp
  - Add ShellExecuteEx call to shellapi

git-svn-id: trunk@167 -
2005-06-01 16:16:35 +00:00
michael
48c968edf6 + Initialized ValidChars and Precision in FloatField
git-svn-id: trunk@120 -
2005-05-26 06:46:54 +00:00
michael
792d252aa3 + Fixed bug #3922, as suggested by poster Aleksa Todorovic
git-svn-id: trunk@119 -
2005-05-26 06:42:35 +00:00
michael
88877284df + Fixed bug #4012
git-svn-id: trunk@118 -
2005-05-26 06:14:37 +00:00
michael
87a429377d + Fixed TSynchroObject name
git-svn-id: trunk@116 -
2005-05-25 22:02:33 +00:00
florian
5e8e8fc5e4 + implemented empty Aquire/Release for SynchroObject, fixes bug #3821
git-svn-id: trunk@102 -
2005-05-25 20:53:50 +00:00
michael
9cf054b6dc + Fix for negative fieldindex in Tfields.SetFieldIndex (from Alexandriv alexandru)
git-svn-id: trunk@85 -
2005-05-24 08:54:14 +00:00
michael
d52d586456 + Fixed readsectionvalues call
git-svn-id: trunk@53 -
2005-05-21 20:20:26 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
michael
cdcbd5914d fixed compilation of fpimgcmn.pp
git-svn-id: trunk@38 -
2005-05-20 20:04:45 +00:00
michael
ffb55c4254 + Removed VER1_0 defines
git-svn-id: trunk@33 -
2005-05-19 21:14:45 +00:00
michael
35fb930eba + Removed from 2.0 tree
git-svn-id: trunk@28 -
2005-05-19 18:38:09 +00:00
joost
99de6df34e - fixed some warnings
git-svn-id: trunk@26 -
2005-05-19 09:24:37 +00:00
fpc
aabbd3c7df * property svn:eol-style: native set
git-svn-id: trunk@16 -
2005-05-18 16:16:11 +00:00
peter
b68af1b0e3 * post 2.0.0 fixes from cvs
git-svn-id: trunk@7 -
2005-05-16 20:59:02 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
Tomas Hajny
c2d6555bd5 * fix for SIGSEGV due to access to uninitialized pointers in TList 2005-05-12 21:47:34 +00:00
michael
e5431e6db2 - Patch from Jesus Reyes:
* TFloatField.SetAsString doesn't look at DecimalSeparator for
    converting a string into a Float
  * TBooleanField.SetAsString won't accept an empty string as a valid
    value, also the patch allows strings as T, F or any starting
    substring of DisplayValues to be accepted.
2005-05-12 18:52:32 +00:00
michael
a379fe04be + Added parsing of explicitly assigned enumerated values 2005-05-10 06:08:59 +00:00
joost
734aa62d36 - check for editable state in SetFieldData 2005-05-07 14:41:00 +00:00
joost
b3403d51c8 - set FDatasource to nil in TDatalink.Create 2005-05-07 11:42:36 +00:00
michael
be4dd205d9 + Added Mock Objects implementation by Uberto Barbini 2005-05-06 19:38:43 +00:00
michael
11eefecc8c * Patch from Luiz Américo:
- ExecSql now can be called in closed datasets
  - Changed name from IndexFieldName to PrimaryKey to avoid confunsion
    with TclientDataset.IndexFieldName (Delphi)
  - Small changes
2005-05-06 19:08:23 +00:00
peter
6cf4eb98c3 * use current fpcmake instead of from 1.9.8 2005-05-05 13:28:47 +00:00
peter
7dadd64723 * 2.0.0 2005-05-05 12:59:59 +00:00
michael
57af5a1f8c + Patch from Vincent Snijders to fix reading of entities 2005-05-02 13:06:51 +00:00
michael
69a6bf363a * Some patches from Uberto Barbini
+ TLoginEvent more Delphi compatible (D5 and bigger).
   * AsCurrency Property for TField.
2005-04-26 16:48:58 +00:00
michael
89e6318dd8 + Added TCustomConnection by Uberto Barbini 2005-04-26 16:37:44 +00:00
michael
e97b4edd00 + Patch from Sergey Smirnov to fix TTimeField.AsString 2005-04-26 15:45:30 +00:00
michael
2d951fa6c2 + Added unit testdecorator to makefile 2005-04-26 15:42:04 +00:00
joost
ce319c62c2 - some fixes in assignment of transactions and databases 2005-04-24 19:21:28 +00:00
michael
5372c3450d + Patch to show/enter alternate charsets in grid editor. 2005-04-16 10:02:13 +00:00
michael
7bfefc7b49 + Streamex was in wrong place 2005-04-16 09:32:40 +00:00
michael
c995de9806 + Objfpc mode and ansistrings 2005-04-14 17:53:03 +00:00
michael
91464f3692 + Added streamex unit 2005-04-14 17:48:06 +00:00
michael
84c187e10d + Added for Delphi compatibility and InstantObjects 2005-04-14 17:47:31 +00:00
joost
9d7562ff73 - Fixed a mem-leak in TMySQLConnection.ConnectMySQL
- Added ObtainSQLStatementType to TMySQLConnection.PrepareStatement
- RowsAffected and LastInsertID should be QWord s, not int64
2005-04-13 23:20:22 +00:00
joost
fa3ce88bbd - Changed for dyn.linking
- Made the query read-only
2005-04-13 22:57:03 +00:00
joost
10b6189ecf - TSQLQuery now frees FIndexDefs 2005-04-13 22:10:26 +00:00
joost
fcf91ea4fe - TIndexDefs.Destroy now calls inhedited.Destroy 2005-04-13 22:09:15 +00:00
joost
44d8cf713c - fixed mem-leak in TDataset.SetBufListSize 2005-04-13 22:08:16 +00:00
michael
4dba09f9a0 * Some fixes on interface use from Dean Zobec 2005-04-12 07:31:34 +00:00
michael
e5b08ad325 + TestDecorator implementation by Dean Zobec 2005-04-11 18:10:55 +00:00
joost
e7bf4ac4bf Patch from Alexandrov Alexandru
- implemented TDataset.BindFields
- master-detail relation implemented
- improved variant-support for fields
- implemented TField.Assign and TField.AssignValue
2005-04-10 22:18:43 +00:00
joost
6497e8a7ea - Updated for changes in sqldb.pp 2005-04-10 18:31:31 +00:00
joost
f15478c0ca - - implemented parameter support for Postgres
- Updated for changes in sqldb.pp
2005-04-10 18:30:49 +00:00
joost
79712269b4 - - implemented parameter support for Interbase/Firebird
- Updated for changes in sqldb.pp
2005-04-10 18:30:05 +00:00
joost
122a00350d - implemented parameter support for sqldb
- Added TSQLConnection.ConnOptions
- renamed TSQLQuery.FreeStatement to TSQLQuery.CloseStatement
- renamed TSQLQuery.PrepareStatement to TSQLQuery.Prepare
- added TSQLQuery.UnPrepare
2005-04-10 18:29:26 +00:00
joost
70e80b5307 - implemented parameter support for sqldb 2005-04-10 18:28:30 +00:00
joost
f4499022c2 - removed TParam.FNull 2005-04-10 18:27:39 +00:00
joost
e4d35e6fe9 - implemented TDataset.Locate
- removed TParam.FNull
2005-04-10 18:26:54 +00:00
joost
efcb873cae - implemented TDataset.Locate 2005-04-10 18:26:27 +00:00
michael
7a4ced093f + Patch from Luiz Américo 2005-04-09 15:19:08 +00:00
marco
2c488abcda * patch from peter for resoursestring=string bug + fix crash missing --input 2005-04-07 07:55:40 +00:00
peter
ec4465234c * fix memory leaks 2005-04-05 21:08:08 +00:00
michael
516dfd4c01 + Patch from Jesus reyes to notify changes to DisplayFormat 2005-04-04 07:30:51 +00:00
michael
fc3b6f0693 + fix for activerecord, bof false after append. 2005-03-29 10:07:34 +00:00
joost
bf5ac5abfa - adapted for new mysql_fetch_field_direct 2005-03-27 14:55:47 +00:00
michael
bbbcc17171 + Implementation of IndexForFields from Alexandrov Alexandru 2005-03-25 11:38:01 +00:00
michael
e08a7b8fc0 + Fix in params from Luk Vandelaer 2005-03-24 20:54:53 +00:00
michael
d9ccf57c4a + Patch from Michalis Kamburelis to correct transactions 2005-03-23 08:35:05 +00:00
michael
012392381c + Several patches from Jose A. Rimon
# Prevents "field not found" error, when use a query without the primary key
Set SQLlen of different data types
 Use AliasName instead of SQLname to avoid "duplicate field name" error, for
example when using "coalesce" more than once
use SQLScale in ftLargeInt to get actual values
 Send query to server with different lines. Provides line info in sqlErrors
and allows single line comments
2005-03-23 08:17:51 +00:00
marco
4b970dd383 * now imports sockets for hosttostr routines 2005-03-20 12:48:24 +00:00
marco
d0582f4d3e * sb removed legacymem. Fixed with getfpcheapstatus. Now 1.9.9 only 2005-03-20 12:46:55 +00:00
michael
38fd3d39a1 + Fixed second typo in provided patch 2005-03-18 11:54:56 +00:00
michael
e539b62d19 + Fixed typo in provided patch 2005-03-18 11:53:14 +00:00
marco
f683702e94 * lots of endian fixes 2005-03-18 10:58:16 +00:00
marco
e0123f44ff * called hosttostr while netdb returns a net order in addresses. The
resolve hostaddrtostr covered this up, but that could break depending
     on unit order.
2005-03-18 10:50:03 +00:00
michael
915ab7df0f + Patch to IndexDefs from Alexandrov Alexandru 2005-03-18 10:17:34 +00:00
michael
b7d37dd54a + Patch from Michalis Kamburelis to fix TField.IsNull 2005-03-17 09:02:17 +00:00
marco
0335de3001 * legacymem added 2005-03-16 13:47:27 +00:00
marco
965cf11da6 * some fixes for objfpc mode 2005-03-16 13:35:59 +00:00
marco
1ff1277886 * fixed with legacymem (I hope) 2005-03-16 13:30:17 +00:00
michael
26a24e1488 * Patch from Luiz Americo
- fixes a memory leak in TBlobField.GetAsString
2005-03-15 22:44:22 +00:00
michael
7b3db009fc * Patch fom Luiz Americo
- Add support to TMemoField
    - Add RefetchData, TableExists, UpdatesPending methods
    - Optimize ApplyUpdates when using/creating big datasets
    - Other fixes/improvements
2005-03-15 22:42:12 +00:00
peter
8f2fa89b3d * use dispose instead of freemem to also release the initialize types 2005-03-15 16:27:04 +00:00
florian
179d942631 * adapated for the new widestring manager 2005-03-14 21:10:12 +00:00
michael
2d6779dac5 + Patch from Jesus reyes to fix brush style order 2005-03-10 20:02:28 +00:00
joost
597fc99fb8 - Fix to avoid scientific format in TDBCFields from Jesus Reyes 2005-03-01 14:00:53 +00:00
joost
bad57b7741 - Boolean fields are wordbool's now 2005-02-28 16:19:07 +00:00
michael
e5be257621 Patch from Dean Zobec:
- renamed AssertNull and AssertNotNull for Interfaces to AssertNullIntf,
    AssertNotNullIntf to not confuse the compiler in case of passing objects implementing interfaces
  - registering tests in the unit where they are defined
2005-02-27 12:20:19 +00:00
michael
438a0574ba * Patch from Uberto Barbini:
- enabled the possibility to show failures and errors that may occurr
   in the setup and teardown of the tests
 - added AssertNull and AssertNotNull for Interfaces.
2005-02-22 20:41:54 +00:00
michael
a21420401f + Patch from Luiz Américo to fix several issues 2005-02-18 22:34:38 +00:00
peter
5c923a0fbd * parse global properties 2005-02-17 18:33:31 +00:00
michael
fea9565cca - Remove TTimeField and TDateField GetDataSize functions since both are exactly
equal to their ancestor: TDateTimeField.GetDataSize
- TAutoInc fields are set to ReadyOnly on create
- In TFieldDef.CreateField the presence of faReadyOnly in Attributes is respected
2005-02-16 09:31:58 +00:00
peter
aa5b73f3ec * 1.9.8 2005-02-15 22:28:29 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
peter
540c2c5bea * fixed stdinput reading under win32 2005-02-14 16:39:51 +00:00
joost
70f562cec7 - Added support for SetSchemaInfo
- Uses the aliasname as the displayname
2005-02-07 11:24:25 +00:00
joost
e2d68a7e4f - implemented TSQLQuery.SetSchemaInfo
- added support for delete and insert
2005-02-07 11:23:41 +00:00
joost
e5c50c40ee - added SMetadataUnavailable
- added SDeletedRecord
2005-02-07 11:23:04 +00:00
joost
f7e62bc856 - Implemented TField.DisplayName 2005-02-07 11:22:23 +00:00
joost
b993a9c094 - Added TDataset.InternalInsert
- Implemented TField.DisplayName
  - added support for TBufDataset delete and insert
2005-02-07 11:21:50 +00:00
joost
6ecf61688f - Fixed insertion at buffer-limit
- Added TDataset.InternalInsert
  - The deDatasetScrollEvent was not always raised
  - Changed resync-order in AppendRecord
2005-02-07 11:19:27 +00:00
joost
c2c174e29a bufdataset.inc:
- fixed bookmarks
  - added support for delete and insert
  - removed allocation for unused memory
  - fixed tfield.isnull for nil-buffers
2005-02-07 11:18:34 +00:00
michael
0ed0de65d4 + Added streamio 2005-02-06 18:24:06 +00:00
michael
606af3ac27 + Initial implementation 2005-02-06 18:23:28 +00:00
joost
79753bc429 implemented use of HostName 2005-02-04 17:53:08 +00:00
joost
4e1b076d8f fixed GetClientInfo for dynamically linked client 2005-02-04 17:50:21 +00:00
peter
110fb12911 * regenerated 2005-02-03 20:33:26 +00:00
florian
430a1413df + adapted for use fo tcollection.owner 2005-02-03 19:10:39 +00:00
florian
2c5e295573 * adapted to new widestring manager 2005-02-01 20:23:39 +00:00
marco
c4ad8740f1 * delete fix 2005-02-01 09:05:52 +00:00
michael
6b1e79316f + small speedup of memoryimage.setsize 2005-01-31 22:12:23 +00:00
michael
cdffc6e8b0 + Overloaded SaveToFile with version that detects writer to use 2005-01-31 20:28:12 +00:00
michael
5966644f25 + Fixed ellipse drawing 2005-01-24 21:50:08 +00:00
michael
bfcb70b5e4 * Patch from Joost van der Sluis
- Use of the dynamically loaded library (postgres3dyn)
  - support for the postgreSQL'a internal fieldtype 'name'
  - implemented UpdateIndexDefs
  - Support for more then one query for each connection
2005-01-24 10:53:23 +00:00
michael
35a249fc8f * Patch from Joost van der Sluis
- Made it possible to run 'show...' queries for MySQL
  - Use of the dynamically loaded library (mysql4dyn)
  - implemented UpdateIndexDefs
  - Support for more then one query for each connection
2005-01-24 10:53:04 +00:00
michael
f04a7f8f86 * Patch from Joost van der Sluis
- Made it possible to run 'show' queries for MySQL
2005-01-24 10:52:43 +00:00
michael
b2934cbac7 * Patch from Colin Western to correctly read CDATA 2005-01-22 20:54:51 +00:00
michael
f7ff698735 + Use baseunix fpexecv* calls 2005-01-15 23:41:09 +00:00
michael
abe11d29c2 * Patch from Luiz Americo
- implements AutoInc fields
 - add IndexFieldName: now the user can choose what field use as primary key (used to apply updates).
   There's no  more necessity of using _ROWID_
 - SetRecNo and GetRecNo are working
 - Fixed issues when used in lazarus (i will send a package to lazarus list)
2005-01-12 19:14:57 +00:00
michael
102de9b240 * Patch from Dean Zobec:
- added AssertSame, AssertNotSame, AssertNull, AssertNotNull for pointers
 - fixed a TTestCase test: thanks to Peter Vreman RTTI method names are not
   uppercase anymore in 1.9.7
2005-01-12 14:04:55 +00:00
michael
65c82a06b5 Changed order of pen modes 2005-01-12 11:37:28 +00:00
michael
aaf3db81df * Patch from Joost Van der Sluis:
- implemented UpdateIndexDefs
 - make use of the dyn. linked ibase-unit
2005-01-12 10:31:26 +00:00
michael
10cc31bbcd * Patch from Joost Van der Sluis:
- implemented TSQLQuery.UpdateIndexDefs
   - implemented TSQLQuery.ReadOnly
   - implemented TSQLQuery.IndexDefs
   - implemented TSQLQuery.UpdateMode
   - implemented TSQLQuery.UsePrimaryKeyAsKey (Set pfInKey in the
     providerflags
     of fields that are in the primary index of the underlying table)
   - Added support for updates on date-fields
2005-01-12 10:30:33 +00:00
michael
2f7c9c382e * Patch from Joost Van der Sluis:
- removed some duplicate definitions
   - restructured SetDataset
   - implemented UpdateMode, ProviderFlags
2005-01-12 10:29:54 +00:00
michael
e7a771d58d * Patch from Joost Van der Sluis:
- added error message for if transaction of DB is not set
2005-01-12 10:29:20 +00:00
michael
31a6489906 * Patch from Joost Van der Sluis:
- implemented TUpdateMode, TProviderFlags
   - implemented TIndexDef, TIndexDefs
2005-01-12 10:28:44 +00:00
michael
6bd794ad24 * Patch from Joost Van der Sluis:
- implemented ControlsDisabled
2005-01-12 10:27:57 +00:00
michael
010ccd8554 - implemented ControlsDisabled
- implemented TUpdateMode, TProviderFlags
   - implemented TIndexDef, TIndexDefs
   - added error message for if transaction of DB is not set
   - removed some duplicate definitions
   - restructured SetDataset
   - implemented UpdateMode, ProviderFlags
2005-01-12 10:27:08 +00:00
michael
6c91e99415 * Patches from Mattias Gaertner to include FPCanvas in LCL 2005-01-11 17:27:37 +00:00
peter
ef3b19b316 * regenerated 2005-01-11 17:07:45 +00:00
armin
26b56d31ce * updated makefile.fpc versions to 1.9.7, regenerated makefiles 2005-01-10 22:49:56 +00:00
peter
994ab51002 * regenerated to use cpu-os 2005-01-10 21:29:23 +00:00
michael
c598cf0a07 + Moved ownerstream to classes unit 2005-01-09 13:15:56 +00:00
michael
affeb1c46e + Added bufstream example 2005-01-09 13:13:15 +00:00
michael
420985c007 + Added bufstream 2005-01-09 13:10:12 +00:00
michael
8a74ecbcad + Initial check-in 2005-01-09 13:09:14 +00:00
michael
625484dd35 + Fixed writing of fragments 2005-01-08 01:32:06 +00:00
Tomas Hajny
b6f6fdb8fa * version 1.9.6 2004-12-30 20:57:38 +00:00
michael
a31b420eb1 + Patch from Joost van der Sluis to correct AsVariant 2004-12-29 20:27:08 +00:00
michael
312f5cc30f * Patch from Joost van der Sluis:
- deallocate SQLDA
2004-12-29 14:32:03 +00:00
michael
965113b413 + Patch from Joost van der Sluis:
- implemented support for modifying queries, with a simple parser
  - implemented ApplyRecUpdate
2004-12-29 14:31:27 +00:00
michael
9c266094f7 + Patch from Joost van der Sluis
- implemented CachedUpdates (only modifications, no inserts/deletes)
  - implemented GetAsVariant/SetAsVariant for all fields
  - implemented TField.OldValue as a variant
  - changed TField.Value to a variant
2004-12-29 14:30:53 +00:00
michael
dda1272c02 Patch from Joost Van der Sluis:
- implemented CachedUpdates (only modifications, no inserts/deletes)
  - fixed GetRecNo
2004-12-29 14:30:11 +00:00
michael
3eb1516253 + Patch for localization of string properties 2004-12-27 13:51:37 +00:00
michael
360f273759 + Changed FreeAndNil to simple free (From Mattias Gaertner) 2004-12-24 09:18:38 +00:00
michael
e5da7466d7 + Added psInsideFrame penstyle 2004-12-24 08:52:36 +00:00
michael
65de79d42b + Patch from Mattias Gaertner to rename TFPCanvasHelper.Color -> FPCOlor 2004-12-24 08:31:06 +00:00
michael
993460bbc3 + Pmand->Pmmask, pmOr ->pmMerge 2004-12-23 12:08:43 +00:00