Commit Graph

275 Commits

Author SHA1 Message Date
peter
f8e713c9cb * check for FPC < 2.0.0
git-svn-id: trunk@395 -
2005-06-13 07:27:07 +00:00
michael
684b7fa85f + Removed HAS_INTERNAL_INTTYPES define
git-svn-id: trunk@303 -
2005-06-09 17:50:58 +00:00
michael
859bb30daa + Removed HASTHREADVAR SUPPORT_THREADVAR defines
git-svn-id: trunk@295 -
2005-06-09 17:40:29 +00:00
michael
a775d3d487 + Removed HASCURRENCY VALUEGETMEM VALUEFREEMEM defines
git-svn-id: trunk@293 -
2005-06-09 17:33:22 +00:00
florian
ad3b9b9464 * windows rtl restructuring to share code between win32 and win64
* BeginThread can take a qword on 64 bit targets as stacksize

git-svn-id: trunk@287 -
2005-06-08 19:08:49 +00:00
michael
3a2eaa94b1 + Removed INTERNCONSTINTF define
git-svn-id: trunk@267 -
2005-06-07 22:04:18 +00:00
michael
db5d9d75aa + Removed INTERNCOPY define
git-svn-id: trunk@259 -
2005-06-07 21:11:49 +00:00
michael
a20556e62d + Removed INTERNLENGTH/INTERNSETLENGTH defines
git-svn-id: trunk@257 -
2005-06-07 21:07:21 +00:00
michael
b6d3df6cb8 + Removed FPC_HASNOFARPOINTER define
git-svn-id: trunk@253 -
2005-06-07 21:01:02 +00:00
michael
21425e303c + Removed HASVARIANT define
git-svn-id: trunk@244 -
2005-06-07 20:48:31 +00:00
michael
8a226bba52 + Removed HASWIDESTRING/HASWIDECHAR defines
git-svn-id: trunk@241 -
2005-06-07 20:42:22 +00:00
peter
4ace790492 * remove $Log
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
Jonas Maebe
7ba46ce6f0 * Darwin TThreadID is a pointer
* BeginThread now returns a TThreadID instead of dword

git-svn-id: trunk@189 -
2005-06-04 09:33:39 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
michael
ffb55c4254 + Removed VER1_0 defines
git-svn-id: trunk@33 -
2005-05-19 21:14:45 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
florian
d18746bd15 * proper error message if the cthreads unit is included too late
uses clause
2005-04-03 19:29:28 +00:00
peter
7eeca4fdce * added HexStr(Pointer) 2005-02-25 12:34:46 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
florian
f093fa9242 - killed power from system unit
* move operator ** to math unit
2005-02-08 20:25:28 +00:00
florian
6f47022b58 * InitProc gets an inital value 2005-02-06 20:37:31 +00:00
florian
aeac2a046d + InitProc 2005-02-06 20:35:54 +00:00
peter
2fbaae2b91 * threading in system unit
* removed systhrds unit
2005-02-06 11:20:52 +00:00
florian
b6ef0bf703 * fixed previous commit 2005-02-05 10:47:38 +00:00
florian
c73d4a0b96 * map farpointer to pointer on platforms not having farpointers 2005-02-05 10:07:21 +00:00
florian
4f7560d89e * improved widestring infrastructure manager 2005-02-01 20:22:49 +00:00
peter
8be342c36b * pinteger in non-delphi/objfpc mode is psmallint 2005-01-24 18:03:19 +00:00
Tomas Hajny
353d5cc3de + GetProcessID added 2004-12-05 14:36:37 +00:00
peter
645ed0feb1 * internconst for ptr() 2004-11-26 22:26:30 +00:00
michael
4c872834ab + Added phony documentation declarations 2004-11-22 22:48:10 +00:00
peter
14eb8f59b4 internconst, internproc and some external declarations moved to interface 2004-11-17 22:19:04 +00:00
peter
95e0ed26f8 * use helper call to retrieve address of input/output to reduce
code that is generated in the main program for loading the
    threadvar
2004-11-09 23:10:22 +00:00
peter
dbc2025604 ErrOutput added 2004-11-04 09:32:31 +00:00
marco
58a29c168d * arraytostring added 2004-10-30 20:49:10 +00:00
florian
8c85454cf9 + added system.align
+ threadvars are now aligned
2004-10-14 17:39:33 +00:00
Jonas Maebe
0f26252376 + cgenmath with libc math functions. Faster than the routines in genmath
and also have full double support (exp() only has support for values in
    the single range in genmath, for example). Used in FPC_USE_LIBC is
    defined
  * several fixes to allow compilation with -dHASINLINE, but internalerrors
    because of missing support for inlining assembler code
2004-10-09 21:00:46 +00:00
Tomas Hajny
ef512a0bfe * compilation fix 2004-09-22 05:56:11 +00:00
Tomas Hajny
88e2f51c72 * SetTextLineEnding implemented, FileRec.Name position alignment for CPU64 2004-09-21 23:43:26 +00:00
peter
97260ca1bf * AnsiChar is equivalent of Char, use only type renamings 2004-09-21 15:04:22 +00:00
peter
76c6e4dd83 no message 2004-08-29 10:23:12 +00:00
florian
7a7c34e1b7 + several unicode (to/from utf-8 conversion) stuff added
* some longint -> SizeInt changes
2004-07-18 20:21:44 +00:00
daniel
9fb7be7e77 * Add inline directive to sysresetfpu 2004-07-07 15:15:40 +00:00
daniel
a1229ff8fe * Modified bootstrap code so separate prt0.as/prt0_10.as files are no
longer necessary
2004-07-03 21:50:30 +00:00
florian
fe8e9245f4 * fixed wrong commit 2004-06-11 19:21:53 +00:00
florian
0d7ee6197b * fixed arm system unit compilation 2004-06-11 13:45:33 +00:00
peter
c99d93c90b * sparc need software shl shr 2004-05-30 16:51:38 +00:00
florian
91733f9237 * some m68k and amiga related stuff fixed 2004-05-05 21:26:34 +00:00
peter
81b6d9f16c * replace strlenint with sizeint 2004-05-01 23:55:18 +00:00
peter
b5df63e617 * ValSInt fixed for 64 bit 2004-05-01 20:52:50 +00:00
peter
cafed35e77 * str() helpers now also use valint/valuint
* int64/qword helpers disabled for cpu64
2004-04-29 18:59:43 +00:00
peter
0fbb1fe9e8 * random(int64) added 2004-04-22 17:10:38 +00:00
peter
1a0a8db391 * new compiler has smallint,longint,word internal defined 2004-03-23 22:35:45 +00:00
florian
ff42d8657a + x86_64 dependend sysutils part added
* some 64 bit adaptions
2004-02-20 22:15:16 +00:00
daniel
173d1a2554 * Applied 2004-02-20 11:01:20 +00:00
florian
6cd2cddd33 + added prefetch(const mem) 2004-02-02 20:39:27 +00:00
florian
7b5dc40284 * compilation on arm fixed 2004-01-26 11:48:24 +00:00
Tomas Hajny
e0f9297e01 * ExecuteProcess fixes, ProcessID and ThreadID added 2004-01-20 23:05:31 +00:00
florian
021652683a + introduced PtrInt and PtrUInt
* made strscan 64 bit safe
2003-12-29 19:24:12 +00:00
michael
2f103d8153 + Added overloaded version of SetWideStringManager without old parameter 2003-11-29 17:27:05 +00:00
michael
51c296f60c + Added WideStringManager 2003-11-28 20:36:13 +00:00
florian
4ff69f3905 * fixed rtl to work with the integrated fpc ppc assembler reader 2003-11-15 19:01:27 +00:00
marco
b15ba0a5ae * Peter's Cardinal<->Longint fixes patch 2003-11-03 09:42:27 +00:00
olle
fe692f24aa * Changed m68k to cpum68k, i386 to cpui386 2003-10-17 20:52:12 +00:00
peter
d0eac29ab9 * THandle is platform dependent 2003-10-16 15:43:13 +00:00
florian
b6abfdae09 * fixed some variant issues
* improved type declarations
2003-10-08 16:24:47 +00:00
florian
bc2d795aab * some data types cleaned up 2003-10-06 23:52:53 +00:00
florian
ed7610985b * fixed qword_to_double conversion on powerpc 2003-09-04 16:07:31 +00:00
florian
8d771df2d4 * arm fixes to the common rtl code
* some generic math code fixed
  * ...
2003-09-03 14:09:37 +00:00
peter
10f0e5cb6e * pcomp added for sparc 2003-09-01 20:47:23 +00:00
florian
eab5d1f7c5 * started to make the rtl 64 bit save by introducing SizeInt and SizeUInt (similar to size_t of C) 2003-05-01 08:05:23 +00:00
florian
fa4496bddf + support for generic pchar routines added
+ some basic rtl stuff for x86-64 added
2003-04-30 16:36:39 +00:00
peter
c24c737906 * remove dos lf 2003-04-25 21:09:44 +00:00
florian
6016a91ba5 + powerpc defines now pcomp as well 2003-04-23 22:46:41 +00:00
peter
51219f6cad * make HResult unique type 2003-04-01 15:36:31 +00:00
peter
1e86b585f9 * changed address parameter/return values to pointer instead
of longint
2003-03-17 14:30:11 +00:00
florian
c134e2d478 * cpu defines fixed
* ... = type ...; stuff reactived, should work now with 1.1
2003-01-13 14:37:11 +00:00
florian
ae3e96cdda + some types for D6 compatibility added 2002-12-21 17:20:27 +00:00
peter
438fbdedee * SetString(WideString,[PChar|PWideChar],Len) added 2002-12-15 22:33:12 +00:00
florian
758a11f069 + sparc types added
+ UTF*/UCS* types added
2002-11-16 20:12:22 +00:00
peter
5fff238567 * threads unit added for thread support 2002-10-14 19:39:16 +00:00
carl
a24ab38214 - remove stack checking for every target in system unit 2002-10-06 13:56:47 +00:00
peter
603b3bc48b * Copy() changed to internal function calling compilerprocs
* FPC_SHORTSTR_COPY renamed to FPC_SHORTSTR_ASSIGN because of the
    new copy functions
2002-10-02 18:21:51 +00:00
florian
6a0da8d89d * map comp to int64 for the powerpc 2002-09-28 21:18:02 +00:00
florian
0e22fc491b + some WideString<->AnsiString conversion functions added 2002-09-26 21:50:37 +00:00
carl
7215ccb0e8 * cardinal -> longword
- remove FPUInt64 variable
2002-09-07 21:20:50 +00:00
peter
01dfac4a4e * old logs removed and tabs fixed 2002-09-07 15:06:34 +00:00
peter
c3af3cda9b * SYSTEMINLINE define that will add inline directives for small
functions and wrappers. This will be defined automaticly when
    the compiler defines the HASINLINE directive
2002-08-19 19:34:02 +00:00
michael
b5717d4dde + Added support for octal strings (using &) 2002-08-06 20:53:38 +00:00
florian
05a95ba5bc * interface of system unit for Linux/PowerPC compiles 2002-07-26 22:46:06 +00:00
florian
789edf11aa + powerpc type support 2002-07-26 21:29:03 +00:00
florian
95c6c8f430 + some x86-64 support added 2002-07-04 20:40:09 +00:00
peter
71a1ae2136 * sLineBreak changed to normal constant like Kylix 2002-07-01 16:29:05 +00:00
marco
af9703f179 * Renamefest supports_double for FreeBSD too 2002-06-02 10:49:30 +00:00
carl
1b88940d62 * StackError is now a typed constant
+ $S can be used under unix
2002-04-21 15:51:50 +00:00
carl
b1c72872c7 - removed unused variable 2002-04-12 17:35:24 +00:00
peter
44b7972e01 * moved array types to objpas unit 2002-01-25 17:41:05 +00:00
peter
2fcd65b933 * array types added 2002-01-25 17:39:35 +00:00
peter
c6fd513271 * lowercase() overloaded 2002-01-24 18:27:06 +00:00
Jonas Maebe
2b3898aeff * adapted ranges of native types to int64 (e.g. high cardinal is no
longer longint($ffffffff), but just $fffffff in psystem)
  * small additional fix in 64bit rangecheck code generation for 32 bit
    processors
  * adaption of ranges required the matching talgorithm used for selecting
    which overloaded procedure to call to be adapted. It should now always
    select the closest match for ordinal parameters.
  + inttostr(qword) in sysstr.inc/sysstrh.inc
  + abs(int64), sqr(int64), sqr(qword) in systemh.inc/generic.inc (previous
    fixes were required to be able to add them)
  * is_in_limit() moved from ncal to types unit, should always be used
    instead of direct comparisons of low/high values of orddefs because
    qword is a special case
2002-01-24 12:33:52 +00:00
michael
2a27de0fb0 + Initial variant support 2001-11-14 22:59:11 +00:00