Pierre Muller
0f0454a092
Modify references to old syslinux unit in comments
2023-09-19 21:53:26 +00:00
Michael VAN CANNEYT
ccfa38c68e
* Dotted RTL compiles
2023-07-27 19:04:03 +02:00
Michael VAN CANNEYT
6084bb6d09
* Some forgotten string -> shortstring instances
2023-07-14 20:13:43 +02:00
Michael VAN CANNEYT
6ffa3d4a89
* Char -> AnsiChar
2023-07-14 17:26:09 +02:00
ondrej
63beb1e83a
* revert r47532, r47527 (use timezone information from fpgettimeofday) because they are not available on all Linux distributions
...
git-svn-id: trunk@47541 -
2020-11-23 15:17:52 +00:00
ondrej
f5a95782a9
* use timezone information from fpgettimeofday for getting local datetime
...
git-svn-id: trunk@47527 -
2020-11-22 15:39:37 +00:00
ondrej
f4cff81881
LocalToEpoch, EpochToLocal: fix for arbitrary datetime
...
git-svn-id: trunk@47291 -
2020-11-03 14:27:07 +00:00
marco
66608fec02
* unicode executeprocess from work during Lazarus convention in IJsselstein
...
git-svn-id: trunk@33290 -
2016-03-19 17:59:42 +00:00
michael
8196427ca6
* Patch from Bernd to fix SedDateTime (wrong tv_usec values, bug ID #27969 )
...
git-svn-id: trunk@30728 -
2015-04-26 08:43:47 +00:00
Jonas Maebe
df6a2dce00
+ unicodestring support for assign/erase/rename
...
+ codepage support for textrec/filerec and the above routines
* textrec/filerec now store the filename by default using widechar. It is
possible to switch back to ansichars using the FPC_ANSI_TEXTFILEREC define.
In that case, from now on the filename will always be stored in
DefaultFileSystemEncoding
* fixed potential buffer overflows and non-null-terminated file names in
textrec/filerec
+ dodirseparators(pwidechar), changed the dodirseparators(pchar/pwidechar)
parameters into var-parameters and gave those routines an extra parameter
that indicates whether the p(wide)char can be changed in place if
necessary or whether a copy must be made first (avoids us having to make
all strings always unique everywhere, because they might be changed on
some platforms via a pchar)
* do_open/do_erase/do_rename got extra boolean parameters indicating whether
the passed pchars point to data that can be freely changed (to pass on to
dodirseparators() if applicable)
* objects.pp: force assign(pchar) to be called, because
assign(array[0..255]) cannot choose between pchar and rawbytestring
versions (and removing the pchar version means that assign(pchar) will
be mapped to assign(shortstring) in {$h-})
* fixed up some routines in other units that depend on the format of
the textrec/filerec.name field
git-svn-id: branches/cpstrrtl@25137 -
2013-07-19 16:30:51 +00:00
marco
b822371d41
* add platform modifiers to all locally defined functions in unix' dos unit.
...
git-svn-id: trunk@22069 -
2012-08-13 10:14:07 +00:00
Jonas Maebe
f7003119d0
* fixed AddDisk() in sysutils and dos units, and fixed memory leaks
...
related to this functionality, based on analysis/patch by Michael
Kamburelis (mantis #9985 )
git-svn-id: trunk@12814 -
2009-02-27 22:02:24 +00:00
daniel
f77150fa71
* Fix another bug found by new hint.
...
git-svn-id: trunk@7819 -
2007-06-26 08:24:09 +00:00
marco
58e3f8ad0d
* more deprecated fixes
...
git-svn-id: trunk@7718 -
2007-06-17 20:31:08 +00:00
daniel
5acd85f447
* Revert 6964
...
git-svn-id: trunk@7000 -
2007-03-25 17:55:47 +00:00
daniel
8127fb7a05
* Switch to classic field names to prevent further messing with compatibility.
...
git-svn-id: trunk@6964 -
2007-03-23 22:35:12 +00:00
micha
d704af7216
fix compilation for {$T+} linux/win
...
git-svn-id: trunk@4794 -
2006-10-04 20:43:55 +00:00
michael
e73bc0b772
+ Made AddDisk a function, returning the current number of drives.
...
git-svn-id: trunk@3816 -
2006-06-06 20:54:21 +00:00
Jonas Maebe
23b5138f78
+ telldir returns a TOff, change searchpos for findfirst/next in Dos from
...
longint into TOff
git-svn-id: trunk@2652 -
2006-02-20 11:00:40 +00:00
marco
1c9e6e4a24
* Fixed tzseconds problem. I hope.
...
git-svn-id: trunk@788 -
2005-08-04 06:36:35 +00:00
fpc
790a4fe2d3
* log and id tags removed
...
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
peter
df057f7550
* return doserror=2 if path is empty in exec()
2005-03-15 16:53:52 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
peter
ae8b7b153b
* include file cleanup
2005-02-13 20:01:37 +00:00
michael
d73472e2e3
+ Patch from Michalis Kamburelis so FSearch does not find a directory
2004-12-18 16:29:09 +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
marco
0d1d1a2c1b
* fpsettimeofday.
2004-12-02 18:24:35 +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
780ba784d6
* unix interface cleanup
2004-10-30 20:55:54 +00:00
peter
1bc2f4c97f
* remove strpas() before syscalls so it chooses the pchar overload
2004-09-25 15:09:57 +00:00
florian
f46756e96b
* alignment for sparc fixed
2004-08-14 14:22:17 +00:00
olle
3f4eb52fec
* envstr now returns empty string when index out of bounds
2004-07-25 22:46:14 +00:00
peter
682b148f4c
* reset searchrec info in findfirst
2004-03-14 18:42:39 +00:00
marco
93622ec2e8
* UnixType changes. Please report problems to me.
2004-03-04 22:15:16 +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
Tomas Hajny
601f2e02ce
* overloaded ExecuteProcess added, EnvStr param changed to longint
2004-02-15 21:34:06 +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
florian
3f868d2e42
* packing of searchrec for arm fixed
2004-01-31 16:15:14 +00:00
Jonas Maebe
4ff098fc7a
* fixed setftime (sorry Marco :)
2003-12-29 21:15:04 +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
marco
0c999e0c9b
* threads for FreeBSD. Not working tho
2003-11-17 10:05:51 +00:00
olle
527a79b0dc
* changed i386 to cpui386
2003-10-17 22:10:30 +00:00