Commit Graph

29876 Commits

Author SHA1 Message Date
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
florian
1221a10ceb * some cosmetic changes
git-svn-id: trunk@12652 -
2009-02-01 22:51:19 +00:00
joost
689ca30b21 * Allocate and de-allocate the statement-handle in the PrepareStatement and UnPrepareStatements instead of the TODBCConnection.Destroy and .Create procedures. Because as long as the statements arent de-allocated, the tables used in the statements are still locked. The result was that a select and a drop table on the same table were not possible within one TSQLQuery object.
git-svn-id: trunk@12651 -
2009-02-01 21:21:13 +00:00
florian
56ef86333d * limit IDE stack to 3M on windows to avoid trouble at IDE startup at least on XP x64
git-svn-id: trunk@12650 -
2009-02-01 19:21:10 +00:00
florian
9869a2b29d * set stacksize in the main program, it makes no sense to set it in fpcdefs.inc and parse it a zillion times
* use maxstacksize to set stacksize on windows

git-svn-id: trunk@12649 -
2009-02-01 18:29:58 +00:00
florian
a3d784b8e5 * internal coff linker takes care of min./max. stack size as well as pe flags
git-svn-id: trunk@12648 -
2009-02-01 18:22:18 +00:00
florian
05031b9522 - removed quotes from TEST_REMOTEOPT as mentioned some days ago on fpc-devel
git-svn-id: trunk@12647 -
2009-02-01 17:19:44 +00:00
florian
17e62ae5e4 + build embedded rtl
git-svn-id: trunk@12646 -
2009-02-01 17:17:39 +00:00
florian
6b17415106 + delete base.build-stamp.*
git-svn-id: trunk@12645 -
2009-02-01 17:15:51 +00:00
florian
775e4f353c + make target buildbase
git-svn-id: trunk@12643 -
2009-02-01 16:27:01 +00:00
joost
46ebc7b768 * Replaced longint by clong, and the hardcoded length of 4 by SizeOf(clong)
* Added blob-parameter support

git-svn-id: trunk@12642 -
2009-02-01 16:14:10 +00:00
joost
358eec969f * The primary key obtained using SQLPrimaryKeys is not always present with the same name in the list of indexes returned by SQLStatistics. (for example see Firebird-bug-tracker ODBC-56) In that case the PK obtained by SQLPrimaryKeys is added to IndexDefs, even if that leads to a duplicate entry for a index under two different names
git-svn-id: trunk@12641 -
2009-02-01 14:16:24 +00:00
joost
349ff010a1 ' * Do not use a space as FieldNamesQuoteChar but an empty string, so that parameters are parsed correctly
git-svn-id: trunk@12640 -
2009-02-01 14:09:27 +00:00
joost
6fc3f2e809 * Do not treat a single colon followed by a space as a parameter
git-svn-id: trunk@12639 -
2009-02-01 13:58:28 +00:00
marco
1533599426 * regionsize now ptruint, mantis 13077
git-svn-id: trunk@12638 -
2009-02-01 13:20:21 +00:00
florian
1b79f2ebcf * improved feature defines
+ basic consoleio support for the embedded target

git-svn-id: trunk@12637 -
2009-02-01 12:44:25 +00:00
florian
c127154efa o Haiku patches by Olivier Coursiere
+ add posix thread support
  * improve signal handling
  * synchronize haiku's baseunix unit with the unix one (maybe it will be possible to remove Haiku's one in a future patch, but i keep it for now)
  + add support for standard sockets
  * fix some functions import to use the right libraries under Haiku
  * fix packages compilation

git-svn-id: trunk@12636 -
2009-02-01 10:30:55 +00:00
Jonas Maebe
f9556bad39 * fixed ESysEIntr checking for fpflock
git-svn-id: trunk@12635 -
2009-01-31 21:12:17 +00:00
Jonas Maebe
4a829da2fc * fixed fileopen when not specifying any sharing (should not perform any
locking at all) (= fmShareCompat, as that one is 0)
  * fixed test for this change (and for fmShareDenyNone)

git-svn-id: trunk@12634 -
2009-01-31 18:46:11 +00:00
Jonas Maebe
9fabb0b127 * fixed file locking of files opened as read- or write-only on solaris
(locking is based on fcntl there, and that one cannot create an
     exclusive lock for a read-only file or a shared lock for a write-only
     file)

git-svn-id: trunk@12633 -
2009-01-31 18:11:58 +00:00
Jonas Maebe
6851d6d8e0 * fixed solaris flock type
* fixed and enabled solaris flock implementation based on fcntl (although
    tests/test/units/sysutils/tfile2 still fails for solaris, because
    fcntl removes all locks as soon as you close a single file descriptor
    referring to a file, while flock doesn't)

git-svn-id: trunk@12632 -
2009-01-30 16:40:43 +00:00