The sources of the Free Pascal compiler, RTL, packages and utilities. See https://www.freepascal.org/ for more info.
Go to file
Jonas Maebe b08d8091b2 * made fexpand unicodestring-safe (use charinset instead of "in" --
"widechar in set" compiles, but results in a runtime conversion of
    the widechar into an ansistring and then getting the first character
    of that ansistring, which is horribly slow -- and Delphi-incompatible,
    but introduced a long time ago because of bug #7758)
  * replaced all "in" operations in sysutils fina.inc with CharInSet for
    the same reason
  * replaced all "string" declarations in finah.inc/fina.inc with "PathStr"
    and "pchar" with "PathPChar", and include them twice in sysutilh.inc/
    sysutils.inc, once with PathStr=UnicodeString/PathPChar=PWideChar and
    once with PathStr=AnsiString/PathPChar=PAnsiChar (not rawbytestring
    because there are several routines with var-parameters and then the
    string type has to match exactly; the "rtlproc" modifier could circumvent
    this, but should be used sparingly, and additionally the routine's
    internals would then first also have to be reviewed to ensure that at
    no point they start mixing in strings with the defaultsystemcodepage
    (e.g. directory separators) without first adjusting their codepage)
  * call GetShortPathNameA or GetShortPathNameW in ExtractShortPathName on
    Windows depending on whether we are parsing the RawByteString/UnicodeString
    version of fina.inc
  + ExpandUNCFileName(unicode) version for Windows, let its
    ExpandUNCFileName(ansistring) call the unicode version (avoid data loss
    due to ansi conversion) and convert the result to
    DefaultRTLFileSystemCodePage (to have no more data loss than what's
    specified by the user)

git-svn-id: branches/cpstrrtl@24999 -
2013-06-27 21:38:10 +00:00
compiler * prefer "constant string" -> pwidechar for {$modeswitch unicodestrings} 2013-06-27 21:38:02 +00:00
ide Fix compilation failure if DEBUG conditional is set, which needs regexpr package 2013-06-09 08:31:58 +00:00
installer Regenerate all Makefiles with an up-to-date fpcmake binary 2013-04-29 12:38:48 +00:00
packages Fix error in script about check if C compiler is GNU 2013-06-17 08:18:30 +00:00
rtl * made fexpand unicodestring-safe (use charinset instead of "in" -- 2013-06-27 21:38:10 +00:00
tests + remaining missing pwidechar overloads/equivalents of pchar functions 2013-06-27 21:38:06 +00:00
utils * Fixed paths in fpmake.pp files 2013-06-02 21:20:14 +00:00
.gitattributes + remaining missing pwidechar overloads/equivalents of pchar functions 2013-06-27 21:38:06 +00:00
.gitignore * more finegrained parallelism support for testsuite runs: the tests are no 2012-06-03 17:56:28 +00:00
fpmake_add1.inc * Handle the location of each package at run-time, not at compilation time 2013-06-02 17:55:23 +00:00
fpmake_proc1.inc * Handle the location of each package at run-time, not at compilation time 2013-06-02 17:55:23 +00:00
fpmake.pp * Handle the location of each package at run-time, not at compilation time 2013-06-02 17:55:23 +00:00
Makefile * Fixed cross-installation after r24625. 2013-05-28 12:55:25 +00:00
Makefile.fpc * Fixed cross-installation after r24625. 2013-05-28 12:55:25 +00:00