Commit Graph

5612 Commits

Author SHA1 Message Date
florian
380d3be22c * started to fix var. array -> dyn. array
git-svn-id: trunk@1626 -
2005-11-01 22:41:25 +00:00
tom_at_work
653f4b465d * fixed some typecasts of pointers to Longint for 64 bit architectures (Linux and generic parts of the RTL only)
* 64 bit sockets unit fixes

git-svn-id: trunk@1625 -
2005-11-01 22:40:23 +00:00
florian
9e30922547 * fixed previous commit
git-svn-id: trunk@1623 -
2005-11-01 22:13:37 +00:00
florian
7bff61ce29 * patch from Ales Katona to add a stack size parameter to tthread functions
git-svn-id: trunk@1621 -
2005-11-01 22:01:48 +00:00
florian
25ce080225 * BGI font fix from Lowell C. Savage
git-svn-id: trunk@1620 -
2005-11-01 21:56:50 +00:00
tom_at_work
b8f34684ec - fixed TFDSet type for 64 bit compatibility
git-svn-id: trunk@1618 -
2005-11-01 21:08:07 +00:00
florian
c5f82ba6de + (ole)variant<->error type conversion
+ DynArraySetLength
+ DynArrayFromVariant

git-svn-id: trunk@1608 -
2005-10-30 23:12:08 +00:00
tom_at_work
2198a6a44a * assembly round and trunc routines for ppc64
git-svn-id: trunk@1601 -
2005-10-26 21:43:54 +00:00
tom_at_work
c5f89d7efd * release old stack pointer register on ppc64 after method prolog
* threading fixes for ppc64
* fixed a_param_ref to respect the size parameter on ppc64
* better stack size calculation for ppc64

git-svn-id: trunk@1599 -
2005-10-26 19:50:17 +00:00
tom_at_work
5520442fc4 * call by register now also takes care of the TOC and environment pointer
* first "optimize for size"-optimization

git-svn-id: trunk@1593 -
2005-10-25 20:12:21 +00:00
florian
9fd0bb293d * fixed typo in previous commit
git-svn-id: trunk@1575 -
2005-10-23 14:01:08 +00:00
florian
d2a111105e * made syscall.inc pic safe
git-svn-id: trunk@1574 -
2005-10-23 13:48:51 +00:00
florian
8711adb9d1 * fixed exp to be pic safe
git-svn-id: trunk@1573 -
2005-10-23 13:37:08 +00:00
Jonas Maebe
5cd3f3272c * fixed fpdup2() for non-text files
git-svn-id: trunk@1557 -
2005-10-21 12:34:36 +00:00
florian
2dcefd968f * fixed video unit for windows with sizes requiring scrolling
* prevent potential overflow by changing integer to longint

git-svn-id: trunk@1552 -
2005-10-20 19:30:57 +00:00
tom_at_work
202236c6e0 * fpcmake.ini update which fixes glibc search path problems on PowerPC64
* makefile update

git-svn-id: trunk@1546 -
2005-10-20 16:56:40 +00:00
yury
cdd17e4299 * readme.txt changes.
git-svn-id: trunk@1494 -
2005-10-19 07:21:58 +00:00
peter
75c00e21c9 * i386 signal handler receives a ucontext instead of sigcontext
git-svn-id: trunk@1478 -
2005-10-18 13:41:48 +00:00
peter
7f6d44006e * disable TLS segment initialization, it breaks threading
git-svn-id: trunk@1470 -
2005-10-18 11:20:36 +00:00
peter
ea6dadb7be * make widestrings compatible with COM BSTR, the length is now the number
of bytes allocated instead of the number of widechars

git-svn-id: trunk@1467 -
2005-10-18 09:45:13 +00:00
florian
11336b091d + TInterfaceList implemented
git-svn-id: trunk@1453 -
2005-10-17 21:39:46 +00:00
tom_at_work
4db863d076 * first shared library link path fixes
* PowerPC64/Linux signal handler now differs between different FP exceptions

git-svn-id: trunk@1452 -
2005-10-17 21:30:21 +00:00
tom_at_work
4176b71277 * fixed variants unit to make it compile for 64 bit targets
git-svn-id: trunk@1451 -
2005-10-17 21:23:48 +00:00
florian
71dac7c02f + RegisterClassAlias implemenentation from Stefan van den Berg
git-svn-id: trunk@1449 -
2005-10-17 20:56:39 +00:00
Jonas Maebe
2cb88de19b * fixed missing digit when printing a double whose significant digits are
all before the floating point on a cpu/fpu supporting maximally double
    precision
  * fixed test in tw1792a for double precision fpu's (they can print one
    digit less for double precision numbers than 80 bit fpu's)

git-svn-id: trunk@1446 -
2005-10-17 20:33:07 +00:00
yury
2332eae403 * prevent endless stack dump if an exception occured during the dump itself.
git-svn-id: trunk@1427 -
2005-10-16 17:17:50 +00:00
Jonas Maebe
f5083e8dfa * fixed FreeOnTerminate (was already fixed in Linux version)
* handle interrupted reads from the semaphore pipe in Darwin (should be
    applied to *BSD and Linux as well)
  + lots of extra debugging code in Darwin tthread.inc if DEBUG_MT defined

git-svn-id: trunk@1416 -
2005-10-16 13:59:19 +00:00
yury
a5f134ba25 * floating point exceptions were enabled.
git-svn-id: trunk@1409 -
2005-10-16 13:07:11 +00:00
florian
d8acc80ae5 * reverted inline patch partly
* improved append_char by avoiding unnecessary unique call

git-svn-id: trunk@1406 -
2005-10-16 11:24:24 +00:00
yury
3239011837 * DOS<->Win filetime conversion was fixed.
* FileExists fix from Win32 was applied.

git-svn-id: trunk@1405 -
2005-10-16 10:28:10 +00:00
florian
396b5524ee * patch from Luiz Américo:
1 - Return false when the argument is a directory (like Delphi)
  2 - Return false when passing '*' as argument (like Delphi)
  3 - Its faster 

git-svn-id: trunk@1404 -
2005-10-16 09:17:41 +00:00
Jonas Maebe
f67ffaa7c8 * fixed TextToFloat for platforms where currency = Int64 (webtbs/tw4093)
git-svn-id: trunk@1402 -
2005-10-16 06:28:14 +00:00
marco
14e7ad4cfe * added some constants
git-svn-id: trunk@1397 -
2005-10-15 22:35:15 +00:00
tom_at_work
701638138b * fixed exception handling for PowerPC64
* math library is now automatically linked on non-x86 platforms when FPC_USE_LIBC is defined
* generic C system function signature adaptions for 64 bit CPUs 

git-svn-id: trunk@1392 -
2005-10-15 21:24:15 +00:00
marco
a2ba7077e9 * some very generic constants added.
git-svn-id: trunk@1388 -
2005-10-15 19:28:21 +00:00
Jonas Maebe
2dbdc474fd * use register variables when release-building for ppc (more or less doubles
performance for most programs)

git-svn-id: trunk@1383 -
2005-10-15 16:36:52 +00:00
tom_at_work
0ba960e1bd * added workarounds for some load/store instructions requiring 4 byte aligned addresses
* some cleanup and optimization of 64 bit address loading in the code generator
* small changes to the IDE to make it compile
* stat type update for packages/cdrom compatibility

git-svn-id: trunk@1375 -
2005-10-14 00:00:16 +00:00
florian
78abb1603d * synched with i386
git-svn-id: trunk@1373 -
2005-10-13 20:59:00 +00:00
marco
0bc7d92310 * removed old BSD ifdefs
git-svn-id: trunk@1368 -
2005-10-13 18:39:22 +00:00
tom_at_work
3f4682400c * fixed basic signal handling for PowerPC64/linux, by updating related types and major code cleanup
git-svn-id: trunk@1364 -
2005-10-12 22:46:13 +00:00
tom_at_work
0b34b01a6d * fixed class messages for PowerPC64, due to a wrong typecast
git-svn-id: trunk@1363 -
2005-10-12 22:28:51 +00:00
peter
9d0851e4a1 * remove comment level 2 warning
git-svn-id: trunk@1355 -
2005-10-11 06:48:32 +00:00
peter
6314aa118f * support for MCBS from bug #4211
git-svn-id: trunk@1353 -
2005-10-11 06:36:07 +00:00
tom_at_work
bfb2c916dc * fixed problem with too large offsets in conditional jumps (see also rev 1161 for the PowerPC code)
* updated sysnr.inc for PowerPC64 from 2.6.11 kernel sources
* fixed SigactionRec sa_flags field sizes, which improves signal handling for PowerPC64 platform

git-svn-id: trunk@1352 -
2005-10-10 23:45:57 +00:00
marco
5fbf962637 * small fix for 1735, tw2242 still broken due to complexity.
git-svn-id: trunk@1350 -
2005-10-10 12:09:57 +00:00
marco
411e2359eb * Fixed 2.0.0 compilation
git-svn-id: trunk@1346 -
2005-10-09 21:29:01 +00:00
marco
f054a6df16 * nanosleep for sleep(), since it is now in the POSIX group.
git-svn-id: trunk@1341 -
2005-10-09 11:41:57 +00:00
marco
8f50bb556e * small fix to inclocked inlining changes
git-svn-id: trunk@1340 -
2005-10-09 11:06:47 +00:00
marco
5c92d88da8 * inlined a few funcs, inlined the non threaded part of inc/declocked. The lock prefixed one
remains a separate proc, as it is slow anyway.

git-svn-id: trunk@1339 -
2005-10-09 10:57:29 +00:00
tom_at_work
9e7d550455 * fixed last commit (1337) which broke some files in the repository
git-svn-id: trunk@1338 -
2005-10-08 17:23:44 +00:00