Commit Graph

1492 Commits

Author SHA1 Message Date
florian
c73d4a0b96 * map farpointer to pointer on platforms not having farpointers 2005-02-05 10:07:21 +00:00
florian
8f571abbb9 + infrastructure for WideCompareText implemented 2005-02-03 18:40:50 +00:00
florian
4f7560d89e * improved widestring infrastructure manager 2005-02-01 20:22:49 +00:00
florian
0853821fd1 + interface <-> variant conversion from Danny Milosavljevic 2005-02-01 20:22:24 +00:00
florian
da85b90f65 + tmethod 2005-02-01 19:32:14 +00:00
peter
7cf6eff07f * interface additions 2005-01-31 19:41:39 +00:00
peter
2d1aee8e53 * allow Freemem(nil) 2005-01-30 11:56:29 +00:00
peter
93ec8d154c * fix crash with backtrace if invalid frame is passed 2005-01-29 17:01:18 +00:00
peter
1768ad35ce 1.0.x fixes 2005-01-28 19:50:51 +00:00
peter
a68b710efd * retrieve backtrace when exception is raised
* RaiseMaxFrameCount added to limit the number of backtraces, setting
    it to 0 disables backtraces. Default is 16
2005-01-26 17:07:10 +00:00
peter
6c2c1debcc * 1.0.x fix 2005-01-25 18:50:45 +00:00
florian
14c33448af * fixed copy(dyn. array of ansistring) 2005-01-24 21:32:48 +00:00
peter
8be342c36b * pinteger in non-delphi/objfpc mode is psmallint 2005-01-24 18:03:19 +00:00
Tomas Hajny
d5d331bced * yet another attempt to make Mac OS accept dos.inc without hacks ;-) 2005-01-23 09:50:59 +00:00
armin
690e3330d1 * applied patch to compile go32v2 from Tomas (tested by John) 2005-01-21 21:43:12 +00:00
peter
14334ebb1b * uses _eend instead of _edata in checkpointer, patch by
Martin Schreiber
2005-01-21 15:56:32 +00:00
florian
9255d0d90b * critical sections can be used in programs without threading driver, they have no effect then 2005-01-16 14:46:57 +00:00
florian
99ebd46010 * several variant init./final. stuff fixed 2005-01-15 18:47:26 +00:00
marco
fde4bac1cf * initial version 2005-01-10 10:32:50 +00:00
florian
9191989228 * replaced CompareChar by CompareByte, saves one redirection 2005-01-09 10:38:59 +00:00
florian
bd211ce900 + init/cleaning code for variants added 2005-01-08 20:43:44 +00:00
florian
13c5439bb1 + basic rtl support for variant <-> interface implemented 2005-01-07 21:15:46 +00:00
florian
48c248d6c0 * widecharray patch from Peter 2005-01-06 13:39:59 +00:00
florian
87771a2ae3 * widecharray patch from Peter 2005-01-06 13:31:06 +00:00
olle
0ee1ff7484 + hack again to make macos compile 2005-01-01 20:31:02 +00:00
Tomas Hajny
64a9b00709 * more generic fix for DriveSeparator = DirectorySeparator 2004-12-29 19:10:47 +00:00
olle
24f3532c2a * hack to make macos compile 2004-12-28 21:50:14 +00:00
marco
e12796a400 * tthread patch from neli 2004-12-28 14:20:03 +00:00
marco
cb75ebda02 * checksynchronize now in interface win32 uses the default impl.
unix uses systhrds, rest empty implementation.
2004-12-27 15:28:40 +00:00
peter
9d567a3c63 * fix rtlcreateevent 2004-12-23 20:58:22 +00:00
marco
5f0c8bd8b5 * cdecl stuff removed. Now works on FreeBSD with and without FPC_USE_LIBC 2004-12-23 18:32:26 +00:00
marco
7377bbf1c9 * 2nd synchronize attempt. cthreads<->systhrds difference was not ok, but
only showed on make install should be fixed now.
2004-12-23 15:08:58 +00:00
marco
0db4315ea9 * rtlevent kraam. Checked (compile): Linux, FreeBSD, Darwin, Windows
Check work: ask Neli.
2004-12-22 21:29:24 +00:00
marco
cd39b27205 * more maybelibc removal 2004-12-21 14:36:18 +00:00
michael
da99d06e96 + Removed maybelibc macro 2004-12-21 09:48:14 +00:00
peter
2e52bf2824 * fixed overflow when reusing a memory block for fixed size chunks 2004-12-19 13:45:56 +00:00
michael
14b11ebf16 + Added windows key definitions (bug 3445) 2004-12-18 19:53:21 +00:00
peter
24bea4f525 * fixed overflow 2004-12-15 17:03:01 +00:00
peter
64cd72bc5a * x86_64 updates 2004-12-12 14:30:27 +00:00
peter
f13ab0667c * missing typecast in indexchar0 2004-12-12 12:39:02 +00:00
florian
36bcc2defa * fixed memory release in TInterfacedObject._Release 2004-12-05 21:09:54 +00:00
Tomas Hajny
4872364ac7 * GetMsCount added, platform independent routines moved to single include file 2004-12-05 19:02:57 +00:00
Tomas Hajny
e1252e7302 * GetMsCount added, platform independent routines moved to single include file 2004-12-05 16:44:43 +00:00
Jonas Maebe
08da4e9278 * fixed power() in genmath.inc (code duplication from math.pp for **
support!)
  * fixed power() in math.pp to give an error from 0^0
2004-12-05 16:43:57 +00:00
Tomas Hajny
353d5cc3de + GetProcessID added 2004-12-05 14:36:37 +00:00
michael
06668dda22 + Fixed IndexChar0 2004-12-05 12:41:00 +00:00
florian
7fb9bd0f57 * implemented helper for variant<->dyn. array type cast 2004-12-05 11:49:06 +00:00
Tomas Hajny
d0191eaa3c * common implementation of unit printer - fix for bug #3421 2004-12-05 11:21:46 +00:00
peter
d3b001f8a4 * prevent crash when appending empty string 2004-12-02 17:56:01 +00:00
marco
615c4f3d7c * patch from peter. 2004-12-02 08:11:22 +00:00
Tomas Hajny
a503078edb * common implementation of platform independent functions for unit Dos 2004-11-28 12:33:35 +00:00
peter
645ed0feb1 * internconst for ptr() 2004-11-26 22:26:30 +00:00
peter
dac91ff361 * fix currheapused 2004-11-26 22:22:58 +00:00
michael
4c872834ab + Added phony documentation declarations 2004-11-22 22:48:10 +00:00
peter
c38daf68eb * typo for GetHeapStatus 2004-11-22 22:26:21 +00:00
peter
a263b1d40e * GetHeapStatus added, removed MaxAvail,MemAvail,HeapSize 2004-11-22 19:34:58 +00:00
peter
ac471f1b98 * Freemem(p,0) does nothing 2004-11-21 21:14:14 +00:00
Jonas Maebe
b6a6e78db1 * fixed remaining compilation problems 2004-11-21 16:14:59 +00:00
peter
4d8460ec2f * float routines all use internproc and compilerproc helpers 2004-11-21 15:35:23 +00:00
Tomas Hajny
af1ab052af + MacOS support 2004-11-21 14:45:17 +00:00
Jonas Maebe
cfeaa8aa65 * some compilation fixes for powerpc after all the internconst and
internproc changes, still crashes with internalerror(88) for ppc1
    on real2str.inc(193,39)
2004-11-20 15:49:21 +00:00
michael
5856d367b9 + Patch from peter to fix pasjpeg compile 2004-11-18 10:03:36 +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
Jonas Maebe
3f30fb7bb6 * fixed getting pointer to nested dynarray types 2004-11-07 18:31:50 +00:00
Jonas Maebe
405fb30652 * fixed pointer arithmetic errors 2004-11-07 18:02:47 +00:00
florian
b54ea2800a * fixed fpc_dynarry_copy for arm/sparc 2004-11-06 15:29:19 +00:00
florian
c9e17321d7 * fixed software longint mod operation 2004-11-06 13:36:42 +00:00
peter
dbc2025604 ErrOutput added 2004-11-04 09:32:31 +00:00
florian
b6d34b6bd1 * fixed dyn. array handling for 32 bit architectures requiering proper alignment 2004-11-03 11:33:50 +00:00
florian
4ae980e0bc * fixed dyn. array handling for 32 bit architectures requiering proper alignment 2004-11-03 10:54:36 +00:00
florian
ac7f9351f0 * info record about class fields must be packed else it will be aligned wrongly on 64 bit platforms 2004-11-03 10:22:19 +00:00
peter
0eb61a4823 * fixed crashes with ide and 1.9.x 2004-11-02 23:53:19 +00:00
Jonas Maebe
d9267aafdf * fixed endianess bug in fpc_val_int64_shortstr() (webtbf/tw2128) 2004-11-02 22:38:58 +00:00
florian
6c739fa996 * fixed rtti reading of arrays for 64 bit 2004-11-02 15:52:04 +00:00
florian
5972f89919 * changed maxlongint to high(sizeint) 2004-11-02 08:50:40 +00:00
florian
ef25f06e1c * fixed array sizes 2004-11-02 08:46:50 +00:00
florian
041dfe7b99 * fixed some x86-64 multithreading stuff 2004-11-01 20:37:49 +00:00
peter
b2d63683ec * disable inline for 1.9.4 2004-11-01 19:39:19 +00:00
marco
08a14f8fc4 * typo fixed, aarght 2004-11-01 17:35:22 +00:00
marco
0624b9fa92 * inline problems fixed 2004-11-01 17:29:47 +00:00
marco
34282c6cf9 * htons etc 2004-11-01 16:23:15 +00:00
peter
cc431c4375 * fix shortstr_to_ansistring for 1.0.x 2004-10-31 16:21:30 +00:00
marco
58a29c168d * arraytostring added 2004-10-30 20:49:10 +00:00
peter
35e7518475 * rtti is always aligned, remove move() workarounds 2004-10-26 15:02:51 +00:00
peter
b454870988 * fix for non-i386 2004-10-25 17:04:07 +00:00
peter
869b0ecc85 * compiler defined HEAP and HEAPSIZE removed 2004-10-25 15:38:59 +00:00
peter
6214bb294b * record and array parsing moved to procedure and handle like
a data stream instead of using records
2004-10-24 21:39:42 +00:00
peter
fd759e521f * saveregisters calling convention is obsolete 2004-10-24 20:01:41 +00:00
florian
8c85454cf9 + added system.align
+ threadvars are now aligned
2004-10-14 17:39:33 +00:00
Jonas Maebe
9b5904d230 - disabled llround, not present under Mac OS X 10.1 2004-10-12 07:08:33 +00:00
florian
2f291713e1 * fixed aligntoptr 2004-10-10 19:18:31 +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
florian
feeba0ede6 * bootstrapping with rtti alignment fixed 2004-10-05 20:21:02 +00:00
florian
b39c0af01b * rtti alignment fixed 2004-10-04 21:23:15 +00:00
florian
d2bf4b0d92 * fixedPreviousFramePointer on sparc 2004-10-03 17:43:47 +00:00
florian
12bf88080f * fixed trunc for abs(value) < 1 2004-10-03 14:09:39 +00:00
florian
7e328ccf29 + made generic trunc 64 bit aware 2004-10-03 14:00:21 +00:00
mazen
b65cffcdef * widestring conversion routines takes a widechar so no
information is lost
2004-09-29 14:55:49 +00:00
florian
f77e8ab5a6 * fixed overflow checking for qword 2004-09-26 07:37:49 +00:00
florian
62f8ed92dc * tried to fix overflow checking in qword multiplication 2004-09-26 07:15:34 +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
Tomas Hajny
85320d6787 * SetTextLineEnding implemented, FileRec.Name position alignment for CPU64 2004-09-21 23:36:51 +00:00
peter
97260ca1bf * AnsiChar is equivalent of Char, use only type renamings 2004-09-21 15:04:22 +00:00
peter
a5c6d5130a * fix reallocmem 2004-09-21 14:49:29 +00:00
olle
1120c598aa * added $if defined(..) for 2.0. 2004-09-19 19:04:11 +00:00
armin
a23c3f4dd9 * added define DISABLE_NO_THREAD_MANAGER to avoid warnings if thread manager is always present 2004-09-19 18:55:30 +00:00
olle
d4635112e4 * reverted to $ifdef style, so 1.0.x can eat it. 2004-09-19 08:16:03 +00:00
armin
9e930c445d * added support for netware nlm (netware and netwlibc) 2004-09-18 11:06:52 +00:00
Jonas Maebe
3f10b1b4f6 - removed unused local variable
* fixed bug in Utf8ToUnicode (use of uninitialised variable)
2004-09-18 10:23:08 +00:00
olle
0b235a2dab + added support for macos 2004-09-18 08:40:26 +00:00
michael
b40e27f8b9 Fix tracememsize for ansistrings (From Peter) 2004-09-16 07:21:08 +00:00
armin
b2f92710df * add support for netware libc 2004-09-15 20:37:42 +00:00
michael
5cccea2115 + Fix crash when resizing dynamic array 2004-09-15 07:28:09 +00:00
olle
9a4855aa43 + added maxExitCode to all System.pp
* constrained error code to be below maxExitCode in RunError et. al.
2004-09-03 19:25:21 +00:00
Jonas Maebe
491071539b * fixed compilation with 1.0.x 2004-08-31 12:23:53 +00:00
Jonas Maebe
814478ac33 * fixed random(int64) 2004-08-30 17:36:18 +00:00
peter
76c6e4dd83 no message 2004-08-29 10:23:12 +00:00
carl
04aca6df4b * bugfix with file sharing modes. They are now kept, as is the case in BP. 2004-08-26 22:58:01 +00:00
Jonas Maebe
28d5238dc1 * made strlen wrapper inline 2004-08-24 11:49:56 +00:00
olle
268e5d32cc * prefixed write[buffer|blanks] with fpc_ and made them externally visible 2004-08-20 10:04:39 +00:00
olle
6d429b0d95 + added assigning op which converts FourCharCode to LongWord
+ added convertion functions FCC and FOUR_CHAR_CODE which
    does the above conv manually.
2004-08-19 13:25:56 +00:00
florian
5064ecaf57 * sparc uses wait4 as well 2004-08-18 21:03:35 +00:00
olle
c883d661b9 + Added this file, to be used for stuff specific for mode macpas 2004-08-16 16:21:23 +00:00
Jonas Maebe
6840bd8ece * changed formatting to conform to the rest of the compiler/rtl
* fixed SysMaxAvail so it also looks at the free fixed size blocks
2004-08-10 18:58:36 +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
peter
b3e3030e6f * remove maxlen field from ansistring/widestrings 2004-07-12 17:58:19 +00:00
daniel
fdbed06377 * Doesn't compile with 1.0 :( 2004-07-08 10:16:21 +00:00
daniel
6c4cade37d * Matrix unit included in build process 2004-07-07 21:37:29 +00:00
daniel
9fb7be7e77 * Add inline directive to sysresetfpu 2004-07-07 15:15:40 +00:00
daniel
1b36a0b437 + Add a matrix unit I wrote some time ago 2004-07-07 14:12:51 +00:00
olle
7793f8aa27 * updated according to compiler/compinnr.inc 2004-07-05 21:59:18 +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
peter
59691cc142 * decr ref doesn't reset pointer
* finalize resets pointer for astring,wstring
2004-07-02 21:21:09 +00:00
peter
cd35d3fd5e * readded support for ReturnIfGrowHeapFails 2004-06-29 20:50:32 +00:00
florian
1397425c4a * fixed heap corruption on sparc 2004-06-27 19:47:27 +00:00
florian
8f6f6bfc30 * finally (hopefully) fixed sysalloc trouble 2004-06-27 11:57:18 +00:00
olle
0337fc7b32 + handles mac line endings without blocking the console, on Mac OS only 2004-06-21 18:48:48 +00:00
peter
244b6d1435 fixed go32v2 compile 2004-06-20 09:24:40 +00:00
peter
58d5c20352 * moved padding for sparc 2004-06-18 14:40:55 +00:00
peter
2ed14823c5 * New heapmanager that releases memory back to the OS, donated
by Micha Nelissen
2004-06-17 16:16:13 +00:00
peter
5b92078595 fix compile for 1.0.x 2004-06-17 14:51:38 +00:00
michael
9071845590 + Fix for bug #3164 by Michalis Kamburelis 2004-06-13 09:34:52 +00:00
michael
a7ba1a025f + Initialized some constants 2004-06-12 14:18:06 +00:00
michael
155beb3566 Fixed bug #3156, as suggested by Michalis Kamburelis 2004-06-12 13:30:33 +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
3094258825 * removed warnings 2004-05-31 20:25:04 +00:00
peter
962ef697d5 * remove comment warnings 2004-05-31 14:31:57 +00:00
peter
b3eb8fb2af * sparc needs alignment on 8 bytes to allow doubles 2004-05-31 12:18:16 +00:00
peter
c99d93c90b * sparc need software shl shr 2004-05-30 16:51:38 +00:00
Tomas Hajny
4dbe16c37f * description of individual conditional defines added 2004-05-29 18:25:21 +00:00
florian
dea441a7dd * the decr functions set the data now to nil 2004-05-29 15:39:08 +00:00
peter
9e8618afe6 * stop backtrace also when caller frame is nil 2004-05-27 23:34:23 +00:00
michael
f4e0bc3881 + Patch from peter to fix crash 2004-05-24 07:18:17 +00:00
marco
6ae2f1b4dd * wrappers and nothread prototypes for the basic* functions 2004-05-23 20:26:20 +00:00
marco
41153b8fd2 * first try basicevent 2004-05-23 15:30:29 +00:00
peter
71611dd39d * shr/shl use and 63 for the shift value 2004-05-23 14:09:43 +00:00
peter
7bfe6e60a7 check whether bp is in the stack value allocated by the main program 2004-05-22 20:35:52 +00:00
florian
3ef5e89682 * fixed <dyn. array>:=nil; 2004-05-20 15:56:32 +00:00
peter
1ca09822a6 * unix thandle is always 32bit
* textrec fixed for 64bit
2004-05-18 20:16:23 +00:00
peter
94adf83a8b * use thandle in do_* 2004-05-16 18:51:20 +00:00
peter
479c4f0ea6 * small fix for 1.0.x 2004-05-16 16:52:28 +00:00
florian
91733f9237 * some m68k and amiga related stuff fixed 2004-05-05 21:26:34 +00:00
Jonas Maebe
b1cfe655e7 * fixed reallocmem (bug noted by Vincent Snijders) 2004-05-05 13:00:43 +00:00
marco
f803e314b4 * some delphi compat aliases added. 2004-05-04 17:14:52 +00:00
Tomas Hajny
04f6378052 * another global var to threadvar change, plus CVS log added 2004-05-03 18:00:24 +00:00
peter
e8f338aa8e * use freemem() without size 2004-05-02 15:15:58 +00:00
peter
62850815bd * fix arguments for shortstr_compare 2004-05-02 15:15:45 +00:00
peter
4917058b59 * fixed compile with 1.0.x 2004-05-02 00:31:03 +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
6d19671a84 * ptrint fixes 2004-05-01 20:52:29 +00:00
Jonas Maebe
dedf697f3a * use some more string routines from libc if FPC_USE_LIBC is used 2004-05-01 15:26:33 +00:00
florian
f3e9309eef * fixed tobject.dispatch for 64 bit cpus 2004-04-29 21:33:22 +00:00
peter
53ec165e68 * x86-64 fixes 2004-04-29 19:50:13 +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
florian
704ce8035c * tvmt fixed (longint -> ptrint) 2004-04-28 21:01:29 +00:00
peter
8c60c6f93e * ordinal-pointer conversions fixed 2004-04-28 20:48:20 +00:00
peter
b80e1cfcdb * vtype changed to ptrint 2004-04-28 19:52:41 +00:00
florian
2553988d5a * exception addr record size for 64 bit systems fixed 2004-04-27 18:47:51 +00:00
peter
f66ecd70cd * class size changed to aint 2004-04-26 21:06:00 +00:00
peter
482e1a2505 * 64bit fixes 2004-04-26 16:20:54 +00:00
peter
b4474438d9 * FPC_MOVE alias 2004-04-26 15:55:01 +00:00
florian
6bf70cec85 * fixed vmt issues on 64 bit systems 2004-04-25 16:32:31 +00:00
florian
d18f952c09 * prt0.as exit code handling fixed
* int64 mod int64 for negative numbers fixed
2004-04-24 17:14:09 +00:00
peter
041eb4aa1d * do_read/do_write addr argument changed to pointer 2004-04-22 21:10:56 +00:00
peter
7083fbc825 * elf64 support 2004-04-22 21:10:35 +00:00
peter
7f2e327975 * longint to ptrint 2004-04-22 20:59:23 +00:00
peter
55486446a3 * fix 64bit address printing 2004-04-22 19:43:43 +00:00
peter
0fbb1fe9e8 * random(int64) added 2004-04-22 17:10:38 +00:00
florian
2e3fb337ff * fixed getmem prototype for 64 bit systems 2004-04-12 18:51:02 +00:00
florian
57c8334471 * fixed GetParentFrame for ARM 2004-03-31 21:49:19 +00:00
florian
1d209e605e * fixed alignment issues 2004-03-27 23:22:38 +00:00
peter
1a0a8db391 * new compiler has smallint,longint,word internal defined 2004-03-23 22:35:45 +00:00
peter
d644629612 * dec ptr before free in reallocmem 2004-03-23 22:35:20 +00:00
florian
7367801810 * more alignment fixes 2004-03-22 22:19:36 +00:00
florian
5e82863f3f * CleanupInstance takes now care of FPC_REQUIRES_PROPER_ALIGNMENT 2004-03-21 22:41:29 +00:00
marco
fe251972ec * Now working under Darwin 2004-03-18 16:12:14 +00:00
michael
334c6b36cb * Fixed: Macavail -> CMaxAvail (from Marc Weustinc) 2004-03-17 12:50:53 +00:00
marco
4c3ccc8a7d * stupid mistake fixed 2004-03-16 22:56:53 +00:00
marco
510e8a722a * sockaddr is now a union between the old and new struct as grace period 2004-03-16 19:15:57 +00:00
marco
bdb8404de0 * new files sockets changes 2004-03-16 18:04:27 +00:00
marco
a45e1cd3f1 * first changes sockets units 2004-03-16 18:03:37 +00:00
peter
4f32f8ca93 * adaption to compile with 1.0.x in new rtl 2004-03-16 15:25:16 +00:00
peter
abfc396c40 * cmem moved to rtl
* longint replaced with ptrint in heapmanagers
2004-03-15 21:48:26 +00:00
peter
6219d43b43 * exit with rte 204 instead of looping infinite when a heap record
size is overwritten with 0
2004-03-15 20:42:39 +00:00
michael
c131b0a7b0 + Fix from peter for win32 SIGTRAp signal 2004-03-15 14:22:39 +00:00
florian
72a8ac8dd7 * "improved" behavior of real2str for arm, still needs fixing 2004-03-13 18:47:57 +00:00
florian
5fe2004441 * fixed some arm related real stuff 2004-03-13 18:33:52 +00:00
florian
2e80f0de5f * arm startup code fixed
* made some generic math code more readable
2004-03-11 22:39:53 +00:00
peter
72324a4283 * tkclass removed from finalize()
* cleanupinstance now parses the tkclass rtti entry itself and
    calls finalize() for the rtti members
2004-02-26 16:19:01 +00:00
michael
c89ab11d7a + Patch from peter to fix finalize (bug 2975) 2004-02-26 12:42:34 +00:00
florian
b2a6bd9305 * fixed BeginThread on unix 2004-02-22 23:22:49 +00:00
florian
934fe41c45 * several 64 bit issues fixed 2004-02-22 16:48:39 +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
peter
d12b3ae991 * use strlenint instead of longint 2004-02-18 22:00:59 +00:00
peter
e677c4be8b * x86_64 added 2004-02-18 21:59:23 +00:00
Tomas Hajny
601f2e02ce * overloaded ExecuteProcess added, EnvStr param changed to longint 2004-02-15 21:34:06 +00:00
florian
4fbee8aafc * intr and msdos for non i386 targets disabled 2004-02-09 18:33:26 +00:00
michael
6571f6a7e5 + Switched to single interface in dosh.inc 2004-02-09 12:03:16 +00:00
michael
66dd127bd9 + Moved CRT interface to common include file 2004-02-08 16:22:20 +00:00
florian
515ee5aef6 * linking problems fixed
+ abi tag added
2004-02-08 15:33:50 +00:00
daniel
f9efd57801 * Use $ for hex numbers instead of alien 0x 2004-02-06 20:17:12 +00:00
florian
c9122a4719 + completed x86-64/linux system unit 2004-02-05 01:16:12 +00:00
florian
9e6f48750a * fixed generic system.int(...) 2004-02-04 14:15:57 +00:00
florian
6cd2cddd33 + added prefetch(const mem) 2004-02-02 20:39:27 +00:00
florian
87f13990e5 * alignment handling of generic fillbyte/word fixed 2004-01-31 16:14:24 +00:00
Jonas Maebe
456eb6eca0 * improved beforeheapend inheritance (remove flag again when possible,
sometimes resulting in more opportunities for TryConcatFreeRecord)
2004-01-29 22:45:25 +00:00
florian
0b8ffc2fb2 * fixed a couple of broken generic routines 2004-01-28 17:02:13 +00:00
florian
7b5dc40284 * compilation on arm fixed 2004-01-26 11:48:24 +00:00
florian
9e00ecb080 * fixed small bugs
* fixed some arm issues
2004-01-24 18:15:58 +00:00
florian
1d3368ccde * some const inserted 2004-01-24 01:32:00 +00:00
florian
8171ad2e10 + implemented software shl/shr for 64 bit ints 2004-01-23 15:14:04 +00:00
peter
6dc4cd8b82 * finalize needs to reset to nil after decr_ref 2004-01-22 22:09:05 +00:00
florian
f65558b4c4 * fixed syscall number 2004-01-22 20:12:37 +00:00
peter
4238814518 * 1.0.x fix 2004-01-21 22:14:05 +00:00
peter
a4178230a7 * decrref does not reset always to nil, only when string is disposed.
the reset to nil for temps is done by the compiler
2004-01-21 22:02:18 +00:00
peter
16746b7d41 * fixed compile for unix 2004-01-21 20:11:06 +00:00
florian
83127c2889 * improved generic int. div routines 2004-01-21 01:25:02 +00:00
florian
44368ca0e1 + created generic versions of software dword/longint mod/div 2004-01-20 23:16:56 +00:00
Tomas Hajny
e0f9297e01 * ExecuteProcess fixes, ProcessID and ThreadID added 2004-01-20 23:05:31 +00:00
Jonas Maebe
4a8d1bcb06 * fixed wrong include filename 2004-01-11 12:21:06 +00:00
Jonas Maebe
5439babeb5 + cgeneric.inc: implementations of rtl routines based on libc
* system.inc: include cgeneric.inc before powerpc.inc/i386.inc/... if
    FPC_USE_LIBC is defined
  * powerpc.inc, i386.inc: check whether the routines they implement aren't
    implemented yet in another include file (cgeneric.inc)
2004-01-11 11:10:07 +00:00
Jonas Maebe
6fe31d0d90 * changed index* to conform to the assembler implementations (interpret
negative upper bound as maximum)
2004-01-10 17:01:29 +00:00
peter
bf56f75425 * abs(double) added
* abs() alias
2004-01-06 21:34:07 +00:00
Jonas Maebe
6bd3eccdac + fpc_cpuinit procedure to allow cpu/fpu initialisation before any unit
initialises
  + fpu exceptions for invalid operations and division by zero enabled for
    ppc
2004-01-02 17:21:50 +00:00
Jonas Maebe
2af569745c * if currency = int64, FPC_CURRENCY_IS_INT64 is defined
+ round and trunc for currency and comp if FPC_CURRENCY_IS_INT64 is
    defined
  * if currency = orddef, prefer currency -> int64/qword conversion over
    currency -> float conversions
  * optimized currency/currency if currency = orddef
  * TODO: write FPC_DIV_CURRENCY and FPC_MUL_CURRENCY routines to prevent
      precision loss if currency=int64 and bestreal = double
2004-01-02 17:19:04 +00:00