Commit Graph

1438 Commits

Author SHA1 Message Date
marco
99ff593cf1 * custapp.inc not necessary anymore. Left it in for targets I don't know.
git-svn-id: trunk@914 -
2005-08-22 12:09:19 +00:00
florian
66613d4cc7 * 64 bit fix from Aison
git-svn-id: trunk@913 -
2005-08-21 21:03:57 +00:00
joost
9868554dee - patch from Alexandrov Alexandru for TSmallIntFields
git-svn-id: trunk@901 -
2005-08-17 17:32:33 +00:00
sg
050ce11677 * Some source cleanup
* Can only be used as component anymore (other constructors removed)
* New properties: UseEscaping, StartEmpty, RootName

git-svn-id: trunk@896 -
2005-08-16 13:18:14 +00:00
marco
96e7fa7d36 * Env options now based on SysUtils.GetVariableString. custapp.inc unnecessary.
git-svn-id: trunk@864 -
2005-08-15 11:32:30 +00:00
marco
31a0752a37 * fix for bug4279, added stdcall
git-svn-id: trunk@863 -
2005-08-15 09:05:28 +00:00
michael
89a8b4cfec + Patch from Vincent Snijders to fix compilerproc and operators
git-svn-id: trunk@861 -
2005-08-14 22:20:18 +00:00
michael
3ab45b5b19 + Patch from Juergen Rathlev to remove use of QWord. Fixes bug #4117
git-svn-id: trunk@859 -
2005-08-14 11:32:35 +00:00
sg
1a8051f993 * Applied patches by Vincent Snijders
* Fixed handling of nested variant records
* Improved operator support (<= and >= were missing)
* Operator support in output: Better names
* HTML writer generates working filenames for operator pages

git-svn-id: trunk@849 -
2005-08-11 20:56:44 +00:00
florian
8602390d46 * Makefiles regenerated to propagate -Ur change of fpcmake
git-svn-id: trunk@844 -
2005-08-10 21:55:57 +00:00
joost
509593eb49 - Added TSQLTransaction.params
git-svn-id: trunk@837 -
2005-08-09 21:02:18 +00:00
joost
1c3fcdaa14 - TSQLQuery.ApplyRecUpdate now uses ExecuteDirect
git-svn-id: trunk@833 -
2005-08-09 15:06:37 +00:00
joost
fd8de7640e -removed TDataset.TempBuffer
git-svn-id: trunk@830 -
2005-08-09 12:48:39 +00:00
joost
06300bc054 - added tSqlConnection.ExecuteDirect
git-svn-id: trunk@829 -
2005-08-09 12:43:49 +00:00
michael
e050f7ddb1 * Patch from Luiz Américo:
Sqlite interface:
 - Added missing constant
 - Remapps sqlite_version from cvar to function call, the former was not working in win32
 - Clean up the code
 SQLite Dataset :
 - Reduce memory usage
 - Replaces TList with TFPList
 - Add auxiliary QuickQuery functions
 - Misc fixes

git-svn-id: trunk@827 -
2005-08-08 16:45:33 +00:00
marco
53dad79aaf * fix for 4264
git-svn-id: trunk@824 -
2005-08-08 09:02:32 +00:00
joost
6318a55ca9 - Fixed date/time formats for sqldb and tdbf
- removed obsolete TSQLConnection.ObtainSQLStatementType
- added check for empty sql-statements to sqldb

git-svn-id: trunk@803 -
2005-08-06 13:57:56 +00:00
florian
614b06c3d4 * octal constant support
git-svn-id: trunk@772 -
2005-07-30 20:58:02 +00:00
florian
c39efba41b * fixed previous packed change
git-svn-id: trunk@771 -
2005-07-30 20:56:17 +00:00
florian
11f0d24d4f + parsing of procedure p();
git-svn-id: trunk@770 -
2005-07-30 20:08:15 +00:00
florian
fce02e3fb8 * handling of -Sd to handle delphi comments correctly (no nesting)
git-svn-id: trunk@769 -
2005-07-30 19:49:50 +00:00
florian
58f6f93cfe * packed can be used in variable declarations
git-svn-id: trunk@768 -
2005-07-30 19:34:57 +00:00
joost
d946895e20 - fixed a overflow error
git-svn-id: trunk@749 -
2005-07-25 23:08:57 +00:00
michael
cf95b53b8f Fix for bug #4218
git-svn-id: trunk@744 -
2005-07-25 14:58:53 +00:00
sg
e0488e169b * fpAsync: Exception within main loop are now caught correctly, so that
external applications can handle them and restart the main loop

git-svn-id: trunk@713 -
2005-07-20 14:44:09 +00:00
michael
efdbe66a2f + LookupField implementation from Alexandrov Alexandru
git-svn-id: trunk@710 -
2005-07-20 10:46:01 +00:00
michael
196bc349c7 + Version 6.4.5
git-svn-id: trunk@628 -
2005-07-14 19:48:27 +00:00
michael
6e3590ed2a + New needed file
git-svn-id: trunk@627 -
2005-07-14 19:47:21 +00:00
michael
4aa997ed50 + Version 6.4.5
git-svn-id: trunk@626 -
2005-07-14 19:44:22 +00:00
joost
ebb0738e54 - is part of revision 620
git-svn-id: trunk@621 -
2005-07-13 21:23:53 +00:00
joost
62871eddeb -some filter fixes
- added ParseSQL property
- added DeAllocateCursorHandle
- fixed tibconnection string-parameters

git-svn-id: trunk@620 -
2005-07-13 21:03:53 +00:00
joost
19d33ef1ea - TSQLQuery.Prepared shoud not be published
git-svn-id: trunk@616 -
2005-07-11 13:15:23 +00:00
joost
5355abf860 - Fixed bug #4121
- Implemented filtering for sqldb

git-svn-id: trunk@615 -
2005-07-11 12:54:21 +00:00
florian
cfcaff7dc9 * fixed mysql date problems using sscanf :]
* better integer parsing in sscanf

git-svn-id: trunk@609 -
2005-07-10 13:43:49 +00:00
michael
3b99356a0c + Added sqlite3 support
git-svn-id: trunk@578 -
2005-07-04 12:19:06 +00:00
peter
0eadf16db9 * Stack trace support
git-svn-id: trunk@567 -
2005-07-03 13:20:27 +00:00
michael
a568981d7f + Fix from Colin Western fixing overflow when writing PNG files using 16 bits per colour
git-svn-id: trunk@505 -
2005-06-26 14:46:40 +00:00
michael
3d7a0b0c9f + Bug fix from Dean Zobec and Ales Katona to fix freeing the objects when the list is destroyed.
git-svn-id: trunk@504 -
2005-06-26 14:43:32 +00:00
peter
4b949e1d89 * add GetLanguageIDs, patch by Ales Katona
git-svn-id: trunk@483 -
2005-06-23 06:03:55 +00:00
michael
7d13839a55 + Added TFPObjectList implementation from Ales Katona
git-svn-id: trunk@470 -
2005-06-22 07:24:07 +00:00
sg
2059bf057f * FPDoc / FCL/PasSrc: Added variant record support to parser and HTML writer
git-svn-id: trunk@456 -
2005-06-20 10:32:54 +00:00
michael
cc4818be26 + initial implementation of new fpmake compile tools
git-svn-id: trunk@435 -
2005-06-17 16:53:18 +00:00
michael
a3ff4850f7 * Patch from Luiz Americo:
- Implements master-detail relation using TDBF schema
  - Several fixes/improvements

git-svn-id: trunk@402 -
2005-06-14 07:35:04 +00:00
michael
96a556f1ba + Patch from Alexandrov Alexandru to implement calculated fields
git-svn-id: trunk@388 -
2005-06-12 14:26:01 +00:00
michael
000e67d182 + Patch to read RGB files correctly from Colin Western
git-svn-id: trunk@378 -
2005-06-11 13:08:50 +00:00
michael
77bae43aa5 + Removed old compiler defines
git-svn-id: trunk@317 -
2005-06-09 19:04:29 +00:00
peter
698e88ac72 * detect language under windows, patch by Ales Katona
git-svn-id: trunk@289 -
2005-06-08 20:48:26 +00:00
michael
7949125040 + Removed ver1_0 define
git-svn-id: trunk@237 -
2005-06-07 20:12:58 +00:00
peter
4ace790492 * remove $Log
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
michael
d47c1d2477 + Patch from Vincent Snijders to support MsecToDateTime on PPC
git-svn-id: trunk@230 -
2005-06-07 09:17:32 +00:00
michael
3135ce1426 + Implemented dataset.getchildren from Alexandrov Alexandru
git-svn-id: trunk@225 -
2005-06-06 12:39:50 +00:00
Tomas Hajny
6ac47e7d81 * compilable tests added for OS/2
git-svn-id: trunk@220 -
2005-06-05 14:30:49 +00:00
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