Commit Graph

29856 Commits

Author SHA1 Message Date
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
Jonas Maebe
57ff980bc3 * hopefully fixed beos compilation after r12630 (it doesn't have flock)
git-svn-id: trunk@12631 -
2009-01-30 16:09:08 +00:00
Jonas Maebe
a730ee7f10 + support for file locking for *nix systems based on flock (mantis #13012)
git-svn-id: trunk@12630 -
2009-01-30 15:08:30 +00:00
florian
527dd80aa2 * fixed some errors in the irq handlers
git-svn-id: trunk@12629 -
2009-01-29 16:20:47 +00:00
Jonas Maebe
9b67b6469b * fixed FpFcntl() for libc-based systems
* fixed FpIoctl() for Linux/libc (it also uses varargs)

git-svn-id: trunk@12628 -
2009-01-29 15:38:17 +00:00
Jonas Maebe
1d43a5af55 * fixed O_NOCTTY constant value
git-svn-id: trunk@12627 -
2009-01-29 15:10:43 +00:00
ivost
8e0ec83cf1 * fixed type in st_mysql_bind record (length: culong -> pculong)
git-svn-id: trunk@12626 -
2009-01-29 11:24:16 +00:00
Jonas Maebe
1bda0686d9 * fixed paths to http units (mantis #13065)
git-svn-id: trunk@12625 -
2009-01-29 10:10:18 +00:00
Jonas Maebe
e055b87dea * fixed zipper unit for big endian systems (patch by Bent Normann Olsen,
mantis #12562)

git-svn-id: trunk@12624 -
2009-01-29 10:00:48 +00:00
marco
4ae434ce2e * fix for supported_target turned into a set in r12622
git-svn-id: trunk@12623 -
2009-01-28 20:55:49 +00:00
Jonas Maebe
b1c3f76ff9 * changed the supported targets for assembler writers to a set, and
(hopefully correctly) limited all assembler writers to only the
    OSes they support (mantis #11801)

git-svn-id: trunk@12622 -
2009-01-28 15:12:43 +00:00
Jonas Maebe
b912e00440 * renamed rol/ror functions into rolbyte/rolword/roldword/rolqword
(and the same for ror), because their operation is very dependent on the
    operand size, and it's fairly easy to misjudge the bitwidth of the outcome
    of an expression in Pascal if you are not intimately familiar with the
    language (or if you don't know the exact types of all involved values in
    an expression)

git-svn-id: trunk@12621 -
2009-01-28 12:56:27 +00:00
florian
1e26e5dd3c + clear ram on startup
+ default interrupt handlers

git-svn-id: trunk@12620 -
2009-01-27 18:12:01 +00:00
michael
e6df6ce12e Removed wince dependency of fcl-xml on iconv_enc
git-svn-id: trunk@12619 -
2009-01-27 08:17:18 +00:00
florian
812d159f34 * fixed linker map
git-svn-id: trunk@12618 -
2009-01-26 17:25:16 +00:00
florian
6d7d6dbd60 + feature softfpu introduced
git-svn-id: trunk@12617 -
2009-01-26 17:24:24 +00:00
florian
f76606989b + arm cpus are powerfull enough to handle soft fpu code
git-svn-id: trunk@12616 -
2009-01-26 17:23:47 +00:00
florian
40b86f9fa8 * entry code fixed
git-svn-id: trunk@12615 -
2009-01-26 17:22:54 +00:00
florian
5f9b82d38b * first compilable version
git-svn-id: trunk@12614 -
2009-01-26 14:28:46 +00:00
florian
e86a03553e * compilation fixed
git-svn-id: trunk@12613 -
2009-01-26 14:28:07 +00:00
florian
35aed58faa * avoid internal error in case of an illegal assembler operand
git-svn-id: trunk@12612 -
2009-01-26 14:26:26 +00:00