Commit Graph

20 Commits

Author SHA1 Message Date
Pierre Muller
2c622e2fe6 * rtl/macos/dos.pp: Remove unused unixutil in _USES clause of rtl/macos/dos.pp source.
* rtl/macos/Makefile.fpc: Update dependency list DOS_DEPS: remove unixutil and add missing macostp.

* rtl/macos/Makefile: Regenerate.
2024-01-09 11:42:18 +01:00
Michael VAN CANNEYT
ccfa38c68e * Dotted RTL compiles 2023-07-27 19:04:03 +02:00
Michael VAN CANNEYT
810f54ac07 * Char -> AnsiChar 2023-07-14 17:26:09 +02:00
Károly Balogh
4e845f12cb macos: made the RTL build completely pass through at least on the pascal level, without assembling
git-svn-id: trunk@36888 -
2017-08-12 21:02:14 +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
olle
0fde736720 fixed support for filenames with spaces in exec
git-svn-id: trunk@1738 -
2005-11-13 20:56:40 +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
olle
1595efd65b * SetFAttr now fails on attempt to set VolumeID 2005-04-03 22:16:02 +00:00
olle
d4b4756c01 + Added optional path translation mechanism 2005-03-20 19:37:31 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
olle
6e6527e46b * rearrangement of FEXPAND code
* added StrPas where necessary after compiler change
2005-01-24 18:40:08 +00:00
olle
4adda1b1d8 * minor fix 2004-12-28 01:33:19 +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
027bbcd67f * one more define added for shared fexpand (still conditional) 2004-09-12 13:00:55 +00:00
olle
3429e0068a + added support for Exec via AppleEvents - Toolserver 2004-08-20 10:20:12 +00:00
olle
3f4eb52fec * envstr now returns empty string when index out of bounds 2004-07-25 22:46:14 +00:00
olle
a01ae11431 + New unit dos.pp for Mac OS 2004-06-21 19:24:06 +00:00