Commit Graph

4023 Commits

Author SHA1 Message Date
marco
a4c55617d4 * regened 2004-01-04 15:44:41 +00:00
marco
eeade6b034 * fix 2004-01-04 15:42:22 +00:00
marco
a12f5dafcb * working version 2004-01-04 15:30:19 +00:00
marco
736861f26e * first 1.1 netbsd rtl, basically freebsd copy and paste with 1.0.10 netbsd structures 2004-01-04 01:13:23 +00:00
marco
d3e862638f * a new qod port of the freebsd rtl. To be refined in the coming days. 2004-01-04 01:11:28 +00:00
marco
5ec7fdfe02 * fix for 1.0 compability issue 2004-01-03 23:56:11 +00:00
Jonas Maebe
14670f4065 * fixed syntax error caught by Mac OS X' as :) 2004-01-03 19:46:29 +00:00
marco
5ba857f706 * typo fix 2004-01-03 14:56:10 +00:00
marco
6f275c2676 * rtl/freebsd/cpu now also searched 2004-01-03 14:55:35 +00:00
marco
5cb92b4d59 * sighnd to separate file, like linux. Some comments removed 2004-01-03 12:35:39 +00:00
marco
9eebe90053 * now separately. 2004-01-03 12:29:36 +00:00
marco
d954d73042 * a lot of copyright notices and CVS logs added and fixed 2004-01-03 12:18:29 +00:00
marco
aeaf3e9d2c * Unix exec(ansistring) 2004-01-03 09:09:11 +00:00
marco
5d49357d80 * Exec(ansistring) function 2004-01-03 08:55:58 +00:00
marco
2d20ccc43e * simple bugfix for tpipe 2004-01-02 22:51:46 +00:00
marco
532a14b5e3 * fix from Marc W. 2004-01-02 22:46:29 +00:00
Jonas Maebe
fd1ae67764 * re-enable fpu exceptions in signal handler, they're turned off by the
kernel
2004-01-02 17:57:16 +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
Jonas Maebe
c2efd86268 + integer division-by-zero detection support for ppc
+ compilerproc FPC_DIVBYZERO
2004-01-01 17:58:16 +00:00
marco
fdf4095798 * few small freebsd fixes backported from debugging linux 2004-01-01 17:07:21 +00:00
Jonas Maebe
0ab36d6e91 * fixed signal handling 2004-01-01 16:28:16 +00:00
marco
19c44b76f2 * fpreadlink(pathstr) moved to unxovl (since not platform specific),
small fixes for "make all OPT='-dFPC_USE_LIBC'
2004-01-01 16:10:23 +00:00
Jonas Maebe
e15a198928 * fixed PreviousFramePointer() for ppc 2004-01-01 15:30:04 +00:00
marco
68508ef8d4 * libc stat record under ifdef added 2004-01-01 14:20:20 +00:00
marco
4fc157970d * use_getcwd updates because FPC_USE_LIBC uses that 2004-01-01 14:19:55 +00:00
marco
a7d446d496 * getcwd missed cdecl 2004-01-01 14:16:55 +00:00
marco
fe766b63b3 * FPC_USE_LIBC fixes 2004-01-01 14:09:14 +00:00
marco
4d915e960d * FPC_USE_LIBC fixes to fpgetenv. No more appending of '=', and making a proper nullterminated string) 2004-01-01 14:07:55 +00:00
marco
bb088c5ada * export statfs(pchar) 2003-12-31 20:24:25 +00:00
marco
5bc097ac0b * small fixes for exporting statfs(pchar,..) 2003-12-31 20:23:31 +00:00
marco
b447c92828 * small additions for getcwd what we need for FPC_USE_LIBC 2003-12-31 20:20:57 +00:00
marco
62e256d07e * sigset size adaption for FPC_USE_LIBC 2003-12-31 20:17:06 +00:00
marco
b0fef8b805 * workaround for buggy 1.0 building 2003-12-31 20:01:00 +00:00
marco
73abd3bd2a * moved to unix/ 2003-12-30 17:50:00 +00:00
marco
0afb6fd8ca * some more fixes. Testing on idefix 2003-12-30 16:26:10 +00:00
marco
42d5e0e005 * linux now compiles with FPC_USE_LIBC 2003-12-30 15:43:20 +00:00
marco
371f66818a * ptime_t 2003-12-30 12:46:40 +00:00
marco
d657b168c7 * FPC_USE_LIBC 2003-12-30 12:36:56 +00:00
marco
ed32411ea4 *** empty log message *** 2003-12-30 12:32:30 +00:00
marco
b6f9f170f7 * FPC_USE_LIBC 2003-12-30 12:24:01 +00:00
Jonas Maebe
4ff098fc7a * fixed setftime (sorry Marco :) 2003-12-29 21:15:04 +00:00
florian
021652683a + introduced PtrInt and PtrUInt
* made strscan 64 bit safe
2003-12-29 19:24:12 +00:00
Jonas Maebe
65cc0f990f * fixed NaN/Inf detection for single/double 2003-12-29 19:19:21 +00:00
florian
245c5fe197 * strscan fix from Jonas 2003-12-28 22:33:35 +00:00
Jonas Maebe
e9a522fdae * fixed fillchar for SYSV abi 2003-12-28 21:06:56 +00:00
Jonas Maebe
430d41fdb0 * fixed *locked* routines 2003-12-28 20:55:57 +00:00
Jonas Maebe
4eb1eb94d1 * fixed result of failed syscalls (no extra neg is needed)
+ support multi-threaded programs
2003-12-28 20:55:10 +00:00
florian
0f5fa6973b * initial code 2003-12-28 20:08:53 +00:00
Tomas Hajny
ac8870b489 * regcall fixes 2003-12-26 22:20:44 +00:00
peter
31a33a1a7b * fixed indexbyte for regcall 2003-12-24 23:07:28 +00:00
peter
bcdf065947 * fix set_set_range 2003-12-24 22:38:24 +00:00
peter
d11cecb354 * removed assembler
* cleanup
2003-12-24 22:27:13 +00:00
peter
0105b62700 * fix call to handleerror for regcall 2003-12-23 23:09:43 +00:00
peter
c1a25f53b6 * increment should use ofcourse use 1 instead of -1 2003-12-23 22:23:34 +00:00
peter
1f4a3402e2 * fixed type of verror 2003-12-22 23:07:52 +00:00
marco
1ff6fd5e6a * small 1.0 compat fix 2003-12-22 16:16:33 +00:00
marco
8cdcb9d62f * splitted up tintfflags into several components 2003-12-22 11:32:04 +00:00
florian
acade4f561 * fixed compilation with sysv calling conventions 2003-12-21 21:23:09 +00:00
peter
03d60dec7f * fix getdir when directory contains files that give EACCESS 2003-12-21 20:31:50 +00:00
peter
c6e1a6a6d1 * don't exit in getdir when fpstat gives a failure 2003-12-21 20:30:49 +00:00
michael
71da578b33 + Patch from Peter to fix strlcomp 2003-12-19 09:28:00 +00:00
Tomas Hajny
ce052a6eba * fix for stackbottom change to pointer 2003-12-17 22:52:39 +00:00
Tomas Hajny
f9fe5cd622 * fixed incorrect dependency for sysutils (not valid any more) 2003-12-17 22:50:54 +00:00
peter
6b6741b41c * win32 regcall patches 2003-12-17 21:56:33 +00:00
Tomas Hajny
06b0430c9f * fix of previous wrong commit 2003-12-17 20:58:04 +00:00
Tomas Hajny
caeb56cff5 * 'conservative' version of the do_open patch by Joe da Silva 2003-12-17 20:40:38 +00:00
marco
8fc8644de0 * nil <-> 0 changes 2003-12-16 19:43:53 +00:00
daniel
fd86e14b01 * Use of 0 instead of nil fixed 2003-12-16 09:43:04 +00:00
daniel
d9b98b35be * Small microoptimization 2003-12-15 21:39:16 +00:00
peter
d715c6195f * patches from wiktor 2003-12-15 15:57:48 +00:00
marco
ae1f7f63b6 * fix for repeating 'x' bug 2003-12-14 14:47:02 +00:00
peter
1662a037a4 * only check errno if the syscall failed 2003-12-14 14:28:36 +00:00
florian
5028fa6d0f * replaced VER1_0 by HASGLOBALPROPERTY 2003-12-11 18:20:50 +00:00
marco
05458e5c39 * patch from peter 2003-12-11 09:21:52 +00:00
marco
42f329de27 * property support under ifndef ver1_0 2003-12-10 17:13:43 +00:00
marco
f4db4860b5 * property errno defined 2003-12-10 17:08:28 +00:00
marco
abfc1b341b * property support used. 2003-12-10 17:06:19 +00:00
marco
2a761868ce * NetBSD supported added based on Sparc and define name changed to something more sensible 2003-12-10 14:59:49 +00:00
marco
d518762a68 * get/setcerrno added 2003-12-10 11:24:25 +00:00
mazen
002c0fe673 + added explicit ATT mode request for assembler input 2003-12-10 09:36:16 +00:00
florian
7cb8b55abb * real functions ifdef'ed depending on the supported types 2003-12-10 01:36:39 +00:00
Jonas Maebe
f66a3775c5 * fixed buffer overflow bug in fpc_shortstr_append_shortstr in case
the result was already 255 characters long
2003-12-09 20:08:30 +00:00
peter
c69f998424 * hmodule added 2003-12-08 21:23:24 +00:00
Jonas Maebe
40a6ce22ff * use HandleError instead of RunError so exception catching works 2003-12-08 19:44:11 +00:00
peter
bbf9d2f9c6 * currency support
* dropped fixed16/32 support
2003-12-08 17:45:00 +00:00
peter
b0f94e46a7 * fsearch should only find files 2003-12-08 17:16:30 +00:00
peter
efda1ffb60 * regenerated 2003-12-08 17:13:20 +00:00
florian
18f527a614 + classes compiles on ppc now as well 2003-12-07 21:30:46 +00:00
Jonas Maebe
ecfca6db55 - reverted previous patch, solved with the new assembler reader
(which didn't understand the new syntax)
2003-12-07 19:55:37 +00:00
olle
0b2afad6e8 * changed in temp+4 to 4+temp, to be compatible with PPCAsm 2003-12-07 17:54:53 +00:00
Jonas Maebe
2eef2eae81 * fixed buffer overrun error in fillchar 2003-12-07 14:27:45 +00:00
Jonas Maebe
aac321199b + added FPC_MOVE alias to move for open array support 2003-12-07 13:29:02 +00:00
Tomas Hajny
e5c7ce3f5d * include file for dateutil(s) 2003-12-06 18:03:46 +00:00
marco
1b7b12ad2e * typo fix 2003-12-06 15:56:35 +00:00
marco
9216952324 * mouse_last fixes for bug #2784 2003-12-06 15:53:21 +00:00
Jonas Maebe
2b28a58c6d * fixed longint/cardinal comparison in int_str 2003-12-06 13:25:30 +00:00
florian
badb5717e1 * widechars in tvarrec fixed for big endian machines as well 2003-12-06 00:02:34 +00:00
Jonas Maebe
8b4adf2a8e * changed tvarrec so chars and booleans work on big endian machines 2003-12-05 23:54:04 +00:00
marco
c49702e402 * ttokeninformationclass alias for delphi compat 2003-12-05 11:53:12 +00:00
marco
17f66bd749 * small fix 2003-12-05 09:13:46 +00:00
peter
48b84272bf * fix warning in gas 2003-12-04 21:44:39 +00:00
peter
0d3948fc5f * register calling updates 2003-12-04 21:42:07 +00:00
peter
e7c99a0e41 * regcall updates (untested) 2003-12-04 21:22:38 +00:00
peter
ef2b767191 * stdcall for CreateFile 2003-12-04 20:52:41 +00:00
marco
0d15a78692 * twin32fileattributedata 2003-12-04 12:34:09 +00:00
peter
07f38cd53a * more fixes 2003-12-03 23:06:35 +00:00
peter
e0bf2ea8d1 * typo in sub_set 2003-12-03 22:46:54 +00:00
olle
2451177227 * files are not pretended to have attr ARCHIVE anymore
* files with attr READONLY and ARCHIVE are always returned by FindFirst etc
  * made code more conformant with unix/dos.pp
2003-12-03 20:53:22 +00:00
olle
212c4d4894 * files are not pretended to have attr ARCHIVED anymore
+ FindFirst etc now also filters on attr HIDDEN
  * files with attr READONLY and ARCHIVE are always returned by FindFirst etc
2003-12-03 20:17:03 +00:00
florian
e418971c77 + started to implement arm syscalls 2003-12-03 17:34:12 +00:00
sg
c400fbe5b2 * Fixed ln2bitmask 2003-12-02 00:04:34 +00:00
florian
cd88850377 * fixed some arm stuff 2003-11-30 19:48:20 +00:00
michael
530638348a + Removed old strings 2003-11-30 15:04:56 +00:00
marco
e3796bafa3 * fix from sebastian 2003-11-30 12:40:29 +00:00
Jonas Maebe
8ad6133ea3 * more ppc fixes, hello world works again under linuxppc 2003-11-29 22:54:32 +00:00
marco
324902435d * on fpk's request 2003-11-29 18:53:19 +00:00
Jonas Maebe
bc010e026f * fixed syscacll for new assembler reader 2003-11-29 18:18:11 +00:00
michael
955d743f21 + Removed dummy variable from SetCthreadManager 2003-11-29 17:34:14 +00:00
michael
bbb575334b + Removed dummy variable from SetNothreadManager 2003-11-29 17:33:09 +00:00
michael
f42fedd0c3 + Added overloaded version of SetThreadManager without old parameter 2003-11-29 17:29:32 +00:00
michael
2f103d8153 + Added overloaded version of SetWideStringManager without old parameter 2003-11-29 17:27:05 +00:00
Jonas Maebe
89d4ca293b * fix power() for negative base 2003-11-29 16:40:12 +00:00
Jonas Maebe
d5373d5971 * fixed several ppc assembler reader related problems
* local vars in assembler procedures now start at offset 4
  * fixed second_int_to_bool (apparently an integer can be in  LOC_JUMP??)
2003-11-29 16:27:19 +00:00
Tomas Hajny
c09fb1d8a8 * short name version of dateutils for non-LFN platforms 2003-11-29 15:26:39 +00:00
Tomas Hajny
77418b5960 + short name version of dateutils for non-LFN platforms 2003-11-29 15:02:52 +00:00
peter
f534cdd91d * do not overwrite Inoutres in blockwrite with 101 2003-11-29 14:07:52 +00:00
yuri
64d6f24300 * rtlconst, dateutils & sysconst units rules added 2003-11-29 11:41:56 +00:00
michael
51c296f60c + Added WideStringManager 2003-11-28 20:36:13 +00:00
peter
f3791a42f8 * TWMEraseBkgnd added 2003-11-28 17:21:40 +00:00
peter
ee144dc46d * fixed dependencies 2003-11-28 15:55:48 +00:00
michael
2054548b7a + Fixes for sysconst and removed runerrors.pp 2003-11-27 20:43:22 +00:00
michael
3730c41c50 + Added runerrors functionality to sysconst 2003-11-27 20:39:43 +00:00
michael
5a059b6785 + Some fixes and runerrors removed 2003-11-27 20:39:24 +00:00
michael
e85e5fa94f + Compiles on BSD too now 2003-11-27 20:24:53 +00:00
michael
08971e92b0 + Redefined ppthread_mutex_t 2003-11-27 20:24:10 +00:00
michael
515f170dd0 + Make works with 1.0.10 too 2003-11-27 20:16:59 +00:00
marco
a0854c6b6d * fixed incorrect addition of sysconst 2003-11-27 16:16:09 +00:00
michael
5d024d4cc3 + Patch from peter to fix make cycle 2003-11-27 10:28:41 +00:00
michael
c07028fe4e + Merged fixbranch fixes, missing in main branch 2003-11-26 22:17:42 +00:00
michael
6d09f23614 + Fixed dependencies so cycle works again 2003-11-26 20:50:32 +00:00
michael
de16dcff56 + Some fixes to have everything compile again 2003-11-26 20:34:19 +00:00
michael
7e2a4f633a + Added runerrors and cthreads unit 2003-11-26 20:21:26 +00:00
michael
78996a740a + Added runerrors unit 2003-11-26 20:17:35 +00:00
michael
07583c11a7 TwoDigitYearCenturyWindow is 50 2003-11-26 20:15:46 +00:00
michael
42a38ae677 + Initial implementation of runerrors string support 2003-11-26 20:12:39 +00:00
michael
0271650b3a + New runerror 231 (exception stack error) and 232 (nothread support) 2003-11-26 20:12:08 +00:00
michael
4b2084fb50 + New threadmanager implementation 2003-11-26 20:10:59 +00:00
florian
058d480f40 * error handling for Variants improved 2003-11-26 20:00:19 +00:00
florian
a70d8c861e no message 2003-11-25 16:29:16 +00:00
marco
694319b843 * somebody added fields to socketsh.inc that were already under ifdef bsd 2003-11-25 15:13:28 +00:00
michael
0efaf5e5c6 + Redefined Fileopen so it corresponds to ascdef.inc definition 2003-11-24 23:08:37 +00:00
michael
18c394efa8 + Fix for bug #2476 2003-11-24 23:00:56 +00:00
michael
466a05bbf3 + Bugfix for bug #2741 2003-11-24 22:27:25 +00:00
michael
8373e40e10 + Patch from Johannes Berg for bug #2759 2003-11-24 21:57:43 +00:00
Jonas Maebe
805df8c05f * fixed some label names 2003-11-23 17:34:27 +00:00
peter
23ae4449ec * register calling updates 2003-11-23 16:50:49 +00:00
yuri
0646b94499 * Now native 2003-11-23 15:50:07 +00:00
michael
b00f51317f + Added IPV6 patch from Johannes Berg 2003-11-23 11:00:07 +00:00
michael
20c89903ec + Changed mode to output for file sockets 2003-11-23 10:57:15 +00:00
yuri
3e874e373e * native heap 2003-11-23 07:21:16 +00:00
marco
8f31a9a9c8 * johill changed his mind 2003-11-22 21:58:09 +00:00
marco
c29abe12db * johill patch applied 2003-11-22 17:18:53 +00:00
marco
c1ffa1e9a5 * .rst for dateutils fixed 2003-11-22 17:15:13 +00:00
michael
025b37199b + Added several constants 2003-11-22 16:28:56 +00:00
michael
3e33c1a5ab + Small optimization in comparemem 2003-11-22 16:17:26 +00:00
michael
cae0e667de + Patched CompareMem for case when length is 0 2003-11-22 15:46:48 +00:00
marco
872cfdd737 * Johill: suspend fix 2003-11-22 11:04:08 +00:00
marco
867e44861a fix for last one 2003-11-22 10:59:58 +00:00
marco
7ac67b2caf fix from johill for 2801 2003-11-22 10:33:38 +00:00
marco
4df9146d01 fix from johill 2003-11-22 10:32:41 +00:00
florian
b9376da0aa * some arm issues fixed 2003-11-21 00:40:06 +00:00
marco
4fff5fd44d * dateutils added 2003-11-20 22:09:21 +00:00
marco
9fedf8a9b9 * termio moved to better spot 2003-11-20 09:09:05 +00:00
marco
fd6e4a70b9 * forgot to commit with rest. now added. 2003-11-20 09:06:49 +00:00
yuri
dbffba731e * Memory allocation bug fixed 2003-11-19 18:21:11 +00:00
marco
c97a5d06eb * Linux part of termio unit 2003-11-19 17:35:36 +00:00
marco
880ba0dc9d * termio new includefile 2003-11-19 17:15:31 +00:00
marco
0f6af75554 * new termio units 2003-11-19 17:13:00 +00:00
marco
0610caa107 * termio unit 2003-11-19 17:11:39 +00:00
peter
5e5462edd1 * make strpas assembler function 2003-11-19 16:58:44 +00:00
yuri
ff7b561fc9 * Environment and arguments initialization now native 2003-11-19 16:50:21 +00:00
peter
97d677c8c8 * tthread disabled for 1.0.x 2003-11-19 15:51:54 +00:00
marco
a427276302 * fix for sleep from johill 2003-11-19 14:04:34 +00:00
marco
7b12dc7b86 * changes due to the previous *BSD changes. Mainly moving constants from
unix to systypes.inc (which acts as unxtypes.inc)
2003-11-19 11:46:55 +00:00
marco
5fbffcb2a7 * some constants moved from System 2003-11-19 10:56:15 +00:00
marco
e0c4a566cd * some simple restructures 2003-11-19 10:54:32 +00:00
marco
776f3c9701 * some constants mvoed from unit unix 2003-11-19 10:17:15 +00:00
marco
1ef3b8b988 * more cleanups 2003-11-19 10:12:02 +00:00
marco
dc50826f6a * Last patch was ok, problem was somewhere else. Moved *BSD part of pthreads to freebsd/pthreads.inc 2003-11-18 22:36:12 +00:00
marco
d6081ef24c * Last patch was ok, problem was somewhere else. Moved *BSD part of pthreads to freebsd/pthreads.inc 2003-11-18 22:35:09 +00:00
marco
bea886ca73 * moved from systhrds.pp 2003-11-18 22:33:42 +00:00
marco
a46470ce6d * minor updates 2003-11-18 21:47:19 +00:00
marco
c52aa63243 * several 1.0.x files removed 2003-11-18 12:12:31 +00:00
marco
09bf7e5016 * no longer necessary 2003-11-18 10:43:28 +00:00
marco
359a077da1 * Small fixes for EAGAIN. bunxfunc only has comments added. 2003-11-18 10:12:25 +00:00
Tomas Hajny
f1a839faab * Wiktor Sywula: dummy objpas removed (not needed any more) 2003-11-17 19:56:30 +00:00
Tomas Hajny
5c1ee40523 * Wiktor Sywula: LFN detection uncommented in system, new units added 2003-11-17 19:55:13 +00:00
marco
54eb7ff8bf * tiocgeta fixed 2003-11-17 16:56:20 +00:00
marco
7bfead6dab * Clone moved to linux, + few small unit unix changes 2003-11-17 11:28:08 +00:00