Commit Graph

29628 Commits

Author SHA1 Message Date
joost
e407bb5780 * Implemented TDataset.Dataconvert for WideStrings
* Reverted r11612, see bug #11706
 * Raise exception if TDataset.Locate is called for an unidirectional dataset

git-svn-id: trunk@12254 -
2008-11-27 19:33:42 +00:00
peter
570ffacb92 * fix virtual without constructor warning for forward classes
git-svn-id: trunk@12253 -
2008-11-27 19:04:54 +00:00
joost
dd4b94357e Implemented the as abstract defined methods of TDataset as empty stubs as listed in bug #12136 for Delphi compatibility
git-svn-id: trunk@12245 -
2008-11-27 12:14:47 +00:00
joost
138280cb6d * UsePrimaryKeyAsKey default value is true, bug #12257
git-svn-id: trunk@12244 -
2008-11-27 11:51:24 +00:00
joost
8fce9ba897 * Removed empty implementation of TBlobField.Assign(to), uses inherited implementation. Bug #12578
git-svn-id: trunk@12243 -
2008-11-27 11:40:18 +00:00
joost
332d850f1e Patch from Luiz Americo, bug #12703
- Format code to get consistent use of spacing, indentation and capitalization.

git-svn-id: trunk@12242 -
2008-11-27 11:03:02 +00:00
Almindor
1446eb9dc2 * separate static and dynamic loadable aspell
git-svn-id: trunk@12241 -
2008-11-27 10:51:20 +00:00
joost
668e50b88c * Fixed ftBCD support, partly bug #12143. Note that a TParam with a datatype of ftBCD in practice never occurs
git-svn-id: trunk@12240 -
2008-11-27 10:18:55 +00:00
Almindor
563d2b2ecb * update spellcheck unit (change to default failure behavior)
* update example

git-svn-id: trunk@12239 -
2008-11-27 09:53:13 +00:00
marco
52bb5ac229 * removed some old 1.0.x ->2.0.x transitional code (executeprocess)
git-svn-id: trunk@12238 -
2008-11-26 23:08:17 +00:00
Almindor
1e69e3955b * remove ifdefs in var section of library load routine (produces some
unused vars on some platforms but is easier to keep cross-platform)

git-svn-id: trunk@12237 -
2008-11-26 22:37:30 +00:00
michael
22bb6c804b * Patch from Mattias Gaertner to fix memory leak
git-svn-id: trunk@12235 -
2008-11-26 19:06:36 +00:00
michael
790a6a01b7 * Small fix from Andrew Haines to fix dos paths in CHM files
git-svn-id: trunk@12234 -
2008-11-26 19:04:20 +00:00
Almindor
109dddc439 * first part of aspell libloading fix
git-svn-id: trunk@12233 -
2008-11-26 12:58:35 +00:00
joost
c1cfc941b4 * Removed two blocks of commented code
git-svn-id: trunk@12232 -
2008-11-26 10:33:39 +00:00
joost
51806e90b8 * Extracted CancelUpdBuffer from CancelUpdateBuffers so that it can be called recursively now. When a record is deleted, the changes linked to the deleted record are processed first
git-svn-id: trunk@12231 -
2008-11-26 10:27:34 +00:00
andrew
db23ddb11e * fixed writing \ instead of / on win* platforms
git-svn-id: trunk@12230 -
2008-11-26 04:56:55 +00:00
Tomas Hajny
e407775dae * hopefully final fix for r12204, r12224 and r12225
git-svn-id: trunk@12229 -
2008-11-25 22:50:20 +00:00
joost
07f81f532c * Now the update-buffers which are linked to a record which is going to be removed are re-linked to the next record, the exception that modify-update buffers are not being re-used upon a delete, is removed.
git-svn-id: trunk@12228 -
2008-11-25 20:55:52 +00:00
joost
4fd9d7314a * Fixed wrong order of elements in psaElementSizes introduced in r12138
git-svn-id: trunk@12227 -
2008-11-25 18:16:51 +00:00
joost
ae32715890 * TBufDataset.Locate: Set the FilterBuffer when entering the dsFilter state
git-svn-id: trunk@12226 -
2008-11-25 12:29:33 +00:00
Tomas Hajny
ff119421dd * correction for r12204 and r12224
git-svn-id: trunk@12225 -
2008-11-24 22:11:18 +00:00
joost
856ee3f7c1 * Removed the dependency on the ini-file, specified DBConnectorName manually
git-svn-id: trunk@12224 -
2008-11-24 10:04:27 +00:00
joost
ad9d126239 Patch from Luiz Americo, mantis 12700
- Fix setting negative double values

git-svn-id: trunk@12223 -
2008-11-24 09:57:19 +00:00
joost
0684eda0d8 Patch from Luiz Americo, mantis 12698
- Add OnGetHandle event

git-svn-id: trunk@12222 -
2008-11-23 20:33:53 +00:00
joost
55352b6def * Added TestDeleteDoubleDelete
* Improved check of a streamed dataset definition

git-svn-id: trunk@12221 -
2008-11-23 17:18:23 +00:00
joost
9f25b3e2ed Added test for fixedstring fields
* Added test for the update buffers when multiple records are deleted
 * Changed tests because for sqldb the datasets must have a primary key, with as result that the id-field is required.

git-svn-id: trunk@12220 -
2008-11-23 17:00:40 +00:00
joost
481148b1f6 * Only scroll to the next record if the current record is deleted
* Jump back to the previous record after an applyupdates using InternalGotoBokmark

git-svn-id: trunk@12219 -
2008-11-23 16:18:31 +00:00
joost
3397aac1de Patch from Luiz Americo, mantis 12677
- Added Options property
 - Implemented Wildcard keys in Locate/Lookup 

git-svn-id: trunk@12218 -
2008-11-23 16:03:29 +00:00
Tomas Hajny
29c94d94d9 * Makefile not commited in r12204 by mistake
git-svn-id: trunk@12217 -
2008-11-23 15:40:40 +00:00
joost
9f2e076cb3 * Added two fcl-db tests to the general testsuite
git-svn-id: trunk@12216 -
2008-11-23 15:29:13 +00:00
joost
2425eb4721 * Use variable instead of hardcoded tablename
git-svn-id: trunk@12215 -
2008-11-23 15:04:58 +00:00
joost
b593bf17bf * Do not load the connectors in toolsunit, but in the test program
git-svn-id: trunk@12214 -
2008-11-23 13:31:37 +00:00
joost
836f7352e3 * Try to drop the table if it already exists while setting up tests. This avoids an annoying exception while debugging the tests
git-svn-id: trunk@12213 -
2008-11-23 11:51:00 +00:00
joost
0cc93f5019 * Implemented TBufDataset.BookmarkValid
git-svn-id: trunk@12211 -
2008-11-23 11:02:13 +00:00
Jonas Maebe
807c63916e * do not write the ".file" directive in assembler files for Darwin
(gcc doesn't do it either, and it causes the assembler to report
     errors as if they occur in the Pascal source file)

git-svn-id: trunk@12205 -
2008-11-23 09:49:34 +00:00
Tomas Hajny
8de51a03cb * avoid platform specific ifdefs in eventlog.pp and allow OS/2 implementation being used again
git-svn-id: trunk@12204 -
2008-11-23 01:52:33 +00:00
Tomas Hajny
57c4392fca * wrong dependency on subdir win for go32v2 removed
git-svn-id: trunk@12203 -
2008-11-23 01:43:41 +00:00
Tomas Hajny
3807408aec + directory for include files with dummy implementations added
git-svn-id: trunk@12202 -
2008-11-23 01:42:36 +00:00
joost
ded9c07b39 * Added a TBufDataset.GetRecordUpdateBufferCached which first checks if the current updatebuffer is the searched buffer. If it is not, call GetRecordUpdateBuffer
* GetRecordUpdateBuffer can now be used to loop through all updatebuffers for each record
 * When an update-buffer is linked to a record which is being deleted, re-link that update buffer to the next available record. It is a slow workaround, but the other solutions were too complex
 * Refactored streaming of update-buffers, added support for inserted records

git-svn-id: trunk@12201 -
2008-11-22 23:25:27 +00:00
Jonas Maebe
7b4eed79ce * fixed generic uint32->float softfpu conversion
git-svn-id: trunk@12200 -
2008-11-22 18:05:19 +00:00
Jonas Maebe
3d25478436 * fixed writing memory references on ppc when there is only an offset
(mantis #12685 and also the error message noted in mantis #12576,
     although in case of the latter it's only a symptom of another bug)

git-svn-id: trunk@12199 -
2008-11-22 15:13:16 +00:00
florian
5b5895b8ff * small avr compilation fixes
git-svn-id: trunk@12198 -
2008-11-22 09:51:24 +00:00
Jonas Maebe
bf7b6fd279 + darwin/arm signal handling support, except for the definition of the
signal context structure as the license of the original file isn't
    100% clear yet

git-svn-id: trunk@12196 -
2008-11-21 22:04:03 +00:00
florian
719daf2cf8 * modified zlib patch to resolve 12667 by zipfelvo
git-svn-id: trunk@12176 -
2008-11-19 11:37:18 +00:00
florian
d78855cea8 + more c types
git-svn-id: trunk@12175 -
2008-11-19 11:36:43 +00:00
florian
c8fae83c57 * forgotten commit of loop strength reduction patch
git-svn-id: trunk@12174 -
2008-11-19 11:03:20 +00:00
joost
108db3e1db * Close a TBufDataset on destroy
* Always use GetCurrentBuffer in TBufDataset.SetFieldData, the old exception for the dsFilter state is not valid anymore
 * Do not pass an AUpdOrder to StoreRecord when there is no update at all
 * When saving the dataset to file, store not only the complete buffer, but also check if there are still records waiting to be fetched
 * Clean up of obsolete code
 * Added comments
 * Updated TXMLDatapacketReader to the new method of storing/loading records from stream

git-svn-id: trunk@12173 -
2008-11-19 10:01:35 +00:00
peter
e8e9da4047 * replace showall with list command
* support new homepageurl and downloadurl
  * update fpmkunit requirement to 2.2.2-1

git-svn-id: trunk@12171 -
2008-11-18 23:59:58 +00:00
peter
2916256b2c * change externalurl to homepageurl
git-svn-id: trunk@12170 -
2008-11-18 23:58:52 +00:00