Commit Graph

6696 Commits

Author SHA1 Message Date
Legolas
9e6d19a494 * rtl part of first Nintendo DS port
git-svn-id: trunk@5593 -
2006-12-14 17:34:51 +00:00
michael
4e1fcbed2c * Added RoundTo and SimpleRoundTo
git-svn-id: trunk@5587 -
2006-12-13 20:25:20 +00:00
michael
8cc78e212d * Changed halt statement with proper exception
git-svn-id: trunk@5583 -
2006-12-13 19:29:04 +00:00
michael
c65744ab41 * Removed debug statement causing bug #7874 from Mantis
git-svn-id: trunk@5582 -
2006-12-13 19:21:31 +00:00
michael
2eda10c74c * Patch from Vincent Snijders to grow memory stream by a quarter of its size
git-svn-id: trunk@5581 -
2006-12-13 19:17:39 +00:00
florian
f37ed0cf25 * improved r5564
git-svn-id: trunk@5573 -
2006-12-11 21:44:01 +00:00
florian
a5c5c0956d * edited fix from Rimgaudas Laucius to fix #7868
git-svn-id: trunk@5564 -
2006-12-10 22:49:18 +00:00
daniel
139408b512 * Environment corruption fix by Ladislav Lacina
git-svn-id: trunk@5562 -
2006-12-10 20:43:46 +00:00
ivost
7e2f18ea7e * removed debug output (sorry, forgot the remove it, my bad)
git-svn-id: trunk@5560 -
2006-12-08 18:14:29 +00:00
ivost
73713d14e3 * improved getinterfaceentry and getinterfaceentrybystr
* fixed InitInterfacePointers (just etStandard interface pointers need to be initialized!)
    * to fix: EntryOffset and IOffset should be merged (compiler thing)
    * to fix: Interface pointer allocation in TClass for not etStandard interfaces is not necessary! (also compiler thing)

git-svn-id: trunk@5559 -
2006-12-08 17:59:31 +00:00
pierre
34b049d876 * fix compilation failure in 2.1 branch
reason is that cvar was .comm before and
    is now .bss, you need to explicitly add public
    to added the .globl that makes the assembler symbol 
    accessible in other objects. 

git-svn-id: trunk@5558 -
2006-12-08 13:22:40 +00:00
Jonas Maebe
87a4372d7f * enable vfork for solaris
git-svn-id: trunk@5557 -
2006-12-08 10:20:38 +00:00
florian
d127e002d8 * use default helpers for now
git-svn-id: trunk@5556 -
2006-12-07 20:44:52 +00:00
florian
262df1cbf7 * fix for #7882 by xpete
git-svn-id: trunk@5548 -
2006-12-06 21:48:26 +00:00
Legolas
f766a739f1 * some small changes in the stack
* cleaned redundant code in prt0.as
+ added cprt0.as for libc and libgcc linking 

git-svn-id: trunk@5543 -
2006-12-05 18:35:12 +00:00
marco
f68280e91c * Patch from 7048
git-svn-id: trunk@5535 -
2006-12-03 19:12:11 +00:00
Jonas Maebe
5133e7161a + newer version of FloatToDecimal
* use more precision for extended (Delphi compatible)

git-svn-id: trunk@5517 -
2006-12-01 18:18:23 +00:00
Jonas Maebe
fb22cb9efc * fixed web bug #7756
git-svn-id: trunk@5516 -
2006-12-01 17:00:03 +00:00
Vincent Snijders
c4b458b2f0 * fixed RunErrorToExcept for EControlC and EPrivilege
git-svn-id: trunk@5499 -
2006-11-26 21:09:31 +00:00
daniel
598cf9fcf0 + Add shortstring version of system().
git-svn-id: trunk@5495 -
2006-11-26 18:40:19 +00:00
florian
0d97f9ab6c + initial implementation for x86_64, problem currently the usage of .section to create the necessary note section
git-svn-id: trunk@5491 -
2006-11-26 14:44:00 +00:00
florian
6bf6aa3552 * si_* defines cleaned up
git-svn-id: trunk@5490 -
2006-11-26 14:43:27 +00:00
florian
ded759a247 * implemented
git-svn-id: trunk@5489 -
2006-11-26 14:42:52 +00:00
michael
d4c30020ee Fix to be able to allocate threadvars when non-rtl code creates a new thread
git-svn-id: trunk@5475 -
2006-11-25 14:59:40 +00:00
michael
285e02ba83 * Fix to be able to allocate threadvars when code outside FPC creates a thread
git-svn-id: trunk@5474 -
2006-11-25 14:53:53 +00:00
daniel
84982f2f62 + Add siconverror constant.
git-svn-id: trunk@5473 -
2006-11-25 09:49:27 +00:00
daniel
7953785d50 * Fix stupid typo.
git-svn-id: trunk@5472 -
2006-11-25 09:44:58 +00:00
daniel
76cf70bdbd * Use proper critical sections.
- Remove sysutils dependency by turning exception into runerror, which is
    converted into exception anyway if user decides to use sysutils.

git-svn-id: trunk@5471 -
2006-11-25 07:32:36 +00:00
marco
f69f8041fe * symbols were used before they were defined
git-svn-id: trunk@5469 -
2006-11-24 18:02:33 +00:00
Almindor
f5d4c3400e * fixes netwares for the new AF_ PF_
git-svn-id: trunk@5466 -
2006-11-24 10:12:31 +00:00
michael
ab2e7337e3 * Patch from Graeme Geldenhuys:
- removed the SIZE = TSize declaration from types.pp
 - Added two new Size() functions that work the same as Rect(), Bounds() or Point().

git-svn-id: trunk@5464 -
2006-11-24 09:19:02 +00:00
marco
b41c939202 * patch from bug #7850, enhanced metafile functions added (gdi32 dll)
git-svn-id: trunk@5460 -
2006-11-23 09:18:44 +00:00
Almindor
12d6304861 * adds PF_ to darwin
git-svn-id: trunk@5451 -
2006-11-22 19:13:59 +00:00
oro06
bb2c984789 -wince: sockets.pp, can use directly win/ file
git-svn-id: trunk@5450 -
2006-11-22 15:19:02 +00:00
oro06
13d60d39ff *wince: fix compilation, winsock->winsock2
git-svn-id: trunk@5449 -
2006-11-22 14:56:48 +00:00
Jonas Maebe
4dadd008da * fixed compilation
git-svn-id: trunk@5448 -
2006-11-22 14:00:11 +00:00
Almindor
8f39ae741f * fix winsock sockets AF_ stuff
git-svn-id: trunk@5445 -
2006-11-22 11:48:33 +00:00
Almindor
6f44822cd4 * fix the winsock2 delegation stuff for AF_
git-svn-id: trunk@5444 -
2006-11-22 11:40:51 +00:00
Almindor
e6fb51c5b6 * fix os2 for the new AF_/PF_ stuff
git-svn-id: trunk@5443 -
2006-11-22 11:38:10 +00:00
Almindor
b0dabd0746 * fix windows sockets AT_ and PF_ (because of the unix changes)
* fix some missing T-less names for types in winsock2
+ add fpwinsockh.inc for windows specific consts needed to be delegated from winsock

git-svn-id: trunk@5442 -
2006-11-22 11:32:07 +00:00
Almindor
50995f965c * fixes solaris and netbsd AF_ and PF_ defines
+ adds preliminary unxsockh.inc to openbsd

git-svn-id: trunk@5441 -
2006-11-22 11:09:32 +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
0d38bda5c4 * small m68k-linux fixes
git-svn-id: trunk@5427 -
2006-11-19 21:51:20 +00:00
marco
940f82a473 * fix for 7825
git-svn-id: trunk@5423 -
2006-11-18 19:33:54 +00:00
Almindor
23c5955b31 * fixes bug #7836 (multiple delimiter is ignored)
git-svn-id: trunk@5422 -
2006-11-18 17:47:41 +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
ed714baff3 * fixed cleanup on exit.
git-svn-id: trunk@5401 -
2006-11-16 10:49:05 +00:00
Károly Balogh
a1f0fc1e9d + fixed doslibf.inc header, system unit should compile now on m68k at least
git-svn-id: trunk@5398 -
2006-11-15 23:18:11 +00:00
Károly Balogh
f26e0a2d82 + some more 68k stuff (merged from OS4/MorphOS, needs work)
git-svn-id: trunk@5396 -
2006-11-15 22:59:22 +00:00
tom_at_work
66607303af * fixed fpftruncate, fplseek: removed ppc64 part of "$if defined(cpu64) and not defined(cpupowerpc64)"
git-svn-id: trunk@5392 -
2006-11-15 21:38:20 +00:00
yury
63a162ac83 * fixed tw4700.
git-svn-id: trunk@5388 -
2006-11-15 07:17:41 +00:00
Tomas Hajny
d0b95a7841 * type aliases for improved compatibility
git-svn-id: trunk@5350 -
2006-11-12 23:38:47 +00:00
Tomas Hajny
0a35861d2a * improved compatibility with Windows WinSock
git-svn-id: trunk@5349 -
2006-11-12 22:49:48 +00:00
Jonas Maebe
04dda0a4e1 * fixed compilation (moved most pthread type definitions from pthread.inc
to ptypes.inc)

git-svn-id: trunk@5344 -
2006-11-12 21:02:45 +00:00
florian
90787bb436 * disable sse/mmx fastmode code in case of valgrind usage
git-svn-id: trunk@5342 -
2006-11-12 16:54:44 +00:00
yury
4bfe0e6819 * Optimization for code size.
git-svn-id: trunk@5331 -
2006-11-11 14:19:33 +00:00
yury
21bd30b47c * Setting of ErrorCode:=217 in CatchUnhandledException is not needed because it set to 217 in System unit.
git-svn-id: trunk@5330 -
2006-11-11 13:39:25 +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
8f8299d9f5 + added dependencies for bsd unit so make -j works again
git-svn-id: trunk@5326 -
2006-11-11 09:48:27 +00:00
Jonas Maebe
eb411035eb * fixed range errors
git-svn-id: trunk@5315 -
2006-11-10 20:45:59 +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
yury
9217d50f5c * Fix smartlinking for linux.
git-svn-id: trunk@5303 -
2006-11-10 10:19:15 +00:00
daniel
610cf1e2da * Fix reversed home/end.
git-svn-id: trunk@5297 -
2006-11-09 14:47:43 +00:00
peter
5e860919f8 * removed initfpu
git-svn-id: trunk@5296 -
2006-11-09 07:48:31 +00:00
florian
7781e842fc * varset support fixed
git-svn-id: trunk@5294 -
2006-11-08 22:48:44 +00:00
yury
f0960c6bb0 * fixed resources support for all windows targets.
git-svn-id: trunk@5287 -
2006-11-08 16:44:19 +00:00
Jonas Maebe
f1f8d119f8 * pthread_t is an "unsigned int" on solaris
git-svn-id: trunk@5286 -
2006-11-08 12:55:22 +00:00
Jonas Maebe
60ba78459c * pthread_t/TThreadID is a pointer on all BSDs/Darwin
git-svn-id: trunk@5285 -
2006-11-08 12:24:39 +00:00
Jonas Maebe
d2b1da0aea * TThreadID is a QWord for all 64 bit Linuxes, not just for PPC64
git-svn-id: trunk@5284 -
2006-11-08 12:19:15 +00:00
Jonas Maebe
2ce042beb4 * fixed previous commit
git-svn-id: trunk@5281 -
2006-11-07 21:45:49 +00:00
Jonas Maebe
edafc80d8c * use pthread_kill() for Suspend/Resume in cthreads
git-svn-id: trunk@5280 -
2006-11-07 21:40:58 +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
08a151077d * pthread_self returns a pthread_t, not a cint
git-svn-id: trunk@5275 -
2006-11-07 16:43:31 +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
peter
875eaa0fd6 * build sysinit units after system unit
git-svn-id: trunk@5268 -
2006-11-06 21:55:25 +00:00
florian
b07cd83892 * made system unit on m68k-linux compilable
git-svn-id: trunk@5266 -
2006-11-06 18:42:47 +00:00
marco
ed5e73b9a3 * reenabled the old getdir code when fpgetcwd was not FPC_USE_LIBC. getcwd
syscalls can fail, specially on special file systems.

git-svn-id: trunk@5262 -
2006-11-05 22:03:37 +00:00
marco
6b6cf119ef * fpgetcwd syscall edition returnvalue fix.
git-svn-id: trunk@5258 -
2006-11-05 21:52:58 +00:00
florian
2659c32078 * repeat inline in the body
git-svn-id: trunk@5257 -
2006-11-05 21:47:29 +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
Jonas Maebe
c3b0fc164b * also compile the bsd unit
git-svn-id: trunk@5241 -
2006-11-05 12:55:45 +00:00
Almindor
0fcb772a28 * removes syscalls unit from bsd.pas uses clause if libc is used
git-svn-id: trunk@5240 -
2006-11-05 12:51:34 +00:00
tom_at_work
25ad38ec50 * updated stat record
git-svn-id: trunk@5235 -
2006-11-05 10:22:24 +00:00
tom_at_work
479143a63e * fixed stat record for stat64 syscall
git-svn-id: trunk@5234 -
2006-11-05 10:21:43 +00:00
tom_at_work
1f0d411597 * fixed fpstat calls on ppc64
git-svn-id: trunk@5233 -
2006-11-05 10:21:12 +00:00
florian
46b6f00bc7 * use softfloat on arm and m68k
* export GUID_NULL from types also on windows

git-svn-id: trunk@5231 -
2006-11-05 00:03:38 +00:00
marco
86a834d2df * sign() extended and single
git-svn-id: trunk@5223 -
2006-11-04 16:57:24 +00:00
marco
66d37158e1 * ifthen doesn't need mathinline. It is not internal on some platforms.
git-svn-id: trunk@5221 -
2006-11-04 16:01:32 +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
Jonas Maebe
43ed587de0 * fixed r4828
git-svn-id: trunk@5207 -
2006-11-03 17:31:02 +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
florian
398aed09fc * startup code for gprof enabled executables refactored as unit
git-svn-id: trunk@5195 -
2006-11-03 11:06:35 +00:00
florian
a8928cf22e * fixed linking against cgywin on win32
git-svn-id: trunk@5194 -
2006-11-03 09:08:53 +00:00
florian
6e2187c606 + windows uses now sysinit units as well
git-svn-id: trunk@5191 -
2006-11-02 23:20:35 +00:00
florian
c78a20c26e - old boostrapping file
git-svn-id: trunk@5189 -
2006-11-02 22:32:35 +00:00
micha
6bfff9702e + add linux/i386 start units
git-svn-id: trunk@5183 -
2006-11-02 17:49:36 +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
micha
e754f21053 * remove old linux stat record, C lib i386
git-svn-id: trunk@5180 -
2006-11-02 15:29:04 +00:00
marco
642e466dcb * removed.
git-svn-id: trunk@5179 -
2006-11-02 15:15:27 +00:00
marco
abd864c21e * oldlinux removed. Post 2.0 cleanups
git-svn-id: trunk@5178 -
2006-11-02 15:14:01 +00:00
micha
63ea4a282b * fix x86_64 linux stat record
git-svn-id: trunk@5177 -
2006-11-02 13:48:56 +00:00
florian
4ee9f1b394 * use DefaultCW to reload fpu settings
git-svn-id: trunk@5169 -
2006-11-02 08:58:01 +00:00
Marc Weustink
53e7596e3d + Added acces violation reasons
git-svn-id: trunk@5168 -
2006-11-02 01:37:59 +00:00
Marc Weustink
ab9936a1ce + added 32/64bit exceptionrecord definitions
git-svn-id: trunk@5167 -
2006-11-02 00:36:22 +00:00
micha
ce9e589e15 * fix FileSeek implementation to match declaration
git-svn-id: trunk@5159 -
2006-11-01 17:47:47 +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
micha
0043aff24d * fix linux/sysutils 64 bit file handling: make off_t 64 bit
git-svn-id: trunk@5152 -
2006-11-01 16:32:12 +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
Jonas Maebe
e4acf70c58 * fixed fplseek declaration for linux
git-svn-id: trunk@5145 -
2006-11-01 12:32:40 +00:00
florian
4fb0d13138 + few com helpers added
git-svn-id: trunk@5144 -
2006-11-01 09:42:40 +00:00
peter
b538256145 * readd WCHAR, it is needed for compatibility. There is
code that uses windows types like Windows.WCHAR

git-svn-id: trunk@5142 -
2006-11-01 08:58:21 +00:00
Jonas Maebe
aab785d0fc * return RTE 207 for fpu inexact exceptions (so we get a sensible
exception from sysutils)
  * some cleanup in the i386 sighandler code

git-svn-id: trunk@5137 -
2006-11-01 00:08:10 +00:00
Marc Weustink
3232e59810 * fixed compilation on CE
- removed declaration of WCHAR since it is defined in systemh

git-svn-id: trunk@5135 -
2006-10-31 22:46:09 +00:00
florian
82d57d9ca8 + signed DivMod added, closes #6805
git-svn-id: trunk@5132 -
2006-10-31 22:19:04 +00:00
florian
5c9b39549a * fixed olevariant -> variant conversion
git-svn-id: trunk@5131 -
2006-10-31 19:45:08 +00:00
micha
b14c83a7e1 * stat records differ too much: use stat include file
git-svn-id: trunk@5126 -
2006-10-31 15:45:22 +00:00
micha
9f22b00219 * fix fstat to use 64 bit syscall as well
git-svn-id: trunk@5123 -
2006-10-31 14:21:59 +00:00
micha
59e2c82080 * fix stat for 64 bit CPUs
git-svn-id: trunk@5120 -
2006-10-31 13:01:20 +00:00
micha
e11995aa99 * fix fplseek for 64 bit CPUs
git-svn-id: trunk@5119 -
2006-10-31 12:25:45 +00:00
micha
9238003e4f + 64 bit file support for linux
git-svn-id: trunk@5116 -
2006-10-31 11:20:21 +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
peter
1772ada639 * add math dependency to variants
git-svn-id: trunk@5106 -
2006-10-31 07:29:48 +00:00
oro06
0aa51b9da8 +wince : more api funcs
*cleaning

git-svn-id: trunk@5105 -
2006-10-31 06:38:36 +00:00
Almindor
0c6e1e4c44 * fixes StrToTime() thanks to jesus
git-svn-id: trunk@5100 -
2006-10-30 22:52:56 +00:00
florian
6093708e65 * fixed fmtbcd for CPUs having no natural comp type
git-svn-id: trunk@5084 -
2006-10-30 08:36:49 +00:00
florian
c5535366c7 * fixed compilation with 2.0.4
git-svn-id: trunk@5082 -
2006-10-30 07:53:46 +00:00
florian
ce620190a3 + fmtbcd
* regenerated makefiles

git-svn-id: trunk@5076 -
2006-10-29 21:46:44 +00:00
florian
585db9d3c6 - removed unncessary packed
* adapted structure

git-svn-id: trunk@5075 -
2006-10-29 21:46:15 +00:00
florian
beb1c6b72d * spaces inserted
git-svn-id: trunk@5074 -
2006-10-29 21:45:00 +00:00
florian
35aa1e150e + first fmtbcd implementation
git-svn-id: trunk@5073 -
2006-10-29 21:28:31 +00:00
florian
69ae03d6bc * fixed wrong operands of swp
git-svn-id: trunk@5072 -
2006-10-29 20:51:31 +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
florian
ca6f992504 * enabled type and var keywords in objects for generics
git-svn-id: trunk@5062 -
2006-10-29 14:20:21 +00:00
florian
4626f2c489 * NetBSD rtl compiles again
git-svn-id: trunk@5049 -
2006-10-28 22:17:49 +00:00
Jonas Maebe
64b7f00afd * fixed ReturnNilIfGrowHeapFails
git-svn-id: trunk@5042 -
2006-10-28 18:17:34 +00:00
michael
310b73e420 * Moved fpmkunit to utils
git-svn-id: trunk@5035 -
2006-10-27 19:52:20 +00:00
michael
4ba6f1b4dc * Moved fpmkunit to utils
git-svn-id: trunk@5034 -
2006-10-27 19:51:55 +00:00
marco
2f8f88f801 * Replacetime. Bug #7680
git-svn-id: trunk@5033 -
2006-10-27 18:29:00 +00:00
marco
304be38ec1 * datetotime-def functions (but not yet FormatSettings) + ansidequotedstr (turned
out to be extractquotestr wrapper).

git-svn-id: trunk@5032 -
2006-10-27 18:20:02 +00:00
marco
0e7763b0e5 * Another missing func (bug 7678) ifthen(string)
git-svn-id: trunk@5031 -
2006-10-27 17:28:24 +00:00
marco
c177d64fd7 * fix for bug #7658; comparevalue
git-svn-id: trunk@5030 -
2006-10-27 17:25:03 +00:00
michael
d1c2323c9b * Added fpmktype
git-svn-id: trunk@5027 -
2006-10-26 19:55:22 +00:00
daniel
b89cff5980 * Optimize posixtorunerror for size. Because inoutres is a threadvar, it
had an invisible code blowup.

git-svn-id: trunk@5006 -
2006-10-22 21:03:48 +00:00
micha
d07bffd1bd * blind commit: hopefully fix netware/netwlibc snapshot error
git-svn-id: trunk@4999 -
2006-10-22 08:28:35 +00:00
Jonas Maebe
5213992110 * fixed mantis tw7637
git-svn-id: trunk@4995 -
2006-10-21 17:11:06 +00:00
marco
dd7f715405 * FreeBSD fixes
git-svn-id: trunk@4994 -
2006-10-21 13:16:56 +00:00
michael
5fd2688598 + usage implemented, manifest implemented. Removed some unnecessary code
git-svn-id: trunk@4983 -
2006-10-19 21:40:00 +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
ce3bfabfe6 - Remove unused sysutils dependency.
git-svn-id: trunk@4965 -
2006-10-18 20:10:02 +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
908c9741d3 + added some comments explaining the previous commit
git-svn-id: trunk@4950 -
2006-10-17 15:04:40 +00:00
Jonas Maebe
961667784a * fixed tstrreal3, hopefully didn't break anything else
git-svn-id: trunk@4949 -
2006-10-17 13:47:54 +00:00
oro06
442560b46d *wince : build broken
git-svn-id: trunk@4948 -
2006-10-17 08:32:12 +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
d4dcbeec4a * prt0.o is now build from the makefile
git-svn-id: trunk@4937 -
2006-10-15 21:28:49 +00:00
florian
7bef6e592c * softfpu is included in the system unit if necessary
git-svn-id: trunk@4936 -
2006-10-15 21:28:17 +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
marco
4d8cf8202a * fix for #7478
git-svn-id: trunk@4928 -
2006-10-15 15:37:19 +00:00
marco
449ba0b47b * reverted march fix from Florian that stops exporting pthread* types.
git-svn-id: trunk@4926 -
2006-10-15 15:20:57 +00:00
Jonas Maebe
f8b013187c * fixed semaphore init, caused endless loop when terminating any
thread

git-svn-id: trunk@4925 -
2006-10-15 14:46:36 +00:00
florian
b6309075a4 + GetFileVersion (win only)
git-svn-id: trunk@4924 -
2006-10-15 14:36:05 +00:00
florian
557afed6f3 * missing space added
git-svn-id: trunk@4923 -
2006-10-15 14:06:53 +00:00
marco
8d92e5863c * Fixing makefiles for convutils/stdconv units
git-svn-id: trunk@4922 -
2006-10-15 12:53:27 +00:00
marco
cd7ad9e581 * fdwrite internals to fpwrite.
git-svn-id: trunk@4921 -
2006-10-15 12:33:07 +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
marco
d3dfdffaa2 * Initial version
git-svn-id: trunk@4919 -
2006-10-15 12:23:36 +00:00
peter
f5efca241a * fix 64bit
git-svn-id: trunk@4906 -
2006-10-14 16:03:02 +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
f102f33426 * fix some gliches in inithreads
git-svn-id: trunk@4903 -
2006-10-14 12:47:42 +00:00
Almindor
ce2eb7246d * fix NPTL and non-NPTL (old hack-fix) on linux
git-svn-id: trunk@4902 -
2006-10-14 11:49:06 +00:00
Almindor
be67e9328f * remove pipe hack from linux tthread as well
git-svn-id: trunk@4901 -
2006-10-14 11:42:34 +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
oro06
7cdac06250 +wince : more network api funcs (now can get mac address+adapters infos)
git-svn-id: trunk@4897 -
2006-10-14 08:52:40 +00:00
marco
94e0b66d0a * fix for popen brokenness
git-svn-id: trunk@4894 -
2006-10-13 22:29:08 +00:00
marco
76f73ed2ec * partial fix for 7481. TConvFactor not added, too little docs/examples.
git-svn-id: trunk@4869 -
2006-10-12 17:13:39 +00:00
micha
0c5124c295 * fix compilation of sysutils, partly revert patch from peter which was a modified version of my patch
git-svn-id: trunk@4863 -
2006-10-11 18:19:06 +00:00
micha
8678d52aeb * avoid warning when pointer points to size 1 data
* fix variantmanager for {$T+}

git-svn-id: trunk@4861 -
2006-10-11 16:40:40 +00:00
peter
d9bcee0cbe * don't allocate unixfinddata if we search only one file, patch from neli
git-svn-id: trunk@4855 -
2006-10-11 07:04:45 +00:00
Almindor
04ee4375a7 * adds support of KSE kernel threads to freeBSD
+ adds ucontext types required
  + adds stack_t to signals include
  + adds kde_ syscalls

git-svn-id: trunk@4850 -
2006-10-10 19:28:11 +00:00