Commit Graph

38751 Commits

Author SHA1 Message Date
florian
a42b934c69 * introduce FPC_SUPPORT_X87_TYPES_ON_WIN64 define which allows to build
a win64 compiler support the x87 types extended and comp/currency handled by the FPU, this
  requires to use a i386 compiler as starting compiler and cross compilation because the starting
  compiler must support the 80 bit extended type

git-svn-id: trunk@23023 -
2012-11-18 17:30:51 +00:00
florian
45f60bc4b5 * small changes (copyright, typo, readability)
git-svn-id: trunk@23022 -
2012-11-18 17:28:30 +00:00
joost
87bb1fe33e * In the case that there is no object-file for a unit, do not try to install it. Bug #21230, patch by Sergei
git-svn-id: trunk@23021 -
2012-11-18 17:24:02 +00:00
michael
b1a6601ef6 * Fixed compilation
git-svn-id: trunk@23020 -
2012-11-18 17:16:59 +00:00
florian
f6109d7c65 * improved error reporting by printing the type being found in with expressions
git-svn-id: trunk@23019 -
2012-11-18 17:09:36 +00:00
florian
0e92f68032 - 2.0 overlefts removed
git-svn-id: trunk@23018 -
2012-11-18 17:07:57 +00:00
sergei
afd34cf9d5 * Changed section for ansi/wide/unicodestring constants, resourcestrings (content only) and dataconstnodes from sec_rodata to sec_rodata_norel, because they never contain relocations.
git-svn-id: trunk@23017 -
2012-11-18 17:00:18 +00:00
michael
e8580b5d9c * Changes to make it more compatible to other connectors
git-svn-id: trunk@23016 -
2012-11-18 16:23:46 +00:00
nickysn
8222b8d956 * enable the assembler by default in hermes.pp
git-svn-id: trunk@23015 -
2012-11-18 15:46:32 +00:00
marco
31e5ac3836 * Patch from Reinier to cache libraryname in a global.
git-svn-id: trunk@23014 -
2012-11-18 13:34:39 +00:00
joost
e26f4ac798 * Added SkipCrossPrograms parameter to fpmkunit
git-svn-id: trunk@23013 -
2012-11-18 10:36:18 +00:00
Jonas Maebe
dfe59e6838 - removed unimplemented/unsupported rtleventsync (mantis #23332)
git-svn-id: trunk@23012 -
2012-11-18 10:23:48 +00:00
Jonas Maebe
d3d0df6e4d * terminate with an error when initializing a critical section and recursive
mutexes are not available, since one of the expected properties of
    (Delphi/Windows-compatible) critical sections is that they ar
    re-entrant (mantis #23334)

git-svn-id: trunk@23011 -
2012-11-18 10:23:44 +00:00
Jonas Maebe
676db6d377 * removed stray try/finally statement (mantis #23333)
git-svn-id: trunk@23010 -
2012-11-18 10:23:38 +00:00
nickysn
3de0f0d7b5 * ptcpas: prefix all x11 include files with 'x11'
git-svn-id: trunk@23009 -
2012-11-17 23:54:33 +00:00
nickysn
f2cb80f639 * ptcpas: prefix all win32/win64 include files with 'win32' to avoid include file name duplications
git-svn-id: trunk@23008 -
2012-11-17 22:24:06 +00:00
joost
b61960a0fb * Implemented BuildCPU, BuildOS en BuildString properties
git-svn-id: trunk@23007 -
2012-11-17 21:38:15 +00:00
nickysn
b3d86072b8 * updated ptcpas fpmake.pp
git-svn-id: trunk@23006 -
2012-11-17 21:08:34 +00:00
nickysn
e616d0b7f0 * updated ptcpas to 0.99.13
git-svn-id: trunk@23005 -
2012-11-17 19:03:53 +00:00
nickysn
504b2bc544 * fixed hermes author and license info - it's a full library translation and not just header translation, the original author is Christian Nentwich and the license of the pascal version is modified LGPL (changed from LGPL with Christian's permission)
git-svn-id: trunk@23004 -
2012-11-17 18:11:35 +00:00
nickysn
0d6c36d980 * updated hermes fpmake.pp
git-svn-id: trunk@23003 -
2012-11-17 17:49:50 +00:00
nickysn
7d0b209349 * updated hermes
git-svn-id: trunk@23002 -
2012-11-17 17:28:29 +00:00
joost
316717a710 * Re-generated all the Makefile.fpcs from the packages. So they are almost all the same now.
git-svn-id: trunk@23001 -
2012-11-17 00:18:50 +00:00
sergei
186cbaaf18 * Ansistring versions of MkDir,ChDir,RmDir: make a full copy of argument string. This is necessary because underlying implementations can modify directory separators in argument, causing crash if argument resides in read-only memory. This is also consistent with shortstring variants of same procedures.
git-svn-id: trunk@23000 -
2012-11-16 18:27:55 +00:00
sergei
2c011312db * Changed TElf32Header and TElf64Header definitions, making them look closer to canonical ones (first 16 bytes are a single array field, addressable via EI_xx indices).
git-svn-id: trunk@22999 -
2012-11-16 17:05:06 +00:00
lacak
4aa8b2cef7 fcl-db: tests: MS SQL Server and Sybase do not support dates before 1753 for their DATETIME data type so do not try insert these dates into test tables.
(MS SQL 2008 introduced DATETIME2, which support full range of years 0000-9999).

git-svn-id: trunk@22998 -
2012-11-16 13:36:53 +00:00
lacak
544c7d8dbb fcl-db: add support for ftFixedWideChar and ftWideMemo into xmldatapacketreader.
git-svn-id: trunk@22997 -
2012-11-16 12:59:57 +00:00
reiniero
ccead0db7b * fcl-db: forgot rename in {$IFNDEF Win64} section in r22993
git-svn-id: trunk@22996 -
2012-11-16 12:54:22 +00:00
lacak
ffefefc1dc fcl-db: when moving odd number bytes from blob stream into widestring allocate sufficient space. (f.e. if Len=1 then Len div 2 = 0)
git-svn-id: trunk@22995 -
2012-11-16 12:37:53 +00:00
masta
e370303fda Add unsigned versions of ntohl and htonl
All systems i know of define ntohl and htonl to use unsigned 32bit
types. To keep backward compatibility for now I've added overloaded
versions so the impact on existing code is a small as possible. But I've
marked the signed versions as deprecated.

The code will now also use SwapEndian which is available as optimized
versions on some platforms.

git-svn-id: trunk@22994 -
2012-11-16 12:37:07 +00:00
reiniero
02bccda89e fcl-db: cosmetic change due to new variable names too similar to existing ones in r22988
git-svn-id: trunk@22993 -
2012-11-16 11:17:21 +00:00
michael
4ecfde31e1 * Prevent Move from freeing an associated object if OwnsObjects=True (reported on sourceforge)
git-svn-id: trunk@22992 -
2012-11-16 11:04:44 +00:00
pierre
29609ee37b * Regenerated with trunk compiled fpcmake (adds missing supproted targets like x86_64-netbsd)
git-svn-id: trunk@22991 -
2012-11-16 09:33:04 +00:00
lacak
9e5c31331e fcl-db: tests: add more information to be able find point where test fails.
git-svn-id: trunk@22990 -
2012-11-16 08:43:39 +00:00
lacak
e8b2ae1112 fcl-db: tests: More descriptive error messages.
git-svn-id: trunk@22989 -
2012-11-16 07:11:07 +00:00
lacak
7a9a5ea6bf fcl-db: test:
use GetConnectionInfo(citServerType) to determine remote SQL server type and use this to correctly setup supported data types ("FieldtypeDefinitions" and "testValues").
Useful especially for testing TODBCConnection.

git-svn-id: trunk@22988 -
2012-11-16 06:10:05 +00:00
sergei
1aea22a6ca + Internal linker: generic and ELF-specific support for grouped sections, allow same symbol to be defined in several COMDAT groups.
* ELF linker: don't make unresolved weak symbols dynamic if linking statically (-Xt in command line).
* Now internal linker produces working executable for tw14265 also on i386-linux when compiling manually (still unable to locate required libraries when run from test suite).

git-svn-id: trunk@22987 -
2012-11-15 13:41:25 +00:00
lacak
82fd77d341 fcl-db: sqlite: call InitializeSQLite with SQLiteLibraryName (in same style like in DoInternalConnect)
to avoid exception when connection is already opened.

git-svn-id: trunk@22986 -
2012-11-15 09:30:17 +00:00
lacak
1fe0240029 fcl-db: mssql:
* implements GetConnectionInfo
* renames private method DBExecute to Execute (IMO slightly better name)
* reorders methods to reflex logical order in which they are called

git-svn-id: trunk@22985 -
2012-11-14 06:21:50 +00:00
Tomas Hajny
451d486c37 * add support for syncobjs under OS/2
git-svn-id: trunk@22984 -
2012-11-12 20:02:53 +00:00
Tomas Hajny
688c0a6f3c * avoid need of GetLastOSError under OS/2
git-svn-id: trunk@22983 -
2012-11-12 19:59:28 +00:00
Jonas Maebe
cb41d6355c * clarified -Cb explanation (mantis #23308)
git-svn-id: trunk@22982 -
2012-11-12 10:34:00 +00:00
lacak
56350aec8a fcl-db: sqlite: cleanup + formatting
(use already defined constant JulianEpoch instead of own;
 use UnicodeCompareStr instead of WideCompareStr)

git-svn-id: trunk@22981 -
2012-11-12 09:57:28 +00:00
joost
1698673744 * Make distclean should clean up for all known targets. This behavior waw broken since r18060
git-svn-id: trunk@22980 -
2012-11-11 21:28:29 +00:00
marco
f0fcd4647b * fix for mantis #22283, Wrong bit shift in ListView_GetCheckState (shl instead of shr)
git-svn-id: trunk@22979 -
2012-11-11 18:16:32 +00:00
joost
8168276912 * Only rebuild the fpmake executable if fpmake.pp is changed. With this change it is possible again to cross-compile after a normal compile without a make clean in between.
git-svn-id: trunk@22978 -
2012-11-11 13:04:52 +00:00
Jonas Maebe
8bf71af3b1 * fixed compatilation on Haiku Alpha4 (patch by Olivier Coursière,
mantis #23300)

git-svn-id: trunk@22969 -
2012-11-10 20:26:46 +00:00
Jonas Maebe
d9e67fc835 * don't add a separate high parameter for array-of-const parameters on the
JVM target (just like for open array parameters), since the array length
    is already encoded in the array itself there

git-svn-id: trunk@22968 -
2012-11-10 20:26:42 +00:00
florian
d67f31a0e1 * allow type parameters variables being passed to new/dispose, resolves #23270
git-svn-id: trunk@22963 -
2012-11-09 20:46:30 +00:00
sergei
49501413e1 + Support library grouping in internal linker script, use it to load C libraries.
git-svn-id: trunk@22962 -
2012-11-09 14:38:11 +00:00