Commit Graph

33863 Commits

Author SHA1 Message Date
blikblum
e54c0c7449 * call validate in setfielddata
git-svn-id: trunk@17419 -
2011-05-09 16:42:51 +00:00
joost
b8f734522e * Fixed default/mysql ftTime parameter support, bug #18718
git-svn-id: trunk@17418 -
2011-05-09 16:00:03 +00:00
joost
c1fc8180c8 * Fixed typo/compilation in r17416
git-svn-id: trunk@17417 -
2011-05-08 16:34:38 +00:00
joost
122494f5ea * Fixes datetime values <0
* Fixed time-intervals longer then 24 hours
 * Use 'DATETIME' fields in tests, because mysql's 'TIMESTAMPS' are limited

git-svn-id: trunk@17416 -
2011-05-08 16:32:17 +00:00
joost
7f1a6b8e3e * Patch from Ladislav Karrach to add msec support to sqlite-time fields,
bug #18840
 * Adapted/fixed test for timefields, to allow testing for msec values, 
   bug #18763

git-svn-id: trunk@17415 -
2011-05-08 14:51:34 +00:00
joost
0addec8f18 * Initialize fractional part of SQL_DATE_STRUCT
git-svn-id: trunk@17414 -
2011-05-08 14:44:45 +00:00
marco
7ac90e351c * fix thread.resume warning
git-svn-id: trunk@17413 -
2011-05-08 13:32:47 +00:00
marco
7292492c1a * Updated to 2.1.0 mostly. Expands support for "mode" in tarheaders.
git-svn-id: trunk@17412 -
2011-05-08 13:31:32 +00:00
joost
30a019d421 * Allow sqlite time(intervals) > 24 hours
git-svn-id: trunk@17411 -
2011-05-08 12:29:42 +00:00
joost
99bbb6e5cf * EncodeTimeInterval implemented, allowing time intervals>24 hour
git-svn-id: trunk@17410 -
2011-05-08 12:28:41 +00:00
joost
9689e49657 * Patch from Ladislav Karrach to fix some locale-test issues
* Removed unnused variables, bug #18763

git-svn-id: trunk@17409 -
2011-05-07 18:37:55 +00:00
joost
222b22ad1f * Avoid unnecessary variant casting in TParam.AssignFieldValue, patch from Ladislav Karrach, bug #19015
git-svn-id: trunk@17408 -
2011-05-07 17:31:12 +00:00
paul
937bf3cdaf compiler: write finished zero for enumeration rtti (this was broken since r14511 fixes bug #0019288)
git-svn-id: trunk@17407 -
2011-05-05 08:52:14 +00:00
michael
7916d8be55 * Fixed bug ID #19290
git-svn-id: trunk@17406 -
2011-05-05 07:18:32 +00:00
michael
76e27dff7e * Added msec precision to TimeStampStructToDateTime (bug ID 19284, patch bu Lacak2
git-svn-id: trunk@17402 -
2011-05-04 09:07:57 +00:00
joost
44f09afaf6 * Patch from Lasislav Karrach to implement ftTime parameter support to odbc+
test, bug #18824

git-svn-id: trunk@17401 -
2011-05-03 20:59:40 +00:00
joost
3152f93d23 * Implemented DateTimeToTimeStruct, patch from Ladislav Karrach, bug #18773
git-svn-id: trunk@17400 -
2011-05-03 20:40:03 +00:00
pierre
0d7945d8ae Avoid range check error on internalerror function call
git-svn-id: trunk@17399 -
2011-05-03 14:15:52 +00:00
joost
b3edae8887 * Added iphonesim target, bug #19146
* Clean empty directories, bug #19153

git-svn-id: trunk@17398 -
2011-05-02 21:04:59 +00:00
michael
7069db2194 * Fixed setting of RAW interfaces
git-svn-id: trunk@17391 -
2011-05-02 19:16:53 +00:00
michael
90af29cda9 * Patch from Colin Western to read B/W bitmaps with padding bits (19237)
git-svn-id: trunk@17390 -
2011-05-02 19:05:53 +00:00
joost
8847efb758 * To build fpmake while cross-compiling, use the compiler that is used
while cycling the compiler to build the native rtl. (bug 19263)

git-svn-id: trunk@17389 -
2011-05-01 16:48:56 +00:00
Jonas Maebe
a08989a76b * zero/sign extend parameter values and return values < 32 bit to 32 bit on
x86_64 (mantis #19269)
  * this is also required for darwin/i386 and was already done there for
    parameters, but not yet for return values

git-svn-id: trunk@17388 -
2011-05-01 11:33:29 +00:00
sergei
e3feef2126 * TPropVariant must be packed record, its size should match Variant (16 bytes)
* LPVERSIONEDSTREAM is a pointer type.

git-svn-id: trunk@17387 -
2011-04-30 18:09:44 +00:00
joost
786f0a5067 * Delete main executable- or library-objectfile after linking
git-svn-id: trunk@17386 -
2011-04-30 17:33:00 +00:00
sekelsenmat
c971a81d50 fpvectorial: Adds a SVG reader and adds a new convinience file reading function
git-svn-id: trunk@17385 -
2011-04-29 13:28:39 +00:00
sekelsenmat
315406bc58 fpvectorial: merges missing part of fpvtocanvas
git-svn-id: trunk@17384 -
2011-04-29 11:31:26 +00:00
sekelsenmat
399d072b8f fpvectorial: Adds a forgotten file
git-svn-id: trunk@17383 -
2011-04-29 11:30:35 +00:00
sekelsenmat
bca76120f6 fpvectorial: Merges the implementation of pen, brush and updates the svg output to use the pen
git-svn-id: trunk@17382 -
2011-04-29 11:30:16 +00:00
michael
576072dc17 * Made TIntegerField a descendant of TLongintField
git-svn-id: trunk@17381 -
2011-04-28 18:12:07 +00:00
michael
e2d488aa81 * Assign filename to uploaded file (bug id 18337; Firefox engine allows empty name)
git-svn-id: trunk@17380 -
2011-04-28 16:48:30 +00:00
michael
49cf39584c * Changed CommandLine/ApplicationName to Executable and Parameters (12034 and 14446)
git-svn-id: trunk@17379 -
2011-04-27 21:31:19 +00:00
joost
840d06dddb * Published TSQLQuery.MaxIndexesCount and FieldDefs
* Set default values for MaxIndexesCount and Readonly

git-svn-id: trunk@17378 -
2011-04-27 20:18:15 +00:00
joost
884708c6f2 * Publish TBufDataset properties, part of bug #17813
git-svn-id: trunk@17377 -
2011-04-27 20:14:32 +00:00
joost
c30ba507cd * Make the difference between installation paths between unices and others in the rules section. The prerules are evaluated too early
git-svn-id: trunk@17376 -
2011-04-26 21:15:45 +00:00
joost
2355125bd5 * Bootstrap native version of fpmkunit when cross-compiling
git-svn-id: trunk@17375 -
2011-04-26 21:06:25 +00:00
sergei
d288592c5a + Declared operand types OT_XMMRM (matches either xmm register or 128-bit memory reference) and OT_MMXRM (same for mmx).
* Modified taicpu.Pass2 to exclude non-definitely assigned variable and issue InternalError if impossible segment prefix is used.

git-svn-id: trunk@17374 -
2011-04-26 16:34:36 +00:00
michael
49ae051312 * Address must be preserved throughout accept calls
git-svn-id: trunk@17373 -
2011-04-26 14:50:43 +00:00
paul
901a9a974e compiler: don't create set constants from arrays with high bound > 255 if elements of array are lower than 255
git-svn-id: trunk@17372 -
2011-04-26 00:17:14 +00:00
sergei
1bcc41c8c6 * x86 assembler reader: fixed bug in Tx86Instruction.AddReferenceSizes which was causing "Unable to determine operand size" error on instructions like "cmpss $0x10,(%rax),%xmm7" (3-operand instructions with reference being the source operand).
git-svn-id: trunk@17370 -
2011-04-25 21:35:36 +00:00
marco
5c08dd06a3 * patch from Cobines, Mantis 19227 fixing return type of shgetfileinfo*
git-svn-id: trunk@17369 -
2011-04-25 15:43:07 +00:00
joost
0efed1cea9 * Use COMPILER_FPMAKE_UNITDIR to search for native units
git-svn-id: trunk@17368 -
2011-04-25 14:51:19 +00:00
joost
b926c6984e * Added COMPILER_FPMAKE_UNITDIR to makefiles, with the path to the native
ppu's
 * When no native ppu's are found, search for them in the units_bs dir. So
   that it is possible to bootstrap fpmkunit

git-svn-id: trunk@17367 -
2011-04-25 14:34:12 +00:00
paul
f0ce4ccb44 compiler: copy extendeddef in tobjectdef.getcopy by Sven Barth
git-svn-id: trunk@17366 -
2011-04-25 02:06:04 +00:00
michael
d7f5842c2e * Wrong file extensions
git-svn-id: trunk@17365 -
2011-04-24 09:21:50 +00:00
michael
1f6695b28b * Added instantfpc
git-svn-id: trunk@17364 -
2011-04-24 09:20:35 +00:00
sergei
92adf34e3f * Tighten rules for accepting ATT suffixes, no longer accept FPU suffixes for integer instructions and vice versa. Resolves #18900.
* tb0267.pp required patching due to 'fildw' instruction at line 72, which is rejected by GAS. Before this commit, FPC was silently converting it to 'filds', so it went unnoticed. Now FPC rejects 'fildw' like GAS does.

git-svn-id: trunk@17363 -
2011-04-21 20:03:05 +00:00
joost
3b53a1e933 * Added resourcefiles
git-svn-id: trunk@17362 -
2011-04-21 15:38:16 +00:00
joost
65583179ed * On Windows INSTALL_BASEDIR is used as installation-prefix, by default PREFIX
isn't even set. Further INSTALL_BASEDIR could be wrong when fpcpackage is 
   not set. (bug 19153)

git-svn-id: trunk@17361 -
2011-04-21 15:28:22 +00:00
joost
de8fa2330d * Only cleanup fpmake executable on distclean. Mostly because 'clean' itself is
executed by higher-level Makefiles, so that fpmake had to be recompiled
   all the time
 * Always use a native compiler, even when cross-compiling
 * Always use a native executable-extension, even when cross-compiling
 * Do not pass any options to the compiler when compiling fpmake.pp
 * With no compiler options, it is not necessary anymore to create the
   unit target directory.

git-svn-id: trunk@17360 -
2011-04-21 13:55:32 +00:00