Commit Graph

395 Commits

Author SHA1 Message Date
marco
bb088c5ada * export statfs(pchar) 2003-12-31 20:24:25 +00:00
marco
42d5e0e005 * linux now compiles with FPC_USE_LIBC 2003-12-30 15:43:20 +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
daniel
fd86e14b01 * Use of 0 instead of nil fixed 2003-12-16 09:43:04 +00:00
florian
5028fa6d0f * replaced VER1_0 by HASGLOBALPROPERTY 2003-12-11 18:20:50 +00:00
marco
42f329de27 * property support under ifndef ver1_0 2003-12-10 17:13:43 +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
peter
b0f94e46a7 * fsearch should only find files 2003-12-08 17:16:30 +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
michael
955d743f21 + Removed dummy variable from SetCthreadManager 2003-11-29 17:34:14 +00:00
michael
e85e5fa94f + Compiles on BSD too now 2003-11-27 20:24:53 +00:00
michael
515f170dd0 + Make works with 1.0.10 too 2003-11-27 20:16:59 +00:00
michael
de16dcff56 + Some fixes to have everything compile again 2003-11-26 20:34:19 +00:00
michael
4b2084fb50 + New threadmanager implementation 2003-11-26 20:10:59 +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
466a05bbf3 + Bugfix for bug #2741 2003-11-24 22:27:25 +00:00
marco
c97a5d06eb * Linux part of termio unit 2003-11-19 17:35:36 +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
marco
e0c4a566cd * some simple restructures 2003-11-19 10:54:32 +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
09bf7e5016 * no longer necessary 2003-11-18 10:43:28 +00:00
marco
7bfead6dab * Clone moved to linux, + few small unit unix changes 2003-11-17 11:28:08 +00:00
marco
0c999e0c9b * threads for FreeBSD. Not working tho 2003-11-17 10:05:51 +00:00
marco
20bd2d0e06 * pthreads based ttread from Johannes Berg 2003-11-17 08:27:49 +00:00
marco
6318180e60 * few things renamed 2003-11-16 14:09:25 +00:00
marco
ce9c3bf19c * weeehoo linuxerror is no more :-) 2003-11-14 17:30:14 +00:00
marco
4b8e3387a7 * stream functions converted to work without linuxerror 2003-11-14 16:44:48 +00:00
marco
11715d3922 * small fi 2003-11-13 18:44:06 +00:00
marco
170190dc43 * more linuxeror fixes 2003-11-12 22:19:45 +00:00
marco
3e9a92b2b1 * replaced by linuxold in one file 2003-11-12 12:34:48 +00:00
marco
8f76f86ce5 * new oldlinux unit. 1_0 defines killed in some former FCL parts. 2003-11-10 16:54:28 +00:00
marco
b15ba0a5ae * Peter's Cardinal<->Longint fixes patch 2003-11-03 09:42:27 +00:00
marco
73a0939a2b * more fixes 2003-11-02 16:30:12 +00:00
marco
cdbe222922 bsd support 2003-11-02 15:41:53 +00:00
marco
4ab4f046e1 * Show stopping bug. Had to comment out lines around 279 to get 1.9
to build
2003-11-01 17:10:21 +00:00
mazen
e828773c4e + assembler mode forced to ATT style for x86 cpu 2003-10-31 08:55:11 +00:00
marco
049d2cbd1a * fixes for old syscall() convention removing 2003-10-30 16:42:58 +00:00
marco
aebc04656f * fixes for signal handling. 2003-10-27 17:12:45 +00:00
marco
3015bde393 * moved sigprocmask to system for BSD. (needed for reenablesig) 2003-10-26 17:01:35 +00:00
marco
63f6eeb35a * partial fix for bug #2212. 2003-10-26 15:32:25 +00:00
Tomas Hajny
57538cb669 * THandle in sysutils common using System.THandle 2003-10-25 23:42:35 +00:00
marco
dfff760c9a * small after merge fixes 2003-10-25 22:48:52 +00:00
marco
138d6ba052 * 1.0.x fixes merged 2003-10-24 18:09:56 +00:00
marco
add1df1b27 * merged some fixes from 1.0.x 2003-10-24 17:51:39 +00:00
marco
5538700c8a * fd's now walk from 0..maxset again. IDE/unit kbd works again. 2003-10-23 12:06:14 +00:00
olle
527a79b0dc * changed i386 to cpui386 2003-10-17 22:10:30 +00:00
olle
8a1b525ff7 * Changed m68k to cpum68k 2003-10-17 20:49:02 +00:00
olle
a956097415 * Changed mapping of Sys_ETXTBSY to 5
* Changed m68k to cpum68k, i386 to cpui386
2003-10-17 20:45:58 +00:00
peter
d0eac29ab9 * THandle is platform dependent 2003-10-16 15:43:13 +00:00
Tomas Hajny
64b073a5cd * sbrk error handling corrected 2003-10-13 21:24:04 +00:00
marco
6ec9da620b * more small fixes 2003-10-13 11:37:57 +00:00
marco
3d6bb07cd2 * ioctl fixes. IDE now starts, but 2003-10-12 19:40:43 +00:00
marco
bf428eebf5 * small bug fixed in opendir that core dumped the IDE. Now the IDE SIGFPE's in FV. 2003-10-12 14:37:10 +00:00
marco
cdf26af82b * fix from Vincent to casetables 2003-10-07 08:28:49 +00:00
peter
39add9f5ff * GetCurrentThreadHandle renamed to GetCurrentThreadId 2003-10-01 21:00:09 +00:00
peter
6f6630bd46 * GetCurrentThreadId implemented 2003-10-01 20:53:08 +00:00
peter
bc1f8c842c * fixed for stricter compiler 2003-09-29 14:36:06 +00:00
peter
309742257d * fpnanosleep exported 2003-09-27 13:49:41 +00:00
peter
456025ad0a * fpISxxx macros renamed to C compliant fpS_ISxxx 2003-09-27 12:51:33 +00:00
peter
3d8d9c96f8 * sbrk returns pointer 2003-09-27 11:52:35 +00:00
peter
a7365ebcf8 * Fix range check error for Not 0
* Fix loop in fdfillfdset
2003-09-22 19:43:22 +00:00
marco
7508a733c1 * More fixes 2003-09-20 18:10:28 +00:00
marco
cc8b174c0a * old linux. See msg about this unit. 2003-09-20 17:50:29 +00:00
marco
60ef089bc6 * mmap fix. 2003-09-20 17:27:05 +00:00
marco
688866ff4f * FCL now compiles for FreeBSD with new 1.1. Now Linux. 2003-09-20 12:38:29 +00:00
marco
34058dd741 * more fixes for Unix<->unixutil 2003-09-17 19:07:44 +00:00
marco
2fc99b56c8 * small *BSD fix 2003-09-17 18:49:16 +00:00
marco
586ad6befb * Introduction of unixutil 2003-09-17 17:30:46 +00:00
marco
88af0dddd6 * Initial version. Plain vanilla copy and paste from unix.pp 2003-09-17 17:24:45 +00:00
marco
e20f244f70 * Uses more baseunix, less unix now 2003-09-17 12:41:31 +00:00
marco
35cd7e61c9 * fixes for new macro's 2003-09-17 11:24:46 +00:00
marco
2e9daf5cfa * two extra FPIS added 2003-09-17 11:14:25 +00:00
marco
cd46432deb * small fixes, checking things on linux 2003-09-16 21:46:27 +00:00
marco
2877df766c * small cleanups. Mostly killing of already commented code in unix etc 2003-09-16 20:52:24 +00:00
marco
61d94af8be * fdset functions renamed to fp<posix name> 2003-09-16 16:13:56 +00:00
peter
7acb66b1a3 * add typecasts for oldlinuxstat 2003-09-16 16:06:02 +00:00
marco
6d12c4b987 * voodoo is now linux only 2003-09-16 15:40:31 +00:00
marco
2ce14177e7 * voodoo.... 2003-09-16 15:39:31 +00:00
marco
0528aa6fd7 * Wat cleanup, ouwe syscalls nu via baseunix e.d. 2003-09-16 13:17:03 +00:00
marco
ca823630a1 * small BSD gotcha removed (typing mmap params) 2003-09-16 13:00:02 +00:00
marco
9b33a79bea * second round of linux fixes. oldlinux now works 2003-09-15 21:07:32 +00:00
marco
72bd181fc5 * syscalls 2003-09-15 20:30:49 +00:00
marco
08eb5ac89f * small fixes. FreeBSD now cycles 2003-09-15 20:08:49 +00:00
marco
ff4c61d65c * moved linux.pp contents to linuxold etc 2003-09-15 14:12:17 +00:00
marco
5fcf326dc5 * new files unixreform 2003-09-14 20:16:48 +00:00
marco
7ad40b4fbd * more unix reform 2003-09-14 20:16:10 +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
florian
8d771df2d4 * arm fixes to the common rtl code
* some generic math code fixed
  * ...
2003-09-03 14:09:37 +00:00
olle
2931590e9b - removed parameter from fpc_iocheck 2003-08-21 22:21:00 +00:00
peter
1b633246b9 * sparc fixes 2003-07-08 21:23:24 +00:00
marco
0525a73548 * Enhancements to make the compiler baseunix using. 2003-06-01 16:28:41 +00:00
marco
ca54415fb0 * now generic 2003-06-01 15:25:14 +00:00
marco
13b0db9269 * Shared for now 2003-06-01 15:23:46 +00:00
marco
e3c50b2399 * Getting NetBSD/i386 to compile. 2003-05-30 19:58:40 +00:00
marco
031693de28 * small changes 2003-05-30 19:37:14 +00:00
marco
ca1f21b99f * fixed a small *BSD gotcha 2003-05-29 19:16:16 +00:00
Jonas Maebe
fd581235c8 * fixed ExitCode translation in WaitProcess for Linux and Darwin (and
probably other BSD's as well)
2003-05-24 20:39:54 +00:00
marco
900bceb0d9 * Movexd back to linux/ 2003-05-17 13:07:15 +00:00
florian
1f9112f544 no message 2003-05-16 20:56:06 +00:00
florian
18ed72101a * ifdef'd code which i386 specific 2003-05-14 13:51:03 +00:00
peter
60e5c18645 * made THandle platform dependent and unique type 2003-04-01 15:57:41 +00:00
armin
46c2715b9d * corrected typo in DirectoryExists 2003-03-30 10:38:00 +00:00
Tomas Hajny
9e0f41900a * DirectoryExists declaration changed to that one from fixes branch 2003-03-29 18:21:41 +00:00
peter
1714855f8e * directoryexists added 2003-03-28 19:06:59 +00:00
armin
2d9ba86107 * more platform independent thread routines, needs to be implemented for unix 2003-03-27 17:14:27 +00:00
armin
8350d4d71a * forgot to initialize RootTree to nil in FreeTree 2003-03-27 12:52:10 +00:00
armin
fff0626008 * added wrapoff to avoid problems in the ide with some terminal emulators 2003-03-26 12:45:21 +00:00
armin
b99d1fd23a * Free the Tree in SysDoneKeyboard to avoid a lot of messages if heaptrace is enabled 2003-03-26 12:35:23 +00:00
michael
1333fe0f13 * stringtoppchar should use tabs instead of backspace as delimiter 2003-03-11 08:26:50 +00:00
marco
f66bd5288e * small changes originating from introduction of Baseunix to FreeBSD 2003-01-05 19:11:32 +00:00
peter
1ac1f644da * FileCreate(string,mode) overload added 2003-01-03 20:41:04 +00:00
marco
8ae88f9aa1 * small patch 2003-01-02 23:57:32 +00:00
marco
573ca876ac * Renamed to genfuncs.inc 2003-01-02 22:31:35 +00:00
peter
8d7bf4847c * replaced some Fp with Sys_ to get cycle working 2002-12-18 17:52:07 +00:00
marco
3e33642794 * Unix RTL generic parts. Linux working, *BSD will follow shortly 2002-12-18 16:50:39 +00:00
marco
193994c0a5 * New RTL. Linux system unit and baseunix operational. 2002-12-18 16:49:02 +00:00
peter
14c6ce1eb8 * small error code fixes so tdos2 passes 2002-12-08 16:05:34 +00:00
marco
5368a3596b * initial version, taken from bsdfunc.inc, since both linux and bsd use it 2002-11-14 12:20:30 +00:00
marco
5f620cd626 * syscall.inc -> syscallo.inc 2002-11-11 21:41:06 +00:00
carl
1d3e450412 * threadvar.inc -> threadvr.inc 2002-10-31 13:45:21 +00:00
marco
21fb7bbb50 * Only "difficult" functions + execvp + termios + rewinddir left to do 2002-10-27 17:21:29 +00:00
marco
13dfb6c1ce * Routines that certainly will be shared between Linux and *BSD 2002-10-27 13:16:54 +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
1a09dd0b09 * $I pthread.inc instead of pthreads.inc 2002-10-18 18:05:06 +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
michael
55d5428013 Threads renamed from threads to systhrds 2002-10-16 06:22:56 +00:00
peter
906b37ffa1 * remove threadh.inc include 2002-10-15 19:30:15 +00:00
peter
5fff238567 * threads unit added for thread support 2002-10-14 19:39:16 +00:00
peter
bf93b60f51 * use Unix unit 2002-10-14 18:37:15 +00:00
peter
1dd159277c * added initvariantmanager 2002-10-13 09:20:56 +00:00
peter
8f65e22f2f * Updates from the fixes branch 2002-09-15 17:52:30 +00:00
Jonas Maebe
c5eb27f475 * fixed buffer overflow error in StringToPPChar(), detected using
DIOTA (http://www.elis/rug.ac.be/~ronsse/diota) (which I also work on :)
    (merged)
2002-09-13 13:03:27 +00:00
peter
9f31783a0a * old logs removed and tabs fixed 2002-09-07 16:01:16 +00:00
florian
f2393f7316 * fixed line breaks 2002-09-02 19:46:37 +00:00
florian
c8a3171dc9 * several PC related fixes 2002-08-31 21:29:57 +00:00
florian
a0b13c1d2f * heap stuff for powerpc fixed 2002-08-13 18:11:08 +00:00
sg
62f2051d6f * serial ports are now set to raw mode 2002-08-06 13:31:50 +00:00
sg
a2b52783db * replaced some Longints with Cardinals, to mach the C headers
* updated the termios record
2002-08-06 13:30:46 +00:00
florian
5b4ccaedf6 + ppc implementation of heap functions added 2002-08-03 20:05:13 +00:00
florian
53a0b662b9 * several fixes to get further with linux/ppc system unit compilation 2002-07-29 21:28:16 +00:00
florian
7ac5c3743d * several fixes for linux/powerpc
* several fixes to MT
2002-07-28 20:43:47 +00:00
marco
5ce2af2aaf * Fix for corrupt color-attr after some ACS-mode changes. (Pierre, Strassbourg
meeting)
2002-07-06 16:50:17 +00:00
peter
71a1ae2136 * sLineBreak changed to normal constant like Kylix 2002-07-01 16:29:05 +00:00
marco
9fb1b5377c * more Renamefest 2002-05-31 13:37:24 +00:00
carl
280878b8a5 + initialize some global variables 2002-04-21 15:52:58 +00:00
carl
7d6edd04b2 + generic stack checking 2002-04-12 17:34:05 +00:00
peter
58218bf81f * Regenerated with updated fpcmake 2002-03-11 19:10:28 +00:00
michael
1f2801b1ab + Forgot to patch linux.pp 2002-03-06 11:34:04 +00:00
michael
bd8a7a628a + Patch from Sebastian for FCNTL call 2002-03-05 20:04:25 +00:00
peter
1e06fb59d9 * adjust backspace sequence so it works according to the latest
XFree xterms and linux consoles
2002-03-03 13:23:51 +00:00
peter
24fdea1ad0 * merged filesearch() fix 2002-01-25 16:23:03 +00:00
marco
4c315e6db0 * Removed ifdef arround getepoch. 2002-01-02 12:22:54 +00:00
peter
21a8c2cc8e * merged fixes from 1.0.x 2001-12-26 21:03:56 +00:00
peter
a2be264e11 * merged fixes from 1.0 2001-12-02 17:21:25 +00:00
marco
9d59d06fd1 * TTYname fix from Maarten Beekers. Apparantly accidentally not commited the first time. 2001-11-30 07:16:41 +00:00
Jonas Maebe
5422994cdb * fixed libvga_ClrViewProc (it didn't reset the coords to (0,0))
(merged)
2001-11-19 14:00:16 +00:00
Jonas Maebe
97114d80ee * fixed libvga_ClrViewProc (it didn't reset the coords to (0,0))
(merged)
2001-11-19 13:56:57 +00:00
marco
94d9d8fe46 * Fixed a ifdef linux to ifdef unix (related to TRTL change) 2001-11-08 13:56:35 +00:00
michael
3605a8a096 + Added exit status examining functions 2001-11-05 21:46:06 +00:00
Jonas Maebe
0ee8ff51b5 * fixed TUnixSockAddr (array from 0..108 -> 0..107) (merged) 2001-11-05 09:06:40 +00:00
peter
36bafdc7aa * added 64bit fileseek 2001-10-25 21:23:49 +00:00
peter
5d62342562 * criticalsection renamed to rtlcriticalsection for kylix compatibility 2001-10-23 21:51:02 +00:00
marco
13132aa761 * Moved to unix/ since there is nothing linux specific about it. 2001-10-17 10:27:47 +00:00
peter
4c26674c00 * start of thread support for linux 2001-10-14 13:33:20 +00:00
michael
e68b5a2ae4 + Removed defaultmode field from driver 2001-10-13 12:59:46 +00:00
peter
9d93d0d4e3 * pollkey fixes (merged) 2001-10-12 16:03:15 +00:00
michael
30ef883342 + Merged video mode selection/setting system 2001-10-06 22:28:24 +00:00
peter
a73a9ed56e * erase(directory) returns now 2 to be tp compatible 2001-09-30 21:10:20 +00:00
peter
ef0a68a972 * Fixed passing of command without parameters to Exec() to not include
a space after the executable name
2001-09-22 11:17:13 +00:00
michael
29c840668a + Merged driver support for mouse from fixbranch 2001-09-22 00:01:42 +00:00
michael
1321a73ce1 + Merged driver support from fixbranch 2001-09-21 21:33:35 +00:00
michael
148dbc6022 + Merged driver support from fixbranch 2001-09-21 19:50:18 +00:00
peter
9b38d0fadb * merged fixes 2001-09-17 21:36:31 +00:00
peter
d1e24959d7 * v10 merges 2001-08-30 20:55:08 +00:00
peter
367e1988a9 * Range check fix with epoch (merged) 2001-08-12 18:05:19 +00:00
peter
0b45a6695d * m68k merges 2001-08-05 12:24:20 +00:00
peter
2cade09e9f * unpush key fix 2001-08-04 11:05:21 +00:00
peter
3e41bf3597 * Regenerated 2001-08-02 20:55:49 +00:00
peter
36929fc0ce * m68k warning fix (merged) 2001-08-01 21:42:05 +00:00
peter
eaa720a4ff * make tchattr record endian dependant (merged) 2001-07-31 19:33:46 +00:00
peter
b32576f723 * reset winminx,winminy to 1 2001-07-30 21:53:53 +00:00
peter
e7c86006db * m68k updates merged 2001-07-30 21:38:54 +00:00
marco
aa344936d1 * Some small detail fixes for Solaris 2001-07-16 20:27:30 +00:00
marco
912fae0d76 * A small note, copied from the Solaris patch. Do_close needs errnotoiores? 2001-07-16 19:51:36 +00:00
peter
9663f60c00 * merged m68k updates 2001-07-15 11:57:16 +00:00
peter
e5add358e2 * cygwin updates 2001-07-13 22:05:02 +00:00
marco
8c8e53ffa0 * Fixes to the FreeBSD compability of the datetime patches 2001-07-12 12:42:39 +00:00
michael
6e4906ff87 + Added setdate/time/datetime functions 2001-07-12 07:20:05 +00:00
peter
5c0d161bef * merged textfile, readlink and concat ansistring fixes 2001-07-10 18:04:37 +00:00
peter
49481a0c63 * v10 merges 2001-06-27 21:37:36 +00:00
peter
382ddb52ed * support large screens 2001-06-27 20:21:46 +00:00
marco
a1fb03fd7c * readlink for Unix fix. 2001-06-20 15:24:47 +00:00
marco
c31447c70a * Again uncommented readlink. Merges or typo, I dunno 2001-06-19 17:19:50 +00:00