Commit Graph

26673 Commits

Author SHA1 Message Date
Jonas Maebe
123362235b * use initc.fpgetCerrno rather than fpgeterrno to get the errno
results of the sem_* routines (since those always come from libc/
    libpthread)

git-svn-id: trunk@8266 -
2007-08-12 08:29:48 +00:00
Jonas Maebe
4457538435 * explicitly unmask SIGSEGV, SIGILL, SIGBUS and SIGFPE at the start
of a new thread (should fix #9073)

git-svn-id: trunk@8265 -
2007-08-11 20:59:37 +00:00
Jonas Maebe
e7c94f7e5c - removed obsolete {$threading on} directive
git-svn-id: trunk@8264 -
2007-08-11 20:58:20 +00:00
michael
b39be6dd43 * Initial explanation of architecture
git-svn-id: trunk@8263 -
2007-08-11 20:25:45 +00:00
peter
4e412ad9c0 * remove poNoConsole so it works under windows
git-svn-id: trunk@8261 -
2007-08-11 16:16:39 +00:00
Jonas Maebe
ce86cedd4d * return wrAbandoned rather than wrError from IntbasiceventWaitFor
in case a sleep is interrupted while the event is being destroyed

git-svn-id: trunk@8260 -
2007-08-11 08:13:36 +00:00
Jonas Maebe
ef801ba3a3 * check once more whether we can lock after we've waited
for the entire timeout in IntbasiceventWaitFor

git-svn-id: trunk@8259 -
2007-08-11 08:07:44 +00:00
Jonas Maebe
5bcda6d18a * fixed #9402 and removed limitation of 4 dns servers
git-svn-id: trunk@8258 -
2007-08-10 20:39:02 +00:00
Jonas Maebe
494fb81dd8 * fixed semaphore implementation based on file handles (select needs
file descriptor + 1 as first parameter, select can also be EIntr)
  * changed IntbasiceventWaitFor (used by syncobjs) so it can emulate
    timeouts (using a loop and short sleeps) (mantis #9414)
  * also added wrAbandoned support to IntbasiceventWaitFor
  * enhanced tbrtlevt.pp to test new functionality

git-svn-id: trunk@8257 -
2007-08-10 20:20:44 +00:00
Tomas Hajny
908a116cfc * preserve gs in far_strlen
git-svn-id: trunk@8256 -
2007-08-09 18:51:15 +00:00
Tomas Hajny
05b3c0311b * make sure to preserve edi in free_memory_block
git-svn-id: trunk@8255 -
2007-08-09 18:41:27 +00:00
Tomas Hajny
1967deb137 * missing size modifier added
git-svn-id: trunk@8254 -
2007-08-09 18:38:09 +00:00
Jonas Maebe
9c90a93932 * fixed bug which caused SSA to be less effective for integer
registers on 64 bit cpus

git-svn-id: trunk@8253 -
2007-08-09 11:57:52 +00:00
yury
e7ef9757c9 * Corrected comment.
git-svn-id: trunk@8252 -
2007-08-09 10:33:18 +00:00
yury
1a661dc254 * TAPI fixes by S0vNark0m.
+ SimMgr API by S0vNark0m.

git-svn-id: trunk@8251 -
2007-08-09 09:55:01 +00:00
Jonas Maebe
a5fc8ad63f * adapted test so both throwing an exception and not throwing an exception
is ok (only entercritialsection immediately terminating the problem with
    an error code is wrong), since several OSes apparently don't check the
    validity of the criticalsection

git-svn-id: trunk@8250 -
2007-08-09 07:38:13 +00:00
Jonas Maebe
399598a15b + another test which currently fails (Delphi 7 supports converting
variant('true') to an integer, Delphi 6/Kylix doesn't)

git-svn-id: trunk@8249 -
2007-08-08 14:38:59 +00:00
Jonas Maebe
fd98a0cc5b * don't call runerror if a unix threading error occurs (because this
immediately terminates the whole application), but instead call
    handleerrorframe (which can be converted into an exception) (#7954)

git-svn-id: trunk@8248 -
2007-08-08 13:59:17 +00:00
Jonas Maebe
b43404964c * support 'true'/'false' for SetOrdProp on booleans (fixes #9347)
+ test for that bug, plus another test based on it which doesn't work yet

git-svn-id: trunk@8247 -
2007-08-08 13:26:28 +00:00
Jonas Maebe
174a2686f7 * added .NOTPARALLEL to chm and fcl-base Makefiles
* added all missing dependencies to the packages Makefile
 -> make -j 2 works again under Darwin

git-svn-id: trunk@8246 -
2007-08-08 12:47:17 +00:00
Jonas Maebe
f3a00b0731 * cache result of GetThreadManager in InitThreads
git-svn-id: trunk@8245 -
2007-08-08 11:33:54 +00:00
Jonas Maebe
e205481027 * fixed sparc bootstrap
* use -Av9 assembler option so it accepts the memory barrier opcodes

git-svn-id: trunk@8244 -
2007-08-08 09:48:37 +00:00
Jonas Maebe
98ad33a0c7 + added lwsync instruction to the compiler
* fixed compilation of ReadDependencyBarrier

git-svn-id: trunk@8243 -
2007-08-08 09:15:48 +00:00
Jonas Maebe
ad43c6a989 * fixed properties
git-svn-id: trunk@8242 -
2007-08-08 09:10:40 +00:00
peter
2e47433989 * fix typo
git-svn-id: trunk@8241 -
2007-08-08 06:00:18 +00:00
micha
d95b9082bb * add memory barrier prototypes + implementation for i386 and sparc + use lwsync for powerpc64
git-svn-id: trunk@8240 -
2007-08-07 20:37:08 +00:00
peter
2e9968d46c * arrays always by addr
git-svn-id: trunk@8232 -
2007-08-06 19:44:25 +00:00
Jonas Maebe
134427700b * disabled overloaded operators for non-x86 because they don't compile
(the value is a packed array of bytes in this case, not a record)

git-svn-id: trunk@8231 -
2007-08-06 13:44:13 +00:00
yury
0e1357642e + Added TAPI declarations by SovNarKom.
git-svn-id: trunk@8230 -
2007-08-06 07:45:39 +00:00
peter
6d4ccd3b3f * operators for clongdouble
git-svn-id: trunk@8229 -
2007-08-06 07:12:51 +00:00
peter
4b1fa9bc27 * clongdouble fixes
git-svn-id: trunk@8228 -
2007-08-06 07:12:24 +00:00
peter
5e4125a4da * more resets of failed
git-svn-id: trunk@8226 -
2007-08-05 20:31:12 +00:00
peter
f5d5e377d2 * fix linux x86_64 for records and arrays
git-svn-id: trunk@8224 -
2007-08-05 19:38:21 +00:00
Jonas Maebe
881f884f4c * also pass -arch parameter when creating bundles
git-svn-id: trunk@8223 -
2007-08-05 11:05:20 +00:00
Almindor
7db1d24253 * update lNet in fppkg to 0.5.6a
git-svn-id: trunk@8222 -
2007-08-05 09:50:55 +00:00
michael
6e75a2da3c * Re-published properties that disappeared
git-svn-id: trunk@8221 -
2007-08-04 18:36:25 +00:00
Jonas Maebe
49a545aef2 * fixed FormatFloat for non-x86 (mantis 9384)
git-svn-id: trunk@8220 -
2007-08-04 17:38:48 +00:00
Jonas Maebe
4cdd590091 * use app_type instead of RelocSection for creating bundles, as
RelocSection is automatically set for all shared libraries

git-svn-id: trunk@8219 -
2007-08-04 09:13:34 +00:00
yury
b07b8b557b * Added TransparentImage and TransparentBlt declarations.
git-svn-id: trunk@8218 -
2007-08-03 23:19:57 +00:00
Jonas Maebe
84ddacd017 + support for creating a bundle instead of a library on Darwin (-Wb)
git-svn-id: trunk@8217 -
2007-08-03 12:42:49 +00:00
Jonas Maebe
f1f1299e97 * generalised -W description to "target-specific options"
* mention for each -W option to which targets it applies
  * show all available -W options for all target architectures they apply to
  * reworded some option descriptions
  * all option descriptions now start with a capital for consistency

git-svn-id: trunk@8216 -
2007-08-03 12:13:27 +00:00
peter
4e6c57b9ee * cleanup x86_64 structures in registers
git-svn-id: trunk@8214 -
2007-08-02 20:46:48 +00:00
florian
ea61793ca2 * fix by Carsten Bager
git-svn-id: trunk@8211 -
2007-08-02 07:44:32 +00:00
florian
9713d5cb21 * more properties fixed
git-svn-id: trunk@8210 -
2007-08-02 07:40:03 +00:00
florian
065b187c26 * properties set
git-svn-id: trunk@8209 -
2007-08-02 07:38:09 +00:00
yury
b40de09cdb * Update and cleanup.
git-svn-id: trunk@8208 -
2007-08-01 17:22:39 +00:00
yury
0d79d73dc3 * Fixed TSHFILEINFO declaration.
git-svn-id: trunk@8205 -
2007-07-31 21:58:05 +00:00
yury
c454c53ae7 * Fix and cleanup window styles.
git-svn-id: trunk@8204 -
2007-07-31 21:49:57 +00:00
Almindor
0fef52cce3 * update lNet to 0.5.5
git-svn-id: trunk@8202 -
2007-07-31 09:45:46 +00:00
yury
b0834a01a0 * Don't use changed registers list. Save used registers directly in asm code.
git-svn-id: trunk@8201 -
2007-07-30 17:26:45 +00:00