Almindor
5d469b6847
* changed "directives" macro to "extdecl" to be more lazarus-friendly
...
git-svn-id: trunk@4778 -
2006-10-03 16:38:36 +00:00
Almindor
adf89bd95d
* adds info about bsd.pas
...
git-svn-id: trunk@4705 -
2006-09-24 11:38:59 +00:00
Jonas Maebe
a296f9f816
* use unixtype instead of hardcoded types
...
* use pcint instead of plongint
git-svn-id: trunk@4574 -
2006-09-08 17:34:38 +00:00
Jonas Maebe
51f130ca3d
+ cdecl modifier for FPC_USE_LIBC
...
git-svn-id: trunk@4573 -
2006-09-08 16:13:00 +00:00
Jonas Maebe
9e801eb048
* removed/conditionalised several unused variables
...
git-svn-id: trunk@4199 -
2006-07-14 20:44:57 +00:00
Jonas Maebe
822e41689d
fixed Do_IsDevice()
...
git-svn-id: trunk@3022 -
2006-03-24 19:53:32 +00:00
Jonas Maebe
2a90c43cea
+ turn on fpu exceptions for darwin/i386
...
git-svn-id: trunk@2928 -
2006-03-15 21:32:50 +00:00
Jonas Maebe
a90e3b3e1d
* fixed argc/argv/envp catching for darwin/x86 (not really nice, but
...
works)
git-svn-id: trunk@2848 -
2006-03-10 23:45:37 +00:00
marco
6f0e817973
* pwrite/writev for *BSD + FPC_USE_LIBC. Requires IOVEC et al to be defined in ostypes.inc
...
git-svn-id: trunk@2734 -
2006-03-04 14:21:42 +00:00
marco
1656cdc574
* little fixes related to KQueue and Sendfile
...
git-svn-id: trunk@2529 -
2006-02-12 14:12:15 +00:00
marco
a2fb3fb60d
* Initial implementation based on an implementation of Ales Katona.
...
git-svn-id: trunk@2519 -
2006-02-11 20:02:13 +00:00
marco
768bf94a99
* more "shared" fixes
...
git-svn-id: trunk@2295 -
2006-01-15 14:56:20 +00:00
marco
b6ac26d673
* picified syscall code
...
git-svn-id: trunk@2292 -
2006-01-15 12:00:49 +00:00
marco
b6ed07eb30
* fixed RLIMIT_VMEM gotcha
...
git-svn-id: trunk@1754 -
2005-11-15 11:15:27 +00:00
marco
238510c59d
* added resource consts and types
...
git-svn-id: trunk@1749 -
2005-11-14 11:31:28 +00:00
tom_at_work
1b4b42fdd6
* added CheckInitialStkLen() function which checks whether the given stack size value is valid on the OS when creating a thread, fixing stack checking
...
git-svn-id: trunk@1722 -
2005-11-11 12:16:08 +00:00
Jonas Maebe
9d9fd923d9
* the 'main' procedure for darwin is now placed in the main program instead
...
of in the system unit
+ ability to rename this 'main' symbol (-XM<x>, e.g. -XMSDL_main for SDL), for
all OS'es
+ mention the -Xm parameter in the help
git-svn-id: trunk@503 -
2005-06-26 13:24:12 +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
michael
23ad0ae1ec
+ Removed HASINTF and VER1_0 defines
...
git-svn-id: trunk@239 -
2005-06-07 20:30:03 +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
Jonas Maebe
7a79e0f083
* use definition of pthread_mutex_t from ptypes.h instead of
...
the linux definition in the system unit
git-svn-id: trunk@185 -
2005-06-03 21:07:04 +00:00
michael
aea4d56d46
+ Reversed setup of stdio and arguments to fix bug #3962
...
git-svn-id: trunk@114 -
2005-05-25 21:47:52 +00:00
marco
1efce6412b
* FPC_USE_LIBC and uuidgen(2) support under IFDEF FREEBSD5.
...
git-svn-id: trunk@72 -
2005-05-22 14:24:55 +00:00
marco
1467901e3e
* Fixes for some $LOG$ removal snafu's
...
git-svn-id: trunk@57 -
2005-05-21 23:15:32 +00:00
michael
180fd52858
+ Reworked GUID creation
...
git-svn-id: trunk@43 -
2005-05-21 10:03:44 +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
marco
8884d2e079
* mmap had another, yet unknown 8th parameter which must be 0 and comes after the offset param
2005-04-24 19:11:28 +00:00
florian
4aa4aeae79
+ TThreadID
2005-04-13 20:10:50 +00:00
Jonas Maebe
2426ecafc3
* fixed several warnings and notes about unused variables (mainly) or
...
uninitialised use of variables/function results (a few)
2005-03-25 22:53:39 +00:00
marco
3567f25001
* fix from mischi
2005-03-13 14:11:06 +00:00
Jonas Maebe
1ec1e7f2f8
* fixed wifexited and wstopsig
2005-02-15 22:27:45 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
peter
f397aadd96
* ctypes.inc moved to unix/
2005-02-13 21:56:28 +00:00
peter
4534feb917
* include file cleanup part 2
2005-02-13 21:47:56 +00:00
peter
ae8b7b153b
* include file cleanup
2005-02-13 20:01:37 +00:00
peter
2808b3acea
* moved to unix
2005-02-07 22:04:55 +00:00
peter
86025bbcb6
* moved file and dir functions to sysfile/sysdir
...
* win32 thread in systemunit
2005-02-06 13:06:20 +00:00
peter
f5bc749953
* bsd thread updates
2005-02-06 12:16:52 +00:00
florian
5793f2037f
+ added the new types from linux
2005-02-06 08:50:22 +00:00
florian
4f7560d89e
* improved widestring infrastructure manager
2005-02-01 20:22:49 +00:00
Tomas Hajny
353d5cc3de
+ GetProcessID added
2004-12-05 14:36:37 +00:00
marco
0d1d1a2c1b
* fpsettimeofday.
2004-12-02 18:24:35 +00:00
marco
75019cf36a
* initial settimeofday
2004-12-02 15:11:42 +00:00
marco
c505806918
* tz_ prefixed for timezone
2004-12-02 11:22:11 +00:00
marco
c8335a9d75
* libc fixes
2004-11-21 17:49:28 +00:00
marco
d3cb19214b
* external rework. Mostly done.
2004-11-19 13:15:14 +00:00
marco
42404cd68e
* moved some calls from unix to baseunix. Darwin untested.
2004-11-14 12:21:08 +00:00
peter
dbc2025604
ErrOutput added
2004-11-04 09:32:31 +00:00
marco
b903ce5a9a
* Pathstr eliminated
2004-11-03 15:00:43 +00:00
peter
869b0ecc85
* compiler defined HEAP and HEAPSIZE removed
2004-10-25 15:38:59 +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
f498e954a5
* small 1.0.x fix to earlier patch
2004-07-18 11:32:24 +00:00
marco
93c356f300
* generalised the {$ifdef cpu_i386} ..powerpc stuff to FPC_BIG_ENDIAN and
...
FPC_LITTLE_ENDIAN
2004-07-17 16:02:58 +00:00
Jonas Maebe
dbedc97141
* initialise StackLength (fixes stack checking in general, and tw2897 in
...
particular)
2004-07-17 15:31:03 +00:00
Jonas Maebe
0ba2497f24
* don't use O_CREATE when opening a file for appending (fixes tw1744)
2004-07-17 15:20:55 +00:00
daniel
51f00ff000
* Moved declarations downwards
2004-07-03 22:49:34 +00:00
marco
8dc79129e2
* small fix for 1.0.x cycling
2004-07-03 22:48:49 +00:00
daniel
9a23e896b3
* Declared envp,argc,argv in interface for Darwin
2004-07-03 22:44:37 +00:00
marco
47e72b772e
* moved heap.inc and text.inc before sysalloc as suggested. Why wasn't this
...
done directly?
2004-06-19 08:06:04 +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
Jonas Maebe
5c5c449ecf
* moved fpgeterrno/fpseterrno declarations to before their actual usage
2004-05-31 18:03:51 +00:00
marco
0e999633e3
* threadvar errno fix
2004-05-28 21:40:28 +00:00
marco
24bf59caa6
* errno+4 becomes errno+8
2004-05-18 20:05:01 +00:00
marco
5787d92d8f
* x86_64 patches
2004-05-17 19:20:09 +00:00
marco
13a860eefc
* syscallnr for __syscall entered
2004-05-16 21:01:23 +00:00
marco
06dd389fce
* Initial versions
2004-05-16 20:48:32 +00:00
peter
94adf83a8b
* use thandle in do_*
2004-05-16 18:51:20 +00:00
marco
1340afc320
* IPC reform
2004-04-25 19:15:43 +00:00
peter
041eb4aa1d
* do_read/do_write addr argument changed to pointer
2004-04-22 21:10:56 +00:00
marco
93d838bd4d
* fpnice fixes
2004-04-22 16:22:10 +00:00
marco
93622ec2e8
* UnixType changes. Please report problems to me.
2004-03-04 22:15:16 +00:00
marco
66187f0b2e
* forgotten?
2004-02-29 13:46:52 +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
marco
0db9132414
bsd
2004-01-22 13:46:14 +00:00
Tomas Hajny
e0f9297e01
* ExecuteProcess fixes, ProcessID and ThreadID added
2004-01-20 23:05:31 +00:00
marco
e03e8b5a27
* o_creat added when o_append
2004-01-06 15:42:05 +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
20e0d970e9
+ geterrnolocation for Darwin
...
+ C-style main for Darwin (generic, can be used for anything)
2004-01-04 20:32:05 +00:00
Jonas Maebe
d6743c1491
* moved SIG_MAXSIG and wordsinsigset constants from bunxtype.inc to
...
ptypes.inc (already there for Darwin)
2004-01-04 20:08:45 +00:00
marco
5ec7fdfe02
* fix for 1.0 compability issue
2004-01-03 23:56:11 +00:00
marco
5ba857f706
* typo fix
2004-01-03 14:56:10 +00:00
marco
5cb92b4d59
* sighnd to separate file, like linux. Some comments removed
2004-01-03 12:35:39 +00:00
marco
fdf4095798
* few small freebsd fixes backported from debugging linux
2004-01-01 17:07:21 +00:00
marco
b6f9f170f7
* FPC_USE_LIBC
2003-12-30 12:24:01 +00:00
peter
03d60dec7f
* fix getdir when directory contains files that give EACCESS
2003-12-21 20:31:50 +00:00
marco
8fc8644de0
* nil <-> 0 changes
2003-12-16 19:43:53 +00:00
marco
ae1f7f63b6
* fix for repeating 'x' bug
2003-12-14 14:47:02 +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
e3796bafa3
* fix from sebastian
2003-11-30 12:40:29 +00:00
marco
0610caa107
* termio unit
2003-11-19 17:11:39 +00:00
marco
359a077da1
* Small fixes for EAGAIN. bunxfunc only has comments added.
2003-11-18 10:12:25 +00:00
marco
5526f18914
* fixed some linuxerror probs
2003-11-13 17:49:24 +00:00
marco
aebc04656f
* fixes for signal handling.
2003-10-27 17:12:45 +00:00
marco
16c7ca4606
* moved sigprocmask to system
2003-10-26 17:01:04 +00:00
marco
fa766600ed
* texception4 fix merge
2003-10-26 16:42:22 +00:00
olle
527a79b0dc
* changed i386 to cpui386
2003-10-17 22:10:30 +00:00
peter
ab5352d3f1
* fpnanosleep exported in baseunix
...
* fpnanosleep has pointer arguments to be C compliant
2003-09-27 13:45:58 +00:00
peter
87f0147dff
* fpISxxx renamed
2003-09-27 13:04:58 +00:00
marco
688866ff4f
* FCL now compiles for FreeBSD with new 1.1. Now Linux.
2003-09-20 12:38:29 +00:00
marco
feee65f98f
* ostype include moved to top
2003-09-17 16:02:31 +00:00
marco
fd77009ae5
* stat macro fixes voor BSD
2003-09-17 11:52:05 +00:00
marco
a99cf467f9
* pointer's of some basetypes
2003-09-16 21:20:40 +00:00
marco
5ce9550d57
* mmap typing fixes
2003-09-16 12:45:49 +00:00
marco
08eb5ac89f
* small fixes. FreeBSD now cycles
2003-09-15 20:08:49 +00:00
marco
83b0b82e11
* fix
2003-09-15 07:23:51 +00:00
marco
7efaf7dee2
* Unix reform stage two. Remove all calls from Unix that exist in Baseunix.
2003-09-14 20:15:01 +00:00
olle
2931590e9b
- removed parameter from fpc_iocheck
2003-08-21 22:21:00 +00:00
marco
bb651017e8
* Moved prototypes outside of baseunix. And shared with linux for now
2003-06-03 14:23:45 +00:00
marco
6c4e662ab1
* Several small fixes to harmonize the *BSD rtls and Linux.
2003-06-01 16:35:27 +00:00
marco
e3c50b2399
* Getting NetBSD/i386 to compile.
2003-05-30 19:58:40 +00:00
marco
56ddd7f08f
* Some other workaround
2003-05-29 21:45:23 +00:00
marco
50917559bd
* progname fix.
2003-05-29 20:54:09 +00:00
marco
dc3b985838
* only moved around the off_t calls, and made an exception (includefile)
...
for NetBSD/powerpc
2003-05-29 20:52:55 +00:00
marco
229355b286
* small fix
2003-05-29 13:42:58 +00:00
marco
04926a9844
* 7 parameter syscall added. *BSD has calls with more params due to __syscall etc
2003-05-29 13:14:07 +00:00
Jonas Maebe
0185f7684a
- disabled nanosleep for darwin for now
...
+ getcwd for darwin
2003-05-26 21:29:16 +00:00
Jonas Maebe
f9d90e0a63
+ added from linux
2003-05-25 14:07:26 +00:00
Jonas Maebe
34cdc0a37f
* several fixes, addition of Mach trap numbers (thye are simply syscalls
...
with a negative number)
2003-05-25 13:51:58 +00:00
marco
2478552240
* fix octal that broke 1.0.x
2003-01-21 15:34:59 +00:00
marco
cc042060e0
* renamed after baseunix changes.
2003-01-05 19:18:16 +00:00
marco
cc8f33e2ad
* Small sigprocmask fix
2003-01-05 19:10:05 +00:00
marco
832a1bcb96
* FreeBSD compiles now with baseunix mods.
2003-01-05 19:01:28 +00:00
marco
0575776395
* Renamed to bunxtype.inc (from osposixh.inc), some minor changes
...
(as introduced going from posix unit to baseunix)
2003-01-03 15:45:21 +00:00
marco
190b09a5dd
* copied and checked from Linux.
2003-01-03 11:21:32 +00:00
marco
12e9c34aac
* Fix setitimer.
2002-11-14 13:25:27 +00:00
marco
5c5fc48e2c
* took out the generic sethandling.
2002-11-14 12:34:20 +00:00
marco
cd427582de
* sigset functions more flexible, small changes to sys_time
2002-11-13 18:15:08 +00:00
marco
bcff2b841c
* Ugly hack to temporarily be able to use system.pp for Linux too
2002-11-12 14:57:48 +00:00
marco
d3f02fb3a4
* fixes to macro
2002-11-12 14:19:46 +00:00
marco
21fb7bbb50
* Only "difficult" functions + execvp + termios + rewinddir left to do
2002-10-27 17:21:29 +00:00
marco
10f2ceeab8
* Modifications from Saturday.
2002-10-27 11:58:29 +00:00
marco
9b47bcfe9b
* First series POSIX calls commits. Including getcwd.
2002-10-26 18:27:51 +00:00
Jonas Maebe
f8004fe1ed
+ initial version
2002-10-26 14:33:09 +00:00
marco
809550f7dc
* Should be alias.
2002-10-25 15:46:48 +00:00
marco
38a63b01f0
* Fixes to get the generic *BSD RTL compiling again + fixes for thread
...
support. Still problems left in fexpand. (inoutres?) Therefore fixed
sysposix not yet commited
2002-10-18 12:19:58 +00:00
marco
85c71c6ba6
* Lseek and ftruncate 64-bit fix
2002-10-16 18:44:18 +00:00
marco
65318837d2
* and again for ftruncate (sigh)
2002-10-16 18:44:00 +00:00
marco
abe28b90f3
* the 7 param syscall (for lseek and truncate) now returns a int64.
2002-10-16 18:41:13 +00:00
florian
495cb55113
+ call to initvariantmanager inserted
2002-10-13 09:25:14 +00:00
marco
2c73b6c7a8
* Forgot external name's
2002-09-08 16:20:27 +00:00
marco
e9dee45162
* Added GetDomainName and that other one ..
2002-09-08 16:11:59 +00:00
marco
1a5968d82a
* Renamed to bsdfunc, since more funcs will follow
2002-09-08 15:15:39 +00:00
peter
9f31783a0a
* old logs removed and tabs fixed
2002-09-07 16:01:16 +00:00
marco
3bc109ae66
* Fixes from Tuesday.
2002-08-21 07:03:16 +00:00
marco
82f9961048
* More errno changes
2002-08-21 07:02:06 +00:00