Commit Graph

1697 Commits

Author SHA1 Message Date
marco
f68280e91c * Patch from 7048
git-svn-id: trunk@5535 -
2006-12-03 19:12:11 +00:00
Almindor
0219dcf2ab * removes old (wrong) AF_ and PF_ consts from socketsh.inc
* adds platform specific AF_ and PF_ consts to respective unxsockh.inc files for freeBSD and Linux (others to follow)

git-svn-id: trunk@5440 -
2006-11-22 10:50:19 +00:00
yury
61f0f0b793 * define FPC_DOUBLE_HILO_SWAPPED for ARM CPU if needed to properly handle doubles in RTL.
git-svn-id: trunk@5439 -
2006-11-21 21:24:01 +00:00
florian
442ad0cbe8 * fixed long type and derivates for win64
git-svn-id: trunk@5409 -
2006-11-16 20:39:00 +00:00
yury
63a162ac83 * fixed tw4700.
git-svn-id: trunk@5388 -
2006-11-15 07:17:41 +00:00
yury
4bfe0e6819 * Optimization for code size.
git-svn-id: trunk@5331 -
2006-11-11 14:19:33 +00:00
yury
3ab20922d6 * Optimization for code size. It saves 1.5KB for ARM and 0.5KB for i386.
git-svn-id: trunk@5329 -
2006-11-11 13:26:09 +00:00
Jonas Maebe
865a4573cf * exit with exitcode 217 instead of some random OS result
on an unhandled exception

git-svn-id: trunk@5314 -
2006-11-10 20:32:20 +00:00
yury
84d5552deb * Added HAS_WIDESTRINGMANAGER define to turn off default wide string manager routines.
git-svn-id: trunk@5308 -
2006-11-10 14:47:28 +00:00
yury
cc2b691c0c * Cleanup of variant manager stub in System unit. FPC 2.1.1 adds Variants unit implicitly. Variant manager stub in System unit is never called. This cleanup shrinks wince executable size by 3KB.
git-svn-id: trunk@5307 -
2006-11-10 14:41:45 +00:00
yury
c00d0debf0 * fixed some notes/warnings.
git-svn-id: trunk@5306 -
2006-11-10 12:36:45 +00:00
yury
677defd615 * Small optimization.
git-svn-id: trunk@5304 -
2006-11-10 10:20:38 +00:00
florian
7781e842fc * varset support fixed
git-svn-id: trunk@5294 -
2006-11-08 22:48:44 +00:00
florian
7cc78b6ae1 * improved complex / operator by Dimitrios Apostolou
git-svn-id: trunk@5279 -
2006-11-07 21:09:57 +00:00
Jonas Maebe
4240479f5d * fixed datarace in CBeginThread
git-svn-id: trunk@5274 -
2006-11-07 14:05:09 +00:00
yury
df6fec5301 * removed runtime error on unhandled exception when SysUtils is used.
git-svn-id: trunk@5273 -
2006-11-07 10:32:27 +00:00
florian
60b1d1e162 * fpc_dispinvoke_variant is a compilerproc
git-svn-id: trunk@5256 -
2006-11-05 21:39:32 +00:00
florian
a13d358f1e * first partially working implementation of variant com invoking
git-svn-id: trunk@5247 -
2006-11-05 15:34:15 +00:00
florian
4cbb67aa00 * some fpu emulation code from arm to generic code generator moved
* several m68k fixes

git-svn-id: trunk@5218 -
2006-11-04 10:23:35 +00:00
florian
c947295cb8 + ttertiarynode
* traise node refactored using tertiarynode
* more dipatch stuff

git-svn-id: trunk@5215 -
2006-11-03 23:03:31 +00:00
micha
53f935213f * re-export operatingsystem_result (only not needed for i386-linux-2.1.1)
git-svn-id: trunk@5203 -
2006-11-03 13:42:51 +00:00
micha
ad7d549965 + implement pascal inline asm start/halt code for linux/i386
git-svn-id: trunk@5181 -
2006-11-02 16:58:41 +00:00
Jonas Maebe
4f55927506 * fixed little endian typo
git-svn-id: trunk@5155 -
2006-11-01 17:07:45 +00:00
Jonas Maebe
d87f03eef5 - removed automatic int-string, string-int and int-array conversion for
macpas after discussion on macpascal mailing list. The only thing left
    is automatic conversion of constant strings of length 4 to 32 bit ints.
  * adapted tests to this
  * fixed FOUR_CHAR_CODE and FCC functions in MacPas unit for little
    endian
  + FourCharArray type in macpas unit wich can be used to typecast
    int's "back" to an array[1..4] of char (though the characters
    will be in reverse on little endian systems in that case)

git-svn-id: trunk@5154 -
2006-11-01 16:34:37 +00:00
Jonas Maebe
5acc8b44a8 * activated internal get_frame for x86
* turn off stackframe optimizations on x86 if get_frame is called
    in the current routine, or if the address of a nested function
    is taken in the current routine
  + test for the above
  * this fixes the IDE when compiled with stackframe optimizations
    on x86

git-svn-id: trunk@5146 -
2006-11-01 12:48:53 +00:00
florian
5c9b39549a * fixed olevariant -> variant conversion
git-svn-id: trunk@5131 -
2006-10-31 19:45:08 +00:00
peter
c606162d3d * revert fpread to fdread fix, rename fdread in non-unix to fpread
git-svn-id: trunk@5108 -
2006-10-31 07:36:13 +00:00
peter
070606c267 * non-unix uses fdread/fdwrite
git-svn-id: trunk@5107 -
2006-10-31 07:30:08 +00:00
florian
beb1c6b72d * spaces inserted
git-svn-id: trunk@5074 -
2006-10-29 21:45:00 +00:00
florian
81a4547901 * fixed assignment of empty strings for windows
git-svn-id: trunk@5071 -
2006-10-29 20:22:51 +00:00
florian
cd5861a01e * fixed compilation on arm
git-svn-id: trunk@5070 -
2006-10-29 20:12:12 +00:00
Jonas Maebe
117774e006 * fixed web bug #7105
git-svn-id: trunk@5068 -
2006-10-29 19:22:04 +00:00
florian
028a4c0cbf * compilation fixed
git-svn-id: trunk@5066 -
2006-10-29 19:03:52 +00:00
florian
02a553668f + software implementation of exp(<double>)
git-svn-id: trunk@5065 -
2006-10-29 18:02:10 +00:00
Jonas Maebe
64b7f00afd * fixed ReturnNilIfGrowHeapFails
git-svn-id: trunk@5042 -
2006-10-28 18:17:34 +00:00
florian
484e7ac0c1 * fixed defines
git-svn-id: trunk@4976 -
2006-10-19 15:17:14 +00:00
daniel
de001ec4ad * Free hidden cmdline instead of cmdline property.
git-svn-id: trunk@4968 -
2006-10-18 20:32:45 +00:00
peter
59e84ac06d * force stackframes for foreach,firstthat,lastthat
git-svn-id: trunk@4967 -
2006-10-18 20:31:25 +00:00
daniel
bbc80554b1 * Turn cmdline into property on Linux.
* Move some procedure in Linux system unit.

git-svn-id: trunk@4964 -
2006-10-18 20:07:10 +00:00
Jonas Maebe
77de2d3b82 - removed getpointersize again, it's not a standard macpas function
git-svn-id: trunk@4962 -
2006-10-18 19:50:16 +00:00
daniel
aabc1e0fd2 * Tidy indentation
git-svn-id: trunk@4961 -
2006-10-18 19:44:24 +00:00
Jonas Maebe
5eedbdfde9 + support for indexing 4-byte sized integers as array[1..4] of char in
macpas mode

git-svn-id: trunk@4955 -
2006-10-18 17:26:00 +00:00
Jonas Maebe
1106b6a32f + GetPointerSize function
git-svn-id: trunk@4954 -
2006-10-18 17:24:50 +00:00
Jonas Maebe
200ad7e5ae * moved some generic constants out of the {$ifndef FPC_SYSTEM_HAS_TRUNC}
block

git-svn-id: trunk@4940 -
2006-10-16 11:08:47 +00:00
florian
5f3a3bc051 * made the softfpu unit embedable in the system unit
* several fixes to get the softfpu working
* resolved conflicts between genmath and softfpu

git-svn-id: trunk@4935 -
2006-10-15 21:27:30 +00:00
chrivers
4bb1d117d6 Use symbolic const E_NOINTERFACE instead of raw value $80004002
git-svn-id: trunk@4934 -
2006-10-15 19:51:40 +00:00
florian
557afed6f3 * missing space added
git-svn-id: trunk@4923 -
2006-10-15 14:06:53 +00:00
marco
b5e0fa43ce * post 2.0 simplification, win32 now also has fpread/write
git-svn-id: trunk@4920 -
2006-10-15 12:29:22 +00:00
micha
dc3b37ff73 + heap manager: reduce overhead on fixed size chunks from 8 to 4
git-svn-id: trunk@4904 -
2006-10-14 15:05:24 +00:00
Almindor
2ee7e64a4a * adds semaphore support to ThreadManager, removes pipe hack from non linux
+ adds SemaphoreInit, SemaphorePost, SemaphoreWait and SemaphoreDestroy to TM

git-svn-id: trunk@4900 -
2006-10-14 11:39:47 +00:00