Jonas Maebe
5e694a801e
* use vfork instead of fork for popen and one variant of executeprocess
...
if USE_VFORK is defined (currently only if both BSD and FPC_USE_LIBC
are defined). Speeds up the compilation of the compiler under Darwin
by 20-25% (the larger the project, the bigger the speedup).
git-svn-id: trunk@2317 -
2006-01-21 20:19:19 +00:00
daniel
3758d106fe
* remove command about quotes in array version of executeprocess, which doesn't
...
apply there
git-svn-id: trunk@2080 -
2005-12-30 09:19:23 +00:00
michael
59d3cd95a8
+ Patch from Michalis Kamburelis to implement correct config dir, following basedir-spec
...
git-svn-id: trunk@1719 -
2005-11-10 20:40:11 +00:00
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
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
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
michael
d2d33c03fb
+ Added missing FileSetDate call
...
git-svn-id: trunk@403 -
2005-06-14 11:46:31 +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
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
99658cf4d6
+ Implementation of CreateGUID
...
git-svn-id: trunk@27 -
2005-05-19 17:31:25 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +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
7fef413b69
+ SysLocale
2005-02-26 14:38:14 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
michael
9701081657
+ Added mode field to TSearchRec for Kylix compatibility
2004-12-19 18:03:29 +00:00
michael
fbb13b5266
+ Added GetEnvironmentVariableCount and GetEnvironmentString calls
2004-12-11 11:32:44 +00:00
marco
8d238cd712
* resolution of now increased to ms
2004-11-14 15:10:44 +00:00
marco
139913d009
* getenv had ansistring as param due to {$H+} now shortstring.
2004-11-06 17:24:07 +00:00
marco
07adf4e83d
* timezone stuff back to unix
2004-11-02 13:59:42 +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
780ba784d6
* unix interface cleanup
2004-10-30 20:55:54 +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
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
michael
6bf44ccc0f
Added getappconfig calls
2004-08-05 07:28:37 +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
michael
c89660006d
+ Fixed Globtosearchrec to use unixtowinage
2004-06-15 07:36:03 +00:00
michael
94ed600e1e
+ Fixed FindFirst/FindNext so it treats the attributes correctly
2004-05-22 14:25:03 +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
3896b0fe05
* small fix for NIL arg ptr in first executeprocess
2004-04-20 18:24:32 +00:00
marco
93622ec2e8
* UnixType changes. Please report problems to me.
2004-03-04 22:15:16 +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
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
michael
dc953332cd
+ Added fileIsReadOnly
2004-02-08 14:50:51 +00:00
michael
71f7e0928b
+ Implemented getlastoserror
2004-02-08 11:01:17 +00:00
Tomas Hajny
e0f9297e01
* ExecuteProcess fixes, ProcessID and ThreadID added
2004-01-20 23:05:31 +00:00
michael
67d7dcdc91
+ Implemented sleep() on Unix.
2004-01-10 17:34:36 +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
marco
aeaf3e9d2c
* Unix exec(ansistring)
2004-01-03 09:09:11 +00:00
michael
de16dcff56
+ Some fixes to have everything compile again
2003-11-26 20:34:19 +00:00
marco
0c999e0c9b
* threads for FreeBSD. Not working tho
2003-11-17 10:05:51 +00:00
Tomas Hajny
57538cb669
* THandle in sysutils common using System.THandle
2003-10-25 23:42:35 +00:00
marco
cdf26af82b
* fix from Vincent to casetables
2003-10-07 08:28:49 +00:00
peter
456025ad0a
* fpISxxx macros renamed to C compliant fpS_ISxxx
2003-09-27 12:51:33 +00:00
marco
34058dd741
* more fixes for Unix<->unixutil
2003-09-17 19:07:44 +00:00
marco
e20f244f70
* Uses more baseunix, less unix now
2003-09-17 12:41:31 +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
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
peter
1ac1f644da
* FileCreate(string,mode) overload added
2003-01-03 20:41:04 +00:00
peter
9f31783a0a
* old logs removed and tabs fixed
2002-09-07 16:01:16 +00:00
peter
24fdea1ad0
* merged filesearch() fix
2002-01-25 16:23:03 +00:00
peter
36bafdc7aa
* added 64bit fileseek
2001-10-25 21:23:49 +00:00
peter
13448762f6
* FSStat to StatFS
...
* StatFS structure to TStatFS
2001-06-03 20:19:09 +00:00
peter
47a24b5da6
* eoutofmemory and einvalidpointer fix
2001-06-03 15:18:01 +00:00
peter
736a92a945
* always test before commiting after merging, linux -> unix change
2001-02-20 22:19:38 +00:00
peter
36e5967c3b
* merged getenvironmentvariable
2001-02-20 22:14:19 +00:00
marco
738f0589d6
* Rename fest II. Rtl OK
2001-01-21 20:21:40 +00:00
peter
679b2ec5e4
* merged fixes from 1.0.x
2000-12-28 20:50:04 +00:00
Jonas Maebe
75bdddea4d
* fixed constant range error
2000-12-18 14:01:42 +00:00
michael
ddcef2aeaa
+ merged fix for findfirst/findnext/findclose
2000-11-28 20:06:12 +00:00
marco
e5c42e6704
* Global Linux +bsd to (rtl/freebsd rtl/unix rtl/linux structure)
2000-09-18 13:14:49 +00:00