marco
411e2359eb
* Fixed 2.0.0 compilation
...
git-svn-id: trunk@1346 -
2005-10-09 21:29:01 +00:00
marco
f054a6df16
* nanosleep for sleep(), since it is now in the POSIX group.
...
git-svn-id: trunk@1341 -
2005-10-09 11:41:57 +00:00
Jonas Maebe
e68436cfda
* fixed ttyname()
...
git-svn-id: trunk@1310 -
2005-10-07 09:36:35 +00:00
peter
9ea69cfec9
* fix isatty return value checks
...
git-svn-id: trunk@1292 -
2005-10-05 06:50:16 +00:00
peter
6499d65c39
* fixed compilation with 2.0.x
...
git-svn-id: trunk@1223 -
2005-09-29 06:26:02 +00:00
marco
73e81ac45a
* inlined few procs. Didn't inline makeraw since that triggers inline WITH bug.
...
git-svn-id: trunk@1221 -
2005-09-28 20:59:20 +00:00
marco
430cb886e3
* {$inline on in baseunix and some inlines in bunxovlh while I was at it
...
git-svn-id: trunk@1220 -
2005-09-28 20:31:24 +00:00
florian
a78703fb5a
* fixed FPC_USE_LIBC on linux
...
git-svn-id: trunk@1218 -
2005-09-28 19:30:55 +00:00
florian
7626a64e35
+ *stat wrappers for linux
...
git-svn-id: trunk@1213 -
2005-09-27 21:10:55 +00:00
florian
6e2a771c41
* Ansi2Wide inserts ? for unknown chars
...
* better error reporting
git-svn-id: trunk@1189 -
2005-09-25 15:04:35 +00:00
florian
a897adf6cc
* try to unlock mutex before destroying it
...
git-svn-id: trunk@1186 -
2005-09-25 14:27:15 +00:00
florian
bb26084a0f
+ UCS4StringToWideString
...
+ WideStringToUCS4String
+ locale sensitive comparing of widestrings on unix
git-svn-id: trunk@1142 -
2005-09-19 19:13:03 +00:00
florian
66e8097281
* made HMODULE a PtrInt on unix, this is compatible with the other platforms
...
git-svn-id: trunk@1104 -
2005-09-17 22:49:42 +00:00
florian
ee9862d231
+ signal hooking dummies
...
git-svn-id: trunk@1103 -
2005-09-17 22:21:30 +00:00
florian
b245075bb3
* unix: faSymLink
...
* unix: TSearchRec.PathOnly
git-svn-id: trunk@1101 -
2005-09-17 20:05:04 +00:00
florian
63ed93fc24
* fixed previous commit
...
git-svn-id: trunk@1050 -
2005-09-04 14:08:21 +00:00
florian
629fc8fe64
+ StrCompAnsi implementation
...
git-svn-id: trunk@1049 -
2005-09-04 13:49:23 +00:00
michael
03f441c966
+ Initial check-in
...
git-svn-id: trunk@973 -
2005-08-29 07:38:56 +00:00
marco
287e8317a6
* apparantly broke linux since iconv is in glibc there, fixed + some minor gotchas
...
git-svn-id: trunk@806 -
2005-08-06 20:20:19 +00:00
marco
c90da53c9f
* more darwin fixes. Export to libiconv not iconv
...
git-svn-id: trunk@805 -
2005-08-06 17:11:08 +00:00
marco
40ff86dd59
* Darwin fixes. Untested on Darwin yet. (adding lib + name to external statements)
...
git-svn-id: trunk@804 -
2005-08-06 15:35:12 +00:00
marco
801428838f
* FreeBSD cwstring support
...
git-svn-id: trunk@802 -
2005-08-06 13:33:36 +00:00
florian
4ad7eac915
* fixed setting of WindMax*/WindMin*, fixes 4212
...
git-svn-id: trunk@801 -
2005-08-06 11:17:49 +00:00
florian
e473858821
* fixed setting of widestringmanager
...
--Ths line, and those below, will be ignored--
M rtl/unix/cwstring.pp
git-svn-id: trunk@790 -
2005-08-04 18:52:16 +00:00
marco
1c9e6e4a24
* Fixed tzseconds problem. I hope.
...
git-svn-id: trunk@788 -
2005-08-04 06:36:35 +00:00
peter
b0e5f64091
* call uniquestring before calling stringtoppchar
...
git-svn-id: trunk@709 -
2005-07-20 07:11:55 +00:00
Jonas Maebe
437f35315c
* fixed datetime related routines for unix
...
git-svn-id: trunk@444 -
2005-06-19 14:49:37 +00:00
Jonas Maebe
828eebe984
* cwstring fixed and activated for Darwin
...
git-svn-id: trunk@407 -
2005-06-14 18:30:05 +00:00
michael
d2d33c03fb
+ Added missing FileSetDate call
...
git-svn-id: trunk@403 -
2005-06-14 11:46:31 +00:00
michael
859bb30daa
+ Removed HASTHREADVAR SUPPORT_THREADVAR defines
...
git-svn-id: trunk@295 -
2005-06-09 17:40:29 +00:00
florian
6992fde8fc
* patch from Ales to Katona to change some var parameters to out
...
parameters
git-svn-id: trunk@292 -
2005-06-09 07:42:40 +00:00
florian
84958dd3d9
* fixed compilation on x86-64
...
git-svn-id: trunk@291 -
2005-06-08 21:05:57 +00:00
michael
a44d5f5c13
+ Removed HASGLOBALPROPERTY define
...
git-svn-id: trunk@247 -
2005-06-07 20:52:42 +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
f1a2ef1db2
* don't detach thread when finished, but pthread_exit it
...
(so it can be joined)
git-svn-id: trunk@184 -
2005-06-03 21:05:14 +00:00
Tomas Hajny
d035b0c0d3
* fix for range error on some platforms
...
git-svn-id: trunk@178 -
2005-06-03 04:52:24 +00:00
michael
0882b637a4
* Patch from Ing. Petr Kristan
...
- Add dlerror() to dl unit
- Add CurValue to TField in db.pp
- Add TCurrencyfield to db.pp
- Add TDataset.IslinkedTo to db.pp
- Add ShellExecuteEx call to shellapi
git-svn-id: trunk@167 -
2005-06-01 16:16:35 +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
michael
99658cf4d6
+ Implementation of CreateGUID
...
git-svn-id: trunk@27 -
2005-05-19 17:31:25 +00:00
peter
b68af1b0e3
* post 2.0.0 fixes from cvs
...
git-svn-id: trunk@7 -
2005-05-16 20:59:02 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
Tomas Hajny
77d16a7ad9
* TextMode parameter type changed to word for TP/BP compatibility
2005-05-14 15:01:49 +00:00
michael
2e48181661
+ Added maxpathlen constant (maximum length of filename path)
2005-05-12 20:29:04 +00:00
florian
4aa4aeae79
+ TThreadID
2005-04-13 20:10:50 +00:00
florian
90a26e0f7d
* fixed some unix stuff
2005-04-09 18:45:43 +00:00
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