Commit Graph

4221 Commits

Author SHA1 Message Date
marco
aa58205eca * strutils added 2004-03-18 16:54:03 +00:00
marco
fe251972ec * Now working under Darwin 2004-03-18 16:12:14 +00:00
marco
98923076ac * initial implementations for some routines 2004-03-17 22:18:48 +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
florian
5074b9a1a8 * disabled internal ln 2004-03-16 22:02:26 +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
52a9379c8d * copied from FreeBSD, needs checking 2004-03-16 18:24:03 +00:00
marco
42cf83cec8 * sockets active again 2004-03-16 18:20:55 +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
Károly Balogh
ac2371b771 * first implementation of some startup code for MOS 2004-03-16 10:29:22 +00:00
mazen
703f4f29d0 + _haltproc definition for linux/sparc 2004-03-16 10:19:11 +00:00
peter
abfc396c40 * cmem moved to rtl
* longint replaced with ptrint in heapmanagers
2004-03-15 21:48:26 +00:00
peter
07acabc5b1 * fix memory allocation in stringtoppchar 2004-03-15 20:43:07 +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
bca9da0ec7 * draft for qword mul 2004-03-14 21:45:11 +00:00
peter
682b148f4c * reset searchrec info in findfirst 2004-03-14 18:42: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
Jonas Maebe
7afabeb8a9 * fixed syscall return value checking 2004-03-10 21:41:53 +00:00
peter
c0d3ba3a67 * only i386 needs cprt21 to link with glibc 2.1+ 2004-03-10 20:38:59 +00:00
peter
759c514cf1 * call _haltproc instead of exit(). This is required for libc linking 2004-03-10 20:35:33 +00:00
marco
e0f214c954 wininc/struct.inc 2004-03-10 15:08:10 +00:00
marco
1cc7b06df4 * header for sockets unit 2004-03-09 19:40:52 +00:00
Tomas Hajny
42490a4c63 * exec fix 2004-03-08 22:31:00 +00:00
michael
2931514b1f + Fix by peter for calling conventions 2004-03-08 08:12:10 +00:00
Tomas Hajny
29d247f06b * spaces instead of a tab 2004-03-07 17:07:01 +00:00
Tomas Hajny
a55555aecc * proper regcall fixes 2004-03-06 23:18:02 +00:00
marco
72d0c3e839 * Somebody forgot to adapt bsd again 2004-03-06 01:27:40 +00:00
Jonas Maebe
e81983d028 * fixed declaration for cur_term for darwin now that the importing of
variables from shared libraries works
2004-03-05 22:18:15 +00:00
marco
e546db7a23 * interlocked* changed to longints, including winapi. (which was a bug) 2004-03-05 12:17:50 +00:00
marco
6043f1a626 * more unixtype fixes 2004-03-04 22:37:40 +00:00
marco
5c28b3002f * updated 2004-03-04 22:28:42 +00:00
marco
6ad0c08e17 * Darwin specific unixtype fixes. 2004-03-04 22:28:08 +00:00
marco
93622ec2e8 * UnixType changes. Please report problems to me. 2004-03-04 22:15:16 +00:00
olle
39806df8bb * updated for macos 2004-03-04 15:39:08 +00:00
olle
9ff2987d96 + added comment to ETXTBSY
* changed i386 -> cpui386, m68k -> cpum68k
2004-03-04 13:10:23 +00:00
Jonas Maebe
45863d051d - removed legacy code 2004-03-04 12:42:44 +00:00
Jonas Maebe
fad9a3ed01 * fixed compilation 2004-03-04 12:34:36 +00:00
peter
88e72a69da * fixed previous commit 2004-03-03 22:10:48 +00:00
peter
30780f5859 * regcall fix for threadvar 2004-03-03 22:03:10 +00:00
peter
5acf1eff47 * remove cdecl 2004-03-03 22:00:37 +00:00
peter
6bdcb0cdba * $ifdef debug code 2004-03-03 22:00:28 +00:00
olle
499f57bbf0 * tiny tiny flaw fix 2004-03-03 17:23:06 +00:00
Jonas Maebe
246629c717 - removed wordsinfdset again, because now it's defined in a common file 2004-03-01 19:50:40 +00:00
marco
66187f0b2e * forgotten? 2004-02-29 13:46:52 +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
michael
e91bc5bb19 + Added AnsiSameStr 2004-02-26 08:46:21 +00:00
peter
75f7724beb * don't use ret 2004-02-23 15:52:15 +00:00
florian
b2a6bd9305 * fixed BeginThread on unix 2004-02-22 23:22:49 +00:00
Jonas Maebe
f7e4eb439a + added wordsinfdset constant 2004-02-22 23:18:24 +00:00
florian
934fe41c45 * several 64 bit issues fixed 2004-02-22 16:48:39 +00:00
Tomas Hajny
fa6166944f Makefiles regenerated 2004-02-22 16:07:41 +00:00
marco
151d6710b7 * fix for fdset. introduciton of wordsinfdset 2004-02-22 15:06:56 +00:00
Tomas Hajny
09fd537acf * lots of fixes (regcall, THandle, string operations in sysutils, longint2cardinal according to OS/2 docs, dosh.inc, ...) 2004-02-22 15:01:49 +00:00
marco
4c96b2777e * genfdset word count added. Small fix for libc maxsigsetsize 2004-02-22 15:00:27 +00:00
marco
3783a51b79 * powerpc select fix 2004-02-21 23:18:50 +00:00
florian
a895e7bb78 * several 64 bit/x86-64 fixes 2004-02-21 22:53:49 +00:00
marco
401641ae28 * hmprf, Linux has different ioctls kernel<->libc 2004-02-21 16:27:29 +00:00
marco
dd67ed73b3 * ppc ioctl nr fixed 2004-02-21 16:24:47 +00:00
florian
fa31d1d0df * fixed termios constants 2004-02-21 16:22:00 +00:00
marco
c6860f131d * ppc ioctl nr fixed 2004-02-21 15:14:55 +00:00
peter
45aef562dd * c stub implemented 2004-02-20 23:48:27 +00:00
florian
ff42d8657a + x86_64 dependend sysutils part added
* some 64 bit adaptions
2004-02-20 22:15:16 +00:00
florian
b43854bb09 + added Inf/Nan stuff 2004-02-20 20:10:44 +00:00
peter
4fcace5406 * enable variant again 2004-02-20 15:55:26 +00:00
daniel
173d1a2554 * Applied 2004-02-20 11:01:20 +00:00
daniel
f5e5e89b31 * do_syscall back to oldfpccall 2004-02-19 21:30:50 +00:00
daniel
1f24b86ccc * This time it should work. 2004-02-19 21:06:51 +00:00
daniel
cdbc770eba * Make it compile with 1.0.10 2004-02-19 20:56:22 +00:00
daniel
87bffbb9a3 * More oldfpccall 2004-02-19 19:50:51 +00:00
daniel
b720b9a12c * Do_syscall needs oldfpccall 2004-02-19 19:43:36 +00:00
marco
01e94fc56a * stdcall to syscall 2004-02-19 19:34:04 +00:00
peter
d12b3ae991 * use strlenint instead of longint 2004-02-18 22:00:59 +00:00
peter
c8b69e659b * dirptr changed to pointer 2004-02-18 22:00:45 +00:00
peter
e677c4be8b * x86_64 added 2004-02-18 21:59:23 +00:00
peter
e0dcbd35e9 * dummy added 2004-02-18 21:40:41 +00:00
florian
4b114b5689 * fixed bootstrapping with 1.9.2 2004-02-18 19:08:27 +00:00
daniel
bc7f8a474d * Enable threadvars again 2004-02-17 17:37:25 +00:00
Tomas Hajny
7a08fcd395 * LastDosExitCode changed back from threadvar temporarily 2004-02-16 22:16:55 +00:00
marco
b1f38fa24a * fpexec for popen 2004-02-16 13:21:18 +00:00
Tomas Hajny
6fa8524e66 * ProcessID initialization added 2004-02-15 21:37:18 +00:00
Tomas Hajny
601f2e02ce * overloaded ExecuteProcess added, EnvStr param changed to longint 2004-02-15 21:34:06 +00:00
Tomas Hajny
04a8acc442 * overloaded ExecuteProcess added, EnvStr param changed to longint 2004-02-15 21:26:36 +00:00
marco
6309672d16 * linklibs fixed for new pthread mechanism on FreeBSD 2004-02-15 16:33:32 +00:00
yuri
b1a8443699 * fixes for dosh.inc
* Executeprocess iverloaded function
* updated todo
2004-02-15 08:02:44 +00:00
marco
715bb087b0 * provisorische fix voor Michael's problemen 2004-02-14 21:12:14 +00:00
marco
ac1e951b17 * fpsystem, and some FPC_USE_LIBC fixes. (FreeBSD needs systypes.inc, also when FPC_USE_LIBC, it only contains types like statfs 2004-02-14 18:22:15 +00:00
marco
4f6d200630 * addition of second executeprocess prototype 2004-02-13 13:02:21 +00:00
marco
c2d60c1a8b * Hopefully last large changes to fpexec and friends.
- naming conventions changes from Michael.
	- shell functions get alternative under ifdef.
	- arraystring function moves to unixutil
	- unixutil now regards quotes in stringtoppchar.
	- sysutils/unix get executeprocess(ansi,array of ansi), and
		both executeprocess functions are fixed
 	- Sysutils/win32 get executeprocess(ansi,array of ansi)
2004-02-13 10:50:22 +00:00
Károly Balogh
aec3ded0cf * quick hack from Linux system unit 2004-02-13 07:19:53 +00:00
marco
456911f7be * currentpath stuff fixed for fsearch 2004-02-12 16:20:58 +00:00
marco
75f4e0fea9 * First version of fpexec change. Still under ifdef or silently overloaded 2004-02-12 15:31:06 +00:00
olle
4372f8ef91 * fixed global variable access in asm 2004-02-09 20:21:06 +00:00
florian
715c546567 * compilation on ppc fixed 2004-02-09 18:53:09 +00:00
florian
4fbee8aafc * intr and msdos for non i386 targets disabled 2004-02-09 18:33:26 +00:00
marco
71ec4c10a9 * 1.0 compilation fixes 2004-02-09 17:21:04 +00:00
marco
11f9c20d90 * fixed for 1.0 errno->fpgeterrno 2004-02-09 17:11:17 +00:00
marco
d2e96c4422 * fixes to get it working under FreeBSD, and probably Linux too 2004-02-09 17:01:28 +00:00
michael
6571f6a7e5 + Switched to single interface in dosh.inc 2004-02-09 12:03:16 +00:00
michael
acd272b7b3 + Implemented SameValue 2004-02-09 09:11:46 +00:00
michael
2a928b5180 + Missing functions IsZero,InRange,EnsureRange implemented 2004-02-09 08:55:45 +00:00
marco
7c0764de5f * getsystemtimeasfiletime 2004-02-08 17:11:34 +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
michael
345e537e53 + Made SameFileName Public 2004-02-08 15:05:50 +00:00
michael
dc953332cd + Added fileIsReadOnly 2004-02-08 14:50:51 +00:00
michael
f3519a496a + OSERRor related constants 2004-02-08 11:44:05 +00:00
michael
e31cf3e728 + Implemented RaiseLastOSError 2004-02-08 11:02:40 +00:00
michael
71f7e0928b + Implemented getlastoserror 2004-02-08 11:01:17 +00:00
michael
c7385cf2cb + Implemented winsysut unit 2004-02-08 11:00:18 +00:00
marco
d446a48fda * small fix 2004-02-07 00:21:10 +00:00
marco
2334e9ba3c * a large_integer -> int64 change. 2004-02-06 23:10:20 +00:00
florian
3f4d98624f - killed tsyscallregs 2004-02-06 23:06:16 +00:00
marco
ad42d353e1 * Macro changed to constant 2004-02-06 22:47:19 +00:00
Jonas Maebe
8bda33eb61 + some darwin support, doesn't work yet because of imported variables
problem
2004-02-06 22:35:50 +00:00
daniel
4d42fe7fa7 * Revert back to longint (it broke make cycle) 2004-02-06 21:17:41 +00:00
Jonas Maebe
4e37beb962 + fpnanosleep for oscdeclh.inc
- removed obsolete darwin remarks from bsd/ossysc.inc
2004-02-06 20:47:00 +00:00
daniel
f9efd57801 * Use $ for hex numbers instead of alien 0x 2004-02-06 20:17:12 +00:00
Jonas Maebe
0cead31e5f - removed double dirs_darwin entry 2004-02-06 19:50:44 +00:00
florian
25960b979c * fixed x86-64 assembler problems 2004-02-06 15:58:21 +00:00
michael
68cd24e2e7 + Renamed intf to avoid conflicts 2004-02-06 08:33:21 +00:00
michael
94b905367a + Renamed to avoid conflicts 2004-02-06 08:32:40 +00:00
Jonas Maebe
57c37fd31d + some declarations added from other bsds and /usr/include/sys/termios.h
to termios.inc and termiosproc.inc (by Karl-Michael Schindler)
  + added crt, mouse (because required by keyboard), keyboard, termio,
    console to Darwin makefile (thanks to the above they now compile,
    functionality untested)
  * fixed wrong dependency for sysconst unit (it was always recompiled)
2004-02-05 14:00:45 +00:00
florian
c9122a4719 + completed x86-64/linux system unit 2004-02-05 01:16:12 +00:00
olle
acd7fb50c6 * internal changes 2004-02-04 15:17:16 +00:00
olle
a8d6c1961d * misc fixes 2004-02-04 15:10:37 +00:00
florian
9e6f48750a * fixed generic system.int(...) 2004-02-04 14:15:57 +00:00
peter
6a121ddc75 * fixed syntax errors 2004-02-02 21:02:38 +00:00
florian
6cd2cddd33 + added prefetch(const mem) 2004-02-02 20:39:27 +00:00
florian
f9af8f066c * workaround for AMD prefetch bug 2004-02-02 17:01:47 +00:00
yuri
fab546e6d1 - prt1.as removed
- removed tmporary code/comments
- prt1 compilation error workaround removed
2004-02-02 03:24:09 +00:00
michael
2690ee6ec3 + Added all known CSIDL constants. 2004-02-01 00:12:11 +00:00
michael
33ca6e72f4 + Added header/log footer 2004-01-31 23:34:37 +00:00
michael
c7b78eb610 + Added for D6/7 compatibility. And it _is_ useful ;) 2004-01-31 23:28:28 +00:00
florian
f621c564a2 * use wait4 instead of waitpid on arm 2004-01-31 16:25:48 +00:00
florian
1bea0eb838 - deleted unsupported syscall waitpid 2004-01-31 16:25:14 +00:00
florian
c24f142b47 * removed packed directive from Dir type because it's not properly aligned
and it's never passed to the OS
2004-01-31 16:17:38 +00:00
florian
3f868d2e42 * packing of searchrec for arm fixed 2004-01-31 16:15:14 +00:00
florian
87f13990e5 * alignment handling of generic fillbyte/word fixed 2004-01-31 16:14:24 +00:00
marco
47659c114d * small fixes 2004-01-29 23:46:10 +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
marco
8dbea9390f * threadproc is passed to OS and must be stdcall; 2004-01-29 16:58:28 +00:00
peter
e2df62fc08 * EOSError.errorcode change to Longint which is more compatible
with unix platforms
2004-01-28 22:09:52 +00:00
florian
0b8ffc2fb2 * fixed a couple of broken generic routines 2004-01-28 17:02:13 +00:00