Commit Graph

705 Commits

Author SHA1 Message Date
pierre
1c2a5f9819 + Update all Makefile's modified by
change in utils/fpcm/fpcmake.ini in prevous commit.

  Adapt also other files to that change:

  * compiler/globals.pas: Replace $FPCTARGET by os_string if
  tf_use_8_3 flag is set for target_info also.

  * tests/Makefile.fpc: Modify TEST_TARGETSUFFIX in the same way
  as TARGETSUFFIX was modified in previous commit.

  * tests/utils/dotest.pp:
    + New variable UseOSOnly, set to true if only target OS name
    should be used for subdirectories.

git-svn-id: trunk@18228 -
2011-08-16 20:10:19 +00:00
michael
dc0be272a0 * Better test case from Reinier, Bug ID #19987
git-svn-id: trunk@18215 -
2011-08-15 10:29:06 +00:00
michael
87bc28e203 * Patch by Reinier Olislagers (bug ID 19987):
1. Code cleanup to make it more modular and maintainable: split out code per export format and moved class-level variables there.
 2. Delphi Clientdataset export now works thanks to FPC XML fixes by Sergei Gorelkin and tests/improvements by Ludo Brands.
 3. Extended test coverage with all field types in a BufDataset so tests cover more.
 4. Fixes for invalid data: Access, ADO.Net, Excel date limits respected (generate NULL or text fields respectively)
 5. Decimalseparator setting in Access export should now work.
 6. Variants are saved as blobs, not strings, because of their variable nature.
 7. Fix for proper export of null values to Access NULL values (instead of empty/default values).
 8. Changed description of class from "Unicode XML file with XSD" to "Unicode XML file" to better match unit function.
 9. Compiled on Windows x86, Linux x64 without warnings using fpc -vweh fpxmlxsdexport.pp. Compared output.
 - ftVarBytes gave different output on Windows & Linux. Disregarded as I don't fill these fields in the test because of bug #19930
 10. Added option KeepFilesAfterTest = true in xmlxsdexporttestcase1; can be switched to false to delete export test files after use.
 11. Lower-cased source code file names.
 12. Fixes for Linux invalid date export to Excel by using clocale and specifying dateformat (restored at end of export).
 13 .Datasize instead of .Size for string/widestring Delphi fields.

git-svn-id: trunk@18214 -
2011-08-15 10:25:22 +00:00
marco
bc41e65c5c * changed open to .first, mantis #19360
git-svn-id: trunk@18157 -
2011-08-09 19:13:27 +00:00
marco
f20b559668 * Most sqldb example fixes from Mantis #17292.
git-svn-id: trunk@18156 -
2011-08-09 16:42:39 +00:00
marco
f22ec8545f * test for datetime params + fixes some minor cross-database specific things
patch by Lacak2, mantis #19878

git-svn-id: trunk@18152 -
2011-08-09 13:08:52 +00:00
marco
cf061cd3ae * provide terminating #0's to wide and stringfields, Patch from Ludo Brands
Mantis 199222

git-svn-id: trunk@18140 -
2011-08-07 18:17:56 +00:00
marco
0f0627e888 * columnsize overrides as per ODBC spec, Mantis #19775 patch by Lacak2
git-svn-id: trunk@18137 -
2011-08-07 13:39:20 +00:00
marco
e62a37a1af * Initial implementation rowsaffected for Oracle. Patch from mantis #16885
git-svn-id: trunk@18127 -
2011-08-06 22:51:35 +00:00
marco
a09a7f1b2e * Mantis #19567: PostgreSQL TIME datatype fix by Lacak2. milliseconds and not correcting fttime fields with epoch.
git-svn-id: trunk@18108 -
2011-08-06 11:38:55 +00:00
marco
aeb7dac66e * TDataset.BlockReadSize, patch by Luiz, mantis 19897 (library part. test in that report not included)
git-svn-id: trunk@18099 -
2011-08-05 12:27:42 +00:00
marco
da37e20ed6 * Map text to ftmemo(binary) instead of ftblob
Patch by Lacak2, mantis 19876

git-svn-id: trunk@18088 -
2011-08-03 22:09:30 +00:00
marco
92d4bc1a31 * TNumericField.SetAsboolean Mantis 18765
git-svn-id: trunk@18085 -
2011-08-03 20:49:56 +00:00
marco
043e9b2ec2 * Trunk version to 2.7.1
git-svn-id: trunk@18075 -
2011-08-03 13:59:33 +00:00
marco
39d7bb511d * Regenned all makefiles before 2.6.x branching.
git-svn-id: trunk@18073 -
2011-08-03 13:41:52 +00:00
marco
064ecf3d6c * fix decimalseparator locale issues in fcl-db testsuite, mantis #19564
git-svn-id: trunk@18051 -
2011-08-01 16:22:18 +00:00
marco
8265854813 * more cleanup testsuite (per database typing), mantis #18703
git-svn-id: trunk@18046 -
2011-08-01 14:11:40 +00:00
marco
5bc46002b9 * sqlite datasets adapted to also take BIGINT as ftlargeint type as per
sqlite docs. Mantis #18649

git-svn-id: trunk@18045 -
2011-08-01 14:01:10 +00:00
marco
dd00510c64 * fix epoch difference TDateTime and sqlite julian. Mantis bug #16886
git-svn-id: trunk@18044 -
2011-08-01 13:55:26 +00:00
joost
4392dd13a4 * fpmake.pp-files fixes
git-svn-id: trunk@18041 -
2011-07-31 21:51:11 +00:00
marco
db05a07412 * Support for BOOLEAN and BIGINT in fcl-db tests, initial version, patch by Lacak2
git-svn-id: trunk@18039 -
2011-07-31 19:33:38 +00:00
marco
0fb5540d25 * Left over testsuite parts of Mantis #17108, patch by Lacak2
git-svn-id: trunk@18038 -
2011-07-31 19:25:32 +00:00
marco
0976115115 * patch from mantis #12928 fixing precision of numeric type. FPC specific patch (but no effect on Delphi, so compat).
git-svn-id: trunk@18035 -
2011-07-29 10:57:34 +00:00
marco
8bb66f5e07 * add bigint. sqlite compat.
git-svn-id: trunk@18031 -
2011-07-28 21:48:12 +00:00
michael
888ea8121c * Patch from Reinier Olislaegers to handle multiline data
git-svn-id: trunk@18027 -
2011-07-27 18:53:47 +00:00
michael
f0bbea9319 * Tester for XSD export
git-svn-id: trunk@18026 -
2011-07-27 18:35:16 +00:00
michael
03133e4980 * fpxmlxsdexport.pp(2285,41) Error: Illegal type conversion: "LongInt" to "AnsiString"
git-svn-id: trunk@18025 -
2011-07-27 18:27:07 +00:00
marco
134f941937 * widestring fields for odbc. Patch from Mantis #19773
git-svn-id: trunk@18023 -
2011-07-26 16:39:53 +00:00
marco
e7375bf76f * add some wide* cases to bufdataset index building, fixes bug #19807
git-svn-id: trunk@18022 -
2011-07-26 15:38:30 +00:00
michael
2a3180c3d1 * Fix for non-i386 platforms
git-svn-id: trunk@17849 -
2011-06-27 21:50:05 +00:00
joost
23363f3158 * Added FmtBCD support to Firebird
git-svn-id: trunk@17830 -
2011-06-25 21:31:41 +00:00
joost
46aa4bfc0f * Test for r17704
git-svn-id: trunk@17822 -
2011-06-25 00:09:30 +00:00
joost
a532182917 * Use AsCurrency for currencies instead of float
git-svn-id: trunk@17821 -
2011-06-24 23:25:04 +00:00
joost
79e000d04e * Changed DefaultSQLFormatSettings into a constant, because changing this will lead to chaos in the locale-support
git-svn-id: trunk@17819 -
2011-06-24 22:00:10 +00:00
marco
7017009916 * currency and BSD asCurrency not asFloat. Patch by Lacak2, mantis #19558
git-svn-id: trunk@17760 -
2011-06-16 06:43:00 +00:00
marco
de266c9857 * moved and renamed defaultsqlformatsettings. Related to mantis #17188 (comment 49077)
git-svn-id: trunk@17738 -
2011-06-13 09:43:14 +00:00
marco
25421961c1 * Change ftcurrency to binary field to avoid server<>client locale issues.
Patch from comment in Mantis #17717 by LacaK2

git-svn-id: trunk@17737 -
2011-06-13 09:38:14 +00:00
marco
80b13f5b38 * patch from Mantis #17717 by Lacak2 that improves money,bcd and char types for postgres.
git-svn-id: trunk@17736 -
2011-06-13 09:30:46 +00:00
marco
0d71ef61fc * Committed patch from LacaK2 that adds some SQL unicode fieldtypes for sqlite3
Mantis #18670

git-svn-id: trunk@17732 -
2011-06-12 15:34:43 +00:00
marco
0e7e7e98ec * cleanup sqlite connection for BCD formatsetting improvements
Patch from LacaK2, mantis #18807 committed as is.

git-svn-id: trunk@17730 -
2011-06-12 13:43:22 +00:00
marco
eb3ccbcb1f * commit patch for various SQL formatting and conversions issues from Mantis #17188 from LacaK2
with some modifications

git-svn-id: trunk@17728 -
2011-06-12 13:14:42 +00:00
marco
ea880b829c * int64 support for tdbf indexes. Patch from mantis #16794
git-svn-id: trunk@17724 -
2011-06-11 22:30:00 +00:00
michael
08689fe638 * Some cleanup of code by LaCak
git-svn-id: trunk@17705 -
2011-06-09 12:36:34 +00:00
michael
4a08937132 * Fixed test for field is null
git-svn-id: trunk@17704 -
2011-06-09 11:27:51 +00:00
michael
d8187bfdb5 * Raise exceptions in case of wrong parameter types for date/float
git-svn-id: trunk@17703 -
2011-06-09 09:48:10 +00:00
joost
f48c1d7d79 * Fixed some tests, testValues is already set in InitializeConnection, so has to be adapted also
git-svn-id: trunk@17688 -
2011-06-07 20:07:12 +00:00
joost
f5d7fb3d45 * Bug #19418
git-svn-id: trunk@17678 -
2011-06-06 19:43:05 +00:00
michael
cbcece1ae6 * Patch from Dmitry Boyarintsev to support empty statements
git-svn-id: trunk@17545 -
2011-05-23 20:36:53 +00:00
marco
cf57b81561 * add mysql51 to MySqlTypes
git-svn-id: trunk@17514 -
2011-05-20 20:15:21 +00:00
michael
29c9a90148 * Added darwin codegen dir
git-svn-id: trunk@17492 -
2011-05-18 13:00:56 +00:00