Commit Graph

326 Commits

Author SHA1 Message Date
marco
37af8cc6c7 * legacymem added 2005-03-16 13:21:21 +00:00
peter
50ece27667 * renamed rtlconst to rtlconsts 2005-03-07 17:57:24 +00:00
florian
314fe14247 + routines in baseunix can be overriden by processor specifics in bsyscall.inc 2005-03-03 20:58:38 +00:00
Jonas Maebe
92a2ba07ad * fixed web bug #3387: if one called resume right after creating a
suspended thread, it was possible that resume was executed before
    that thread had completed its initialisation in BeginThread ->
    FInitialSuspended was set to false in resume and nevertheless a
    semafore was posted
  * second problem fixed: set FSuspended to false before waking up the
    thread, so that it doesn't get FSuspended = true right after waking
    up. This should be done atomically to be completely correct though.
2005-03-01 20:38:49 +00:00
florian
44b332f82a * generic tthread.synchronize
* delphi compatible wakemainthread
2005-02-25 21:41:09 +00:00
peter
aa5b73f3ec * 1.9.8 2005-02-15 22:28:29 +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
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
peter
2fbaae2b91 * threading in system unit
* removed systhrds unit
2005-02-06 11:20:52 +00:00
marco
186692a586 * x86 and some other units readded 2005-02-05 22:55:28 +00:00
peter
110fb12911 * regenerated 2005-02-03 20:33:26 +00:00
peter
7fb8c3dfbd * signal cleanup for linux
* sigactionhandler instead of tsigaction for bsds
  * sigcontext moved to cpu dir
2005-01-30 18:01:15 +00:00
peter
ef3b19b316 * regenerated 2005-01-11 17:07:45 +00:00
peter
994ab51002 * regenerated to use cpu-os 2005-01-10 21:29:23 +00:00
marco
953e094e3c * ctypes update 2005-01-10 10:41:20 +00:00
marco
d5a2c2e068 * tsignalhandler added" 2004-12-30 12:52:43 +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
8019924d4f * first tthread.synchronize support (merged neli's patches) 2004-12-23 09:42:42 +00:00
marco
0db4315ea9 * rtlevent kraam. Checked (compile): Linux, FreeBSD, Darwin, Windows
Check work: ask Neli.
2004-12-22 21:29:24 +00:00
peter
f52d2b2edf * regenerated 2004-12-20 18:37:51 +00:00
peter
3c3ec40b70 * regenerated 2004-12-19 17:42:32 +00:00
Tomas Hajny
c016de5709 * Makefiles regenerated 2004-12-05 19:26:19 +00:00
armin
f4ffaa9828 * applied peters patch for cross compile (bin installation) 2004-11-26 13:03:07 +00:00
marco
42404cd68e * moved some calls from unix to baseunix. Darwin untested. 2004-11-14 12:21:08 +00:00
marco
726ddc2fbf * statfs moved and updated 2004-10-31 14:34:14 +00:00
marco
da54c52817 * settimeofday now used, apparantly forget to fix this in 1.1 2004-10-31 14:27:51 +00:00
marco
6c4bf32532 * dos en objects naar het eind 2004-10-31 14:26:42 +00:00
peter
86f78c7300 * units are now created in separate directory units/cpu-os/
* distclean uses cleanall rule and removes units dir
  * cross compile support fixed, it is now possible to cycle a ppcsparc
    without deleting ppc386
  * bintutilsperfix defaults to cpu-os-
2004-10-30 12:36:43 +00:00
marco
70b57f42a4 * double sysctl use broke FreeBSD 5.x 2004-09-14 14:13:49 +00:00
marco
0ae95485ef * small glitch fixes 2004-09-10 15:15:45 +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
armin
458e3c3780 * makefiles regenerated
* ide: added target netwlibc
2004-09-04 23:33:38 +00:00
marco
220d19cee7 *** empty log message *** 2004-08-27 18:59:48 +00:00
Jonas Maebe
341d25bfb2 * fixed pthread type definitions for darwin and made them generic 2004-08-25 21:42:11 +00:00
olle
8f25b1ad3a * redid prev commit, but with up to date fpcmake 2004-08-25 17:10:03 +00:00
olle
280ff73ccf * fix so that macpas.pp really is compiled 2004-08-25 16:57:22 +00:00
marco
c1ee89b2ea * dependancy problem fixed. 2004-08-19 21:24:12 +00:00
marco
846e44f674 * gpm removed 2004-08-19 11:31:20 +00:00
olle
3a29988676 + Added unit macpas 2004-08-16 16:22:11 +00:00
marco
581c8a68e2 * reverted more changes regarding isatty 2004-07-16 22:14:34 +00:00
peter
b3b9b245e1 * revert isatty patch 2004-07-09 23:17:25 +00:00
daniel
db9d9ffe01 * Fix compilation for now 2004-07-09 20:21:20 +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
6c4cade37d * Matrix unit included in build process 2004-07-07 21:37:29 +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
423fde7ac6 * regenerated 2004-05-23 18:25:48 +00:00
marco
8efff6e425 * basicevent, still untested 2004-05-23 15:30:55 +00:00
marco
49e7c1c523 * left a comment unmatched 2004-05-18 19:33:45 +00:00
marco
639e387db1 * first x86-64 changes 2004-05-17 19:18:38 +00:00
marco
51fd9d3494 * first version 2004-05-11 18:55:35 +00:00
marco
c0c83b91f8 * IPC syscalls moved 2004-04-25 15:07:59 +00:00
marco
cfe5a5baea * flock -> fpflock because of conflicting structure name 2004-04-23 19:16:24 +00:00
olle
73f73fb6f1 * updated according to the new version of fpcmake.ini 2004-04-20 23:29:59 +00:00
marco
8e102a2dd5 * Makefile stuff 2004-04-18 18:39:30 +00:00
marco
724d1ba3f5 * convutils added 2004-03-20 23:42:27 +00:00
marco
aa58205eca * strutils added 2004-03-18 16:54:03 +00:00
marco
a45e1cd3f1 * first changes sockets units 2004-03-16 18:03:37 +00:00
peter
abfc396c40 * cmem moved to rtl
* longint replaced with ptrint in heapmanagers
2004-03-15 21:48:26 +00:00
marco
1cc7b06df4 * header for sockets unit 2004-03-09 19:40:52 +00:00
marco
72d0c3e839 * Somebody forgot to adapt bsd again 2004-03-06 01:27:40 +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
Tomas Hajny
fa6166944f Makefiles regenerated 2004-02-22 16:07:41 +00:00
marco
47659c114d * small fixes 2004-01-29 23:46:10 +00:00
peter
98105d8055 * classes uses types to import TPoint and TRect 2004-01-22 17:11:23 +00:00
marco
0db9132414 bsd 2004-01-22 13:46:14 +00:00
michael
32702205a0 + Some more fixes to rtlconst. Const strings moved from classes to rtlconst 2004-01-10 20:13:19 +00:00
marco
55850b063a * regenerating the makefiles with some netbsd fixes + version upgrades 2004-01-05 23:34:21 +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
6f275c2676 * rtl/freebsd/cpu now also searched 2004-01-03 14:55:35 +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
fdf4095798 * few small freebsd fixes backported from debugging linux 2004-01-01 17:07:21 +00:00
marco
ed32411ea4 *** empty log message *** 2003-12-30 12:32:30 +00:00
marco
1ff6fd5e6a * small 1.0 compat fix 2003-12-22 16:16:33 +00:00
marco
8fc8644de0 * nil <-> 0 changes 2003-12-16 19:43:53 +00:00
michael
2054548b7a + Fixes for sysconst and removed runerrors.pp 2003-11-27 20:43:22 +00:00
michael
08971e92b0 + Redefined ppthread_mutex_t 2003-11-27 20:24:10 +00:00
marco
a0854c6b6d * fixed incorrect addition of sysconst 2003-11-27 16:16:09 +00:00
michael
6d09f23614 + Fixed dependencies so cycle works again 2003-11-26 20:50:32 +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
florian
058d480f40 * error handling for Variants improved 2003-11-26 20:00:19 +00:00
marco
c1ffa1e9a5 * .rst for dateutils fixed 2003-11-22 17:15:13 +00:00
marco
872cfdd737 * Johill: suspend fix 2003-11-22 11:04:08 +00:00
marco
4fff5fd44d * dateutils added 2003-11-20 22:09:21 +00:00
marco
880ba0dc9d * termio new includefile 2003-11-19 17:15:31 +00:00
marco
0610caa107 * termio unit 2003-11-19 17:11:39 +00:00
marco
1ef3b8b988 * more cleanups 2003-11-19 10:12:02 +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
54eb7ff8bf * tiocgeta fixed 2003-11-17 16:56:20 +00:00
marco
0c999e0c9b * threads for FreeBSD. Not working tho 2003-11-17 10:05:51 +00:00
marco
4bd0a028bb * ioperm is linuxerror free and returns syscall result directly 2003-11-14 16:30:38 +00:00
marco
45ba035237 * linuxerror elimination 2003-11-14 16:21:59 +00:00
marco
229c3ee456 * pipe fix 2003-11-09 12:00:16 +00:00
marco
b15ba0a5ae * Peter's Cardinal<->Longint fixes patch 2003-11-03 09:42:27 +00:00
marco
b8f96f52e2 * unit dl added 2003-11-02 15:39:12 +00:00
marco
4b58f5bdce * gprt readded 2003-10-30 18:12:12 +00:00
marco
50101600d3 jaja 2003-10-30 18:10:08 +00:00
marco
2c94f6de3a * 2003-10-30 17:21:21 +00:00
marco
4f72cc923f * -dNOMOUSE also for .1.1 2003-10-30 17:21:10 +00:00
peter
2d6deeaade * regenerated 2003-10-28 16:44:35 +00:00
marco
aebc04656f * fixes for signal handling. 2003-10-27 17:12:45 +00:00
peter
168ccf83c3 * regenerated 2003-10-27 15:58:54 +00:00
marco
4c771c1b8e * nomouse 2003-10-23 11:04:42 +00:00
peter
9fc4e555dd * regenerated 2003-10-09 14:35:20 +00:00
marco
f61023b93f * fix for moving classes to rtl while cycling with 1.0 start 2003-10-09 10:55:20 +00:00
peter
3d27318cb2 * moved classes unit to rtl 2003-10-06 21:01:06 +00:00
marco
feaed02001 * cross compiling fixes to makefile and fpcmake 2003-10-04 13:48:11 +00:00
marco
73876b7490 * CROSSCOMPILING stage 2 2003-10-03 21:40:35 +00:00
marco
eaceacb7e2 * remake with new fpc param 2003-10-02 08:50:13 +00:00
peter
ab5352d3f1 * fpnanosleep exported in baseunix
* fpnanosleep has pointer arguments to be C compliant
2003-09-27 13:45:58 +00:00
marco
3ac1ec7175 * Oldlinux now compiled 2003-09-20 17:54:03 +00:00
marco
ad6e138a45 * makefiles fixed 2003-09-20 16:08:15 +00:00
marco
688866ff4f * FCL now compiles for FreeBSD with new 1.1. Now Linux. 2003-09-20 12:38:29 +00:00
marco
901aa46cd7 * fixje voor mmap parameter typering veranderingen 2003-09-16 12:58:35 +00:00
marco
08eb5ac89f * small fixes. FreeBSD now cycles 2003-09-15 20:08:49 +00:00
marco
0dda48c05e * small fixes, round 1 2003-09-15 07:09:58 +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
marco
6c4e662ab1 * Several small fixes to harmonize the *BSD rtls and Linux. 2003-06-01 16:35:27 +00:00
marco
3f5d18755f * fix 2003-05-29 21:44:45 +00:00
peter
29762b04a6 * regenerated 2003-04-01 16:09:56 +00:00
Tomas Hajny
7e44bb1506 * Makefiles regenerated with corrected fpcmake 2003-03-30 00:01:43 +00:00
Tomas Hajny
f2cd222a55 + platform extensions unified, emx target added 2003-03-24 00:01:12 +00:00
armin
e321c72b22 * CloseSocket added 2003-03-23 17:47:15 +00:00
marco
5ecba7a95a * Hmm, still was linux version in 1.1? 2003-01-21 14:03:03 +00:00
peter
9addbba86a * regenerated 2003-01-14 21:15:21 +00:00
marco
e5d341dd20 * Should now work with baseunx. (gmake all works) 2003-01-05 19:02:29 +00:00
marco
bdfdf058e5 * split into ptypes and ctypes 2003-01-03 13:11:32 +00:00
marco
7f9806390f * Fixed 2003-01-03 00:06:39 +00:00
peter
3dad4cd3c4 * regenarated 2002-11-24 16:31:10 +00:00
marco
954e27b3ca * ptime_t 2002-11-13 18:14:33 +00:00
marco
21fb7bbb50 * Only "difficult" functions + execvp + termios + rewinddir left to do 2002-10-27 17:21:29 +00:00
marco
9b47bcfe9b * First series POSIX calls commits. Including getcwd. 2002-10-26 18:27:51 +00:00
carl
f0bb456351 - remove objinc.inc (unused file)
* update makefiles accordingly
2002-10-20 12:00:52 +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
a8a89995bd * sigset back at 16 bytes 2002-10-16 18:50:22 +00:00
peter
d04f73ddda * Add ucomplex and charset units 2002-09-16 15:42:11 +00:00
peter
9f31783a0a * old logs removed and tabs fixed 2002-09-07 16:01:16 +00:00
marco
8596df9dde * Moved to rtl/bsd 2002-08-19 12:33:48 +00:00
marco
5b3204e916 * again fixes. 2002-08-19 12:32:34 +00:00
marco
925ae63afb * Practically rewritten in first update in 2 years or so. 2002-08-08 20:39:26 +00:00
marco
7f2dd379a6 * Initial versions. 2002-08-08 11:40:05 +00:00
marco
6088d82362 * More POSIX updates. Small changes to lseek and ftruncate in osposix.inc
Initial versions of the type includefiles
2002-08-04 04:29:34 +00:00
marco
0e2046b1fd * Some more OpenBSD fixes. 2002-08-01 12:28:49 +00:00