Commit Graph

26 Commits

Author SHA1 Message Date
Michael VAN CANNEYT
ccfa38c68e * Dotted RTL compiles 2023-07-27 19:04:03 +02:00
Michael VAN CANNEYT
57353df68f * Char -> AnsiChar 2023-07-14 17:26:09 +02:00
pierre
db00b1e554 Fix two obvious compilation errors
git-svn-id: trunk@36831 -
2017-08-04 12:26:24 +00:00
Tomas Hajny
b7de70422f * fix for bug #24504 (extended version of patch by Bart Broersma)
git-svn-id: trunk@34849 -
2016-11-08 22:16:49 +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
peter
f4f3ae84d0 * AllowDirectorySeparators and AllowDriveSeparators typed constants
added to allow customization of path and directory parsing in the rtl
  * Use the new sets instead of the hardcoded / and \

git-svn-id: trunk@10105 -
2008-01-29 23:04:56 +00:00
michael
859bb30daa + Removed HASTHREADVAR SUPPORT_THREADVAR defines
git-svn-id: trunk@295 -
2005-06-09 17:40:29 +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
e417e34496 * truncate log 2005-02-14 17:13:06 +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
b1e636e4f9 * Exec cleanup 2004-03-21 20:35:24 +00:00
Tomas Hajny
42490a4c63 * exec fix 2004-03-08 22:31:00 +00:00
Tomas Hajny
09fd537acf * lots of fixes (regcall, THandle, string operations in sysutils, longint2cardinal according to OS/2 docs, dosh.inc, ...) 2004-02-22 15:01:49 +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
04a8acc442 * overloaded ExecuteProcess added, EnvStr param changed to longint 2004-02-15 21:26:36 +00:00
michael
6571f6a7e5 + Switched to single interface in dosh.inc 2004-02-09 12:03:16 +00:00
Tomas Hajny
ac8870b489 * regcall fixes 2003-12-26 22:20:44 +00:00
Tomas Hajny
7adcc315bc * file handling related fixes 2003-10-25 22:45:37 +00:00
Tomas Hajny
8ebff2e7fc * stdcall fixes and asm routines cleanup 2003-10-07 21:33:24 +00:00
Tomas Hajny
2200cb4d8e * stdcall changes merged to EMX 2003-10-04 17:53:08 +00:00
yuri
9fa3c4ed0e * pmbidi added
* some cosmetic changes
2003-06-26 17:12:29 +00:00
Tomas Hajny
8e7124f9f8 + emx target added 2003-03-23 23:11:17 +00:00
Tomas Hajny
f95d795858 * GetEnv fix merged from os2 target 2002-12-15 22:50:29 +00:00
Tomas Hajny
99d12084db + RTL for emx target 2002-11-17 16:22:53 +00:00