florian
710dbcef0a
+ classes.mainthreadid is set now
...
+ rtleventresetevent
+ rtleventwairfor with timeout
+ checksynchronize with timeout
* race condition in synchronize fixed
2005-04-09 17:26:08 +00:00
peter
234df84b11
* use smallint
2005-04-04 16:13:09 +00:00
Tomas Hajny
d3c103dfd7
* EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug #2453 )
2005-04-03 21:10:59 +00:00
florian
d18746bd15
* proper error message if the cthreads unit is included too late
...
uses clause
2005-04-03 19:29:28 +00:00
Jonas Maebe
b59e60b295
* removed unused variable
2005-03-25 23:01: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
florian
a5ed208457
* first working version
2005-03-17 19:11:04 +00:00
florian
a0eae3d6e8
+ ansi<->wide implemented using iconv
2005-03-16 22:26:12 +00:00
Jonas Maebe
9169aa60cb
* fix from mischi to fix extra spaces under some terminals
2005-03-16 18:17:23 +00:00
peter
df057f7550
* return doserror=2 if path is empty in exec()
2005-03-15 16:53:52 +00:00
Jonas Maebe
84d53b7ec9
* endianess fixes from mischi
2005-03-15 09:20:11 +00:00
florian
02482feeab
* indention fixed
2005-03-13 19:17:14 +00:00
florian
02c6c9abcc
+ floating point c types added
2005-03-13 10:05:13 +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
florian
7fef413b69
+ SysLocale
2005-02-26 14:38:14 +00:00
florian
6d75534cfb
* final fix for linux (hopefully)
2005-02-25 22:10:27 +00:00
florian
98106e588c
* another "transfer to linux"-commit
2005-02-25 22:02:46 +00:00
florian
69037eaef3
* "transfer to linux"-commit
2005-02-25 21:52:07 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
peter
f4011dabba
* solaris updates
2005-02-14 16:32:41 +00:00
peter
852c88686f
* new files
2005-02-13 22:14:36 +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
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
florian
ca6c0e3688
+ added some missing c types
2005-02-05 23:02:37 +00:00
michael
d3e14a13b0
+ Fix for compilation with version 1.0.10
2005-02-05 20:07:19 +00:00
marco
ba9a61a95e
* FreeBSD ioperm fixes backported from 1.0
2005-02-05 10:44:01 +00:00
marco
b5114bfed2
* regvars problem fixed
2005-02-05 08:42:24 +00:00
florian
8f571abbb9
+ infrastructure for WideCompareText implemented
2005-02-03 18:40:50 +00:00
florian
4f7560d89e
* improved widestring infrastructure manager
2005-02-01 20:22:49 +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
b28fd2f6b9
* move gpm.pp to linux
2005-01-30 18:00:28 +00:00
michael
ac5c742443
+ Patch for intFpExecVEMaybeP to use the right path (From Colin Western)
2005-01-22 20:56:11 +00:00
marco
b5c45c24f8
* fpumask
2004-12-31 14:27:49 +00:00
florian
080ed4548f
* fixed raw mode for non i386 targets
...
* fixed some alignment issues
2004-12-28 15:30:04 +00:00
marco
e12796a400
* tthread patch from neli
2004-12-28 14:20:03 +00:00
florian
49c3697fbf
* uses now CFMakeRaw
2004-12-28 12:46:11 +00:00
marco
cb75ebda02
* checksynchronize now in interface win32 uses the default impl.
...
unix uses systhrds, rest empty implementation.
2004-12-27 15:28:40 +00:00
peter
90f0593a8d
* restore rawmode only if not redirected
2004-12-26 16:15:44 +00:00
peter
9bc5c71ed9
* cursorx,cursory 0 based, fixes 3468
2004-12-26 12:22:05 +00:00
michael
0b667efe9b
+ Fixed tmt1 test bug
2004-12-23 20:20:30 +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
0db4315ea9
* rtlevent kraam. Checked (compile): Linux, FreeBSD, Darwin, Windows
...
Check work: ask Neli.
2004-12-22 21:29:24 +00:00
marco
d99267e326
* fpgettimeofday moved from baseunix to unix
2004-12-22 13:53:51 +00:00
michael
da99d06e96
+ Removed maybelibc macro
2004-12-21 09:48:14 +00:00
michael
9701081657
+ Added mode field to TSearchRec for Kylix compatibility
2004-12-19 18:03:29 +00:00
michael
d73472e2e3
+ Patch from Michalis Kamburelis so FSearch does not find a directory
2004-12-18 16:29:09 +00:00
peter
64cd72bc5a
* x86_64 updates
2004-12-12 14:30:27 +00:00
michael
fbb13b5266
+ Added GetEnvironmentVariableCount and GetEnvironmentString calls
2004-12-11 11:32:44 +00:00
Tomas Hajny
433df6f69f
* compilation fix for dosh.inc changes
2004-12-05 21:04:56 +00:00
Tomas Hajny
ca4d769412
* compilation fix for dosh.inc changes
2004-12-05 20:33:32 +00:00
Tomas Hajny
e1252e7302
* GetMsCount added, platform independent routines moved to single include file
2004-12-05 16:44:43 +00:00
Tomas Hajny
d0191eaa3c
* common implementation of unit printer - fix for bug #3421
2004-12-05 11:21:46 +00:00
marco
0d1d1a2c1b
* fpsettimeofday.
2004-12-02 18:24:35 +00:00
Jonas Maebe
8577978556
* fixed invalid type conversion
2004-11-25 12:18:35 +00:00
Jonas Maebe
519c40221b
+ getcwd declaration
2004-11-23 13:33:55 +00:00
michael
e5e7099892
+ Added overloaded functions
2004-11-23 08:40:34 +00:00
peter
b7d7736352
* fixed bootstrap with 1.0.10 and 1.9.4
2004-11-21 11:28:21 +00:00
marco
d3cb19214b
* external rework. Mostly done.
2004-11-19 13:15:14 +00:00
marco
8d238cd712
* resolution of now increased to ms
2004-11-14 15:10:44 +00:00
marco
42404cd68e
* moved some calls from unix to baseunix. Darwin untested.
2004-11-14 12:21:08 +00:00
peter
dc5a88c813
* mouse works again
2004-11-06 20:06:19 +00:00
marco
139913d009
* getenv had ansistring as param due to {$H+} now shortstring.
2004-11-06 17:24:07 +00:00
peter
1cf9137930
* fixed valgrind issues
2004-11-03 16:51:05 +00:00
marco
b903ce5a9a
* Pathstr eliminated
2004-11-03 15:00:43 +00:00
florian
efc6c7793e
* fixed baseunix.signal for CPU using rt_sigaction
...
* fixed it for x86_64 too
2004-11-02 14:49:48 +00:00
marco
07adf4e83d
* timezone stuff back to unix
2004-11-02 13:59:42 +00:00
peter
e7b4c63e99
* fixed uninitialzied local
2004-11-02 09:37:35 +00:00
peter
0c80377ca8
* 1.0.x bootstrap fix
2004-11-01 07:10:56 +00:00
olle
4478f72279
* Fix for FPC_USE_LIBC
2004-10-31 22:25:31 +00:00
marco
edce157b2a
* cdecl for FPC_USE_LIBC
2004-10-31 18:49:02 +00:00
marco
63335fbc10
* FPC_USE_LIBC fixes
2004-10-31 17:11:52 +00:00
peter
5ef188da6f
* remove sysutils
2004-10-31 16:20:58 +00:00
marco
2ea12e0083
* more commits from unix interface cleanup
2004-10-30 21:18:23 +00:00
marco
780ba784d6
* unix interface cleanup
2004-10-30 20:55:54 +00:00
marco
3f15c310d7
*** empty log message ***
2004-10-27 04:22:29 +00:00
marco
2f4ba80e7b
* cvs log and extra endif
2004-10-27 04:22:04 +00:00
marco
f1e1a829ce
* time routines extracted
2004-10-27 04:15:42 +00:00
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
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