Commit Graph

395 Commits

Author SHA1 Message Date
florian
8c85454cf9 + added system.align
+ threadvars are now aligned
2004-10-14 17:39:33 +00:00
michael
30a74b36f2 + Fixed sleep: file needs to be closed again 2004-10-12 15:22:23 +00:00
michael
dfe2a0417e + Implementation of GetTempDir and GetTempFileName 2004-10-10 10:28:34 +00:00
armin
c6e7e58903 * enable acs on xterm by default 2004-10-05 17:16:24 +00:00
armin
5c03484982 * SysUpdateScreen modified esi and edi 2004-10-03 20:16:43 +00:00
peter
1bc2f4c97f * remove strpas() before syscalls so it chooses the pchar overload 2004-09-25 15:09:57 +00:00
marco
bdb3125ed1 * already did 3 aliases needed for SDL port 2004-09-11 20:41:52 +00:00
Jonas Maebe
159912ec47 * fixed definition of pthread_mutex_t for non-linux targets (and for
linux as well, actually).
  * base libpthread definitions are now in ptypes.inc, included in unixtype
    They sometimes have an extra underscore in front of their name, in
    case they were also exported by the packages/base/pthreads unit, so
    they can keep their original name there
  * cthreadds unit now imports systuils, because it uses exceptions (it
    already did so before as well)
  * fixed many linux definitions of libpthread functions in pthrlinux.inc
    (integer -> cint etc)
  + added culonglong type to ctype.inc
2004-09-09 20:29:06 +00:00
marco
bbe6c833f0 * "clib" constant moved to interface, since initc is prefered way of
initing libc/libroot/glibc
2004-09-08 08:32:33 +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
michael
a0109e4da7 + Give path, not comline in ExecuteProcess 2004-08-30 11:20:39 +00:00
michael
d8501af1df + Fixed ExecuteProcess. Now returns the exit code or raises an exception on failure 2004-08-30 11:13:20 +00:00
florian
f46756e96b * alignment for sparc fixed 2004-08-14 14:22:17 +00:00
michael
6bf44ccc0f Added getappconfig calls 2004-08-05 07:28:37 +00:00
olle
3f4eb52fec * envstr now returns empty string when index out of bounds 2004-07-25 22:46:14 +00:00
marco
07a3e047db * some updates to xy2ansi 2004-07-20 09:26:04 +00:00
Jonas Maebe
aa6475e9fd * fixed BSD getdomainname for FPC_USE_LIBC 2004-07-18 14:54:42 +00:00
marco
8bf63be7c6 * small fix for BSD getdomainname. BSD version is based on Sysctl 2004-07-18 11:27:54 +00:00
peter
f4a22bf8d1 * fixed range check errors 2004-07-09 23:10:14 +00:00
daniel
65591edebc * Fixed fitvalues 2004-07-09 22:40:02 +00:00
peter
cf15e8407e * isatty return cint again 2004-07-09 19:03:35 +00:00
daniel
74f637cb11 * gpm now uses a Pascal translation of libgpm instead of linking against
it.
  * isatty result type changed into boolean
2004-07-08 13:23:21 +00:00
daniel
74d50c5f11 * No envp,argv,argc declaration for Darwin 2004-07-03 22:52:33 +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
daniel
4fb9894eff * Compilation fix. 2004-07-03 13:29:23 +00:00
daniel
0fd27656bc * Better fix. 2004-07-03 13:18:06 +00:00
daniel
a3ca3996a6 * Compilation fix in fsearch 2004-07-03 13:15:51 +00:00
michael
c89660006d + Fixed Globtosearchrec to use unixtowinage 2004-06-15 07:36:03 +00:00
michael
525f18fcb6 + Patch from Michalis Kamburelis for FNMatch 2004-06-12 13:48:08 +00:00
Jonas Maebe
81adfcccd8 * fixed missing cdecl procedure directive 2004-06-01 10:30:03 +00:00
marco
a84ad6c498 * basicevent, still untested. 2004-05-23 15:30:42 +00:00
michael
94ed600e1e + Fixed FindFirst/FindNext so it treats the attributes correctly 2004-05-22 14:25:03 +00:00
peter
1ca09822a6 * unix thandle is always 32bit
* textrec fixed for 64bit
2004-05-18 20:16:23 +00:00
peter
22622e414d * ptrint 2004-05-01 16:35:13 +00:00
peter
8c60c6f93e * ordinal-pointer conversions fixed 2004-04-28 20:48:20 +00:00
peter
c17c80def1 * FileIsReadOnly fixed 2004-04-26 14:50:19 +00:00
marco
03d224009d * intiial 2004-04-25 20:33:50 +00:00
marco
1340afc320 * IPC reform 2004-04-25 19:15:43 +00:00
marco
cfe5a5baea * flock -> fpflock because of conflicting structure name 2004-04-23 19:16:24 +00:00
peter
9a7a1e2489 * x86-64 fixes 2004-04-22 17:17:13 +00:00
marco
3896b0fe05 * small fix for NIL arg ptr in first executeprocess 2004-04-20 18:24:32 +00:00
marco
88d81ba3d4 * ioperm/iopl added from linuxold. Untested but will probably work 2004-04-12 10:31:58 +00:00
marco
156afd7ad4 * fix for recursive fpc.exe ? 2004-03-28 19:36:19 +00:00
peter
d1069ce5a7 * use smallint instead of integer 2004-03-23 22:36:31 +00:00
marco
a45e1cd3f1 * first changes sockets units 2004-03-16 18:03:37 +00:00
peter
07acabc5b1 * fix memory allocation in stringtoppchar 2004-03-15 20:43:07 +00:00
peter
682b148f4c * reset searchrec info in findfirst 2004-03-14 18:42:39 +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
93622ec2e8 * UnixType changes. Please report problems to me. 2004-03-04 22:15:16 +00:00
olle
9ff2987d96 + added comment to ETXTBSY
* changed i386 -> cpui386, m68k -> cpum68k
2004-03-04 13:10:23 +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
florian
934fe41c45 * several 64 bit issues fixed 2004-02-22 16:48:39 +00:00
marco
151d6710b7 * fix for fdset. introduciton of wordsinfdset 2004-02-22 15:06:56 +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
c8b69e659b * dirptr changed to pointer 2004-02-18 22:00:45 +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
601f2e02ce * overloaded ExecuteProcess added, EnvStr param changed to longint 2004-02-15 21:34:06 +00:00
marco
6309672d16 * linklibs fixed for new pthread mechanism on FreeBSD 2004-02-15 16:33:32 +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
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
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
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
66dd127bd9 + Moved CRT interface to common include file 2004-02-08 16:22:20 +00:00
michael
dc953332cd + Added fileIsReadOnly 2004-02-08 14:50:51 +00:00
michael
71f7e0928b + Implemented getlastoserror 2004-02-08 11:01:17 +00:00
florian
3f4d98624f - killed tsyscallregs 2004-02-06 23:06:16 +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
Jonas Maebe
4e37beb962 + fpnanosleep for oscdeclh.inc
- removed obsolete darwin remarks from bsd/ossysc.inc
2004-02-06 20:47:00 +00:00
florian
3f868d2e42 * packing of searchrec for arm fixed 2004-01-31 16:15:14 +00:00
Jonas Maebe
5cf2d2fabd * only include systypes.inc if FPC_USE_LIBC is not defined 2004-01-23 08:11:18 +00:00
marco
0db9132414 bsd 2004-01-22 13:46:14 +00:00
marco
104753b859 * openbsd fixes stage one 2004-01-21 21:25:49 +00:00
Tomas Hajny
e0f9297e01 * ExecuteProcess fixes, ProcessID and ThreadID added 2004-01-20 23:05:31 +00:00
marco
13af9e805b * some semi colons added 2004-01-12 23:43:22 +00:00
michael
67d7dcdc91 + Implemented sleep() on Unix. 2004-01-10 17:34:36 +00:00
Jonas Maebe
6ff7c9634a * Darwin does not have a lib_r, libc itself is already reentrant 2004-01-07 17:40:56 +00:00
florian
0c1fbaeae4 * compilation error fixed 2004-01-05 22:42:35 +00:00
florian
822ce0df68 * changed sysutils.exec to ExecuteProcess 2004-01-05 22:37:15 +00:00
Jonas Maebe
96da72219f * declare C-library routines as external in libc so we generate proper
import entries for Darwin
2004-01-04 21:05:01 +00:00
Jonas Maebe
e6c3cc44c9 * declare C-library routines as external in libc for Darwin (so we
generate proper import entries)
2004-01-04 21:04:08 +00:00
Jonas Maebe
05c20a184b * don't use systypes if FPC_USE_LIBC is defined 2004-01-04 20:53:02 +00:00
Jonas Maebe
7ef919ce47 + geterrnolocation for Darwin 2004-01-04 20:36:53 +00:00
Jonas Maebe
592822ba08 * fixed WaitProcess in case of SysEintr 2004-01-04 16:24:05 +00:00
marco
aeaf3e9d2c * Unix exec(ansistring) 2004-01-03 09:09:11 +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
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