Commit Graph

30096 Commits

Author SHA1 Message Date
Jonas Maebe
73a394bca6 * fixed class cast error
git-svn-id: trunk@12718 -
2009-02-08 12:59:31 +00:00
Jonas Maebe
a4cc881693 * fixed compilation after addition of support for weak symbols
git-svn-id: trunk@12716 -
2009-02-08 10:21:17 +00:00
Jonas Maebe
9b790edd4f * fixed parsing of "var x: <type> absolute <value>;" on 64 bit platforms
(tests/tbs/tb0350)

git-svn-id: trunk@12715 -
2009-02-08 09:00:49 +00:00
Tomas Hajny
7bb670800d * -Ratt removed from default fp.cfg - it is not necessary and makes troubles under sparc
git-svn-id: trunk@12714 -
2009-02-08 01:00:02 +00:00
Jonas Maebe
95431c57f5 * fixed variantarrays for 64 bit systems after the changes in 2.2.0 to
turn variantarray indices into longints
  * extended tw9161 to also test storing and retrieving dynamic arrays
    in/from variant arrays

git-svn-id: trunk@12713 -
2009-02-08 00:24:03 +00:00
Jonas Maebe
31756489a2 * now range check error also fixed for 64 bit targets
git-svn-id: trunk@12712 -
2009-02-07 23:03:29 +00:00
Jonas Maebe
4e1859e108 * fixed spilling of "mov $64bitconst,%reg" on x86_64
git-svn-id: trunk@12711 -
2009-02-07 22:57:59 +00:00
Jonas Maebe
7950db7f2f * fixed (harmless) range check errors
git-svn-id: trunk@12710 -
2009-02-07 22:25:33 +00:00
Jonas Maebe
dc2d1c6926 * fixed (harmless) range check errors
* fixed indentation

git-svn-id: trunk@12709 -
2009-02-07 22:25:07 +00:00
Jonas Maebe
b3aa2ab759 + new test which should fail but doesn't yet (it should not be possible to
use a char typecasted as a chararray with more than one element as an
    lvalue)

git-svn-id: trunk@12708 -
2009-02-07 22:20:47 +00:00
Jonas Maebe
31f3d1ead1 * fixed range check errors
git-svn-id: trunk@12707 -
2009-02-07 21:50:22 +00:00
florian
05fcdceb6d + list of possible feature switches
git-svn-id: trunk@12706 -
2009-02-07 21:48:43 +00:00
florian
d6ba5ab341 * another patch for seeking in compressed streams by Danny Milosavljevic, resolves #12830
git-svn-id: trunk@12705 -
2009-02-07 21:31:17 +00:00
Jonas Maebe
1f75d8734d * fixed range/overflow errors
git-svn-id: trunk@12704 -
2009-02-07 21:27:34 +00:00
Jonas Maebe
0a14c8824e * fixed invalid class typecasts in rol/ror handling
git-svn-id: trunk@12703 -
2009-02-07 21:21:43 +00:00
Jonas Maebe
ef7d9c7a41 * fixed range check errors when typecasting vBoolean to unsigned ordinals
git-svn-id: trunk@12702 -
2009-02-07 21:12:01 +00:00
Jonas Maebe
1c82b105fa * fixed (harmless) range check error
git-svn-id: trunk@12701 -
2009-02-07 20:43:18 +00:00
Jonas Maebe
eee1525de8 * fixed compilation with range checking switched on
git-svn-id: trunk@12700 -
2009-02-07 20:42:45 +00:00
florian
0bd33cbbc1 * applied fix from 12833
git-svn-id: trunk@12699 -
2009-02-07 16:13:05 +00:00
florian
0c65d53f45 + added register keyword to Interlocked* definitions as suggested by Jonas, resolves #12255
git-svn-id: trunk@12698 -
2009-02-07 16:09:05 +00:00
Jonas Maebe
c4310a6f08 * replaced invalid {$STACKSIZE } directive with {$MINSTACKSIZE }
git-svn-id: trunk@12697 -
2009-02-06 20:04:11 +00:00
Jonas Maebe
ae45a80d46 * allow the usage of symbolic constants to specify the "stored" attribute
of properties (mantis #10492). Not really clean (and Delphi supports
    full expressions, e.g. also "(const1=const2)"), but cannot do better
    without rewriting the complete symlist parsing to use parse trees instead
    of parser tokens as input

git-svn-id: trunk@12696 -
2009-02-06 19:54:29 +00:00
ivost
452d2b5fee * updated error message
git-svn-id: trunk@12695 -
2009-02-06 17:00:32 +00:00
ivost
555d72a37b * fixed library name (typo)
git-svn-id: trunk@12694 -
2009-02-06 16:58:06 +00:00
ivost
76694f6ec8 * added new test for interface to tguid or shortstring constants
git-svn-id: trunk@12693 -
2009-02-06 12:08:48 +00:00
ivost
0f519439b5 * reverted r12690 and r12691
* but extended ptconst so that a com interface maybe assigned to a TGuid const

git-svn-id: trunk@12692 -
2009-02-06 02:56:13 +00:00
ivost
7f2c77a407 * temporarly disabled GetInterface(iidstr: .... to keep fpc compiling
git-svn-id: trunk@12691 -
2009-02-06 01:37:52 +00:00
ivost
c61a0784cb * assign an Interface to TGuid was not possible (const Guid: TGuid = IUnknown)
git-svn-id: trunk@12690 -
2009-02-06 01:01:59 +00:00
marco
57e65411ad * fix for libxml2xml
git-svn-id: trunk@12689 -
2009-02-05 21:38:17 +00:00
ivost
3f7f4a9ddf * accidentially disabled usage of windows unit
git-svn-id: trunk@12688 -
2009-02-05 17:13:28 +00:00
yury
8bbb39b630 * MaxBitFlags must not exceed MaxInt atm. After r12443, MaxBitFlags was $3FFFFFFE0. "unreachable code" warning indicated that something is wrong. Please fix all warning/notes to eliminate possible coding errors...
git-svn-id: trunk@12687 -
2009-02-05 12:19:02 +00:00
yury
89d466a3dc * Fixed writing debug link for external symbols file. Bug #13041.
git-svn-id: trunk@12686 -
2009-02-05 11:44:52 +00:00
Jonas Maebe
6f12cb03db * if no locking is specified, also request an exclusive lock for solaris
in case the file is opened as read/write (instead of only if opened as
    write-only)

git-svn-id: trunk@12685 -
2009-02-04 11:41:18 +00:00
Jonas Maebe
78f6e5ff6e * fixed fmShareDenyNone for Solaris
git-svn-id: trunk@12684 -
2009-02-04 10:13:46 +00:00
marco
c13f553b9b * comment added previous commit
git-svn-id: trunk@12683 -
2009-02-04 09:11:25 +00:00
joost
6ceb016593 * Do not set the Transaction property of a TDatabase while assigning TSQLTransaction.Database when the TSQLTransaction is loaded from stream
git-svn-id: trunk@12680 -
2009-02-03 22:28:12 +00:00
joost
1d66bf0764 * Use the transaction of the query when assigning blob-parameters, not the connections transaction
git-svn-id: trunk@12679 -
2009-02-03 21:47:32 +00:00
ivost
2730c5f705 * made libxml2 headers Lazarus "Codetools" compatible
* prepeared headers for dynamic loading (not enabled right now)

git-svn-id: trunk@12678 -
2009-02-03 20:46:24 +00:00
marco
33133d00da * polybezierto and polydraw corrected as per Mantis 13112
git-svn-id: trunk@12677 -
2009-02-03 20:38:27 +00:00
Jonas Maebe
6581c8dec5 * hopefully final fix to unix locking: specifying no locking mode again
means "exclusive lock" where supported (not on Solaris when opening
    a file in read-only mode)

git-svn-id: trunk@12675 -
2009-02-03 13:34:56 +00:00
Jonas Maebe
adaae268ae * don't perform fmShareDenyNone/fmShareExclusive check for unix, as it
cannot be implemented there

git-svn-id: trunk@12674 -
2009-02-03 13:33:47 +00:00
Jonas Maebe
8a0c16edb6 * fixed the placement of some fileclose() calls
git-svn-id: trunk@12673 -
2009-02-03 13:22:37 +00:00
michael
b1f3d5de97 * Fixed tfile2 so it compiles and runs on windows
git-svn-id: trunk@12672 -
2009-02-03 12:25:16 +00:00
Jonas Maebe
213c00b17f * updated check for minimum version required to build trunk (at least
FPC 2.2.2)

git-svn-id: trunk@12671 -
2009-02-03 11:43:42 +00:00
marco
017f7b2528 * log* defines.
git-svn-id: trunk@12665 -
2009-02-02 20:44:18 +00:00
florian
acb06dac1b + Wp<Controllertype> support for arm and avr
git-svn-id: trunk@12664 -
2009-02-02 20:16:25 +00:00
Jonas Maebe
b39cc14c47 * regenerated after patch to Makefile.fpc in r12636
git-svn-id: trunk@12656 -
2009-02-02 16:07:24 +00:00
Jonas Maebe
be2d246327 * also let fcl-xml depend on iconvenc for beos and haiku
* regenerated using an up-to-date fpcmake

git-svn-id: trunk@12655 -
2009-02-02 16:06:22 +00:00
michael
e29d652dbe * Reversed dependency of fcl-xml so it checks the platform names which need the dependency
git-svn-id: trunk@12654 -
2009-02-02 15:52:39 +00:00
marco
6ab2cae3cc * deprecated (for 2.4) some functions that take a shortstring path.
(problems with long filenames)

git-svn-id: trunk@12653 -
2009-02-02 10:06:03 +00:00