Commit History

Autor SHA1 Mensaxe Data
  svenbarth a2c9c75e97 Convert Insert() and Delete() to intrinsics in preparation for dynamic array support for these two procedures. %!s(int64=9) %!d(string=hai) anos
  michael 1bdae1edc8 * Correct comments about sizes/offsets in invisible string header record %!s(int64=9) %!d(string=hai) anos
  michael 463c9f6e42 * Apply patch to improve pos() for widestring (mimicking unicodestring), bug ID #29790 %!s(int64=9) %!d(string=hai) anos
  svenbarth 77cb13c38c Revert r33057. MaxLen is the maximum value that Pos can return and does not need to be adjusted by (Offset - 1). Also there's no buffer that could be overrun as i is not used to access the string's buffer. Fixes failure of tests/test/units/system/tstring.pp %!s(int64=9) %!d(string=hai) anos
  michael e2733c9a50 * Small correction in POS (prevent moving out of buffer if offset<>1) %!s(int64=9) %!d(string=hai) anos
  Jonas Maebe 2afd8eb802 - removed FPC_HAS_STR_CURRENCY-related code, FPC 2.6.4 has it %!s(int64=10) %!d(string=hai) anos
  michael a8978361dd * Fix signatures on all platforms %!s(int64=10) %!d(string=hai) anos
  michael 8161c1135c * Add offset to Pos functions, Delphi XE 8 compatible. %!s(int64=10) %!d(string=hai) anos
  sergei ae68a4962f - RTL: merged functionality of InitWideStringManager into InitUnicodeStringManager and removed the former. %!s(int64=10) %!d(string=hai) anos
  Jonas Maebe ff583bde6c * made setstring() a compiler intrinsic so it can set the compile-time %!s(int64=10) %!d(string=hai) anos
  sergei 531c2d79e0 - RTL: removed 'unimplementedwidestring' procedure and use 'unimplementedunicodestring' instead. Reduces bloat. Furthermore, a separate message about missing widestring manager is misleading, because there is only one wide/unicodestring manager that can be set. %!s(int64=11) %!d(string=hai) anos
  sergei 54e561dfa4 * Assign CharLengthPCharProc and CodePointLengthProc always in initunicodestringmanager, doing it in initwidestringmanager only complicates things. %!s(int64=11) %!d(string=hai) anos
  Jonas Maebe a5273abc9c + support for CP_OEMCP %!s(int64=12) %!d(string=hai) anos
  Jonas Maebe 7c578c3541 * made the pascal name of the string range checking helpers match %!s(int64=12) %!d(string=hai) anos
  Jonas Maebe fe5a4baa15 - removed FPC 2.4 bootstrapping support %!s(int64=12) %!d(string=hai) anos
  pierre a311c53167 Replace HandleErrorFrame calls by HandleErrorAddrFrameInd where possible in common code (to allow correct backtrace for mips cpu) %!s(int64=13) %!d(string=hai) anos
  paul 19d1cf9470 rtl: reduce amount of warnings regards implicit string conversions + little formatting %!s(int64=13) %!d(string=hai) anos
  sergei f07d02b427 - Removed string conversion helpers that are not actually used by compiler code generation (duplicated pwidechar/punicodechar stuff). %!s(int64=13) %!d(string=hai) anos
  sergei 8d26b3358f RTL, wide/unicode strings cleanup: %!s(int64=13) %!d(string=hai) anos
  sergei 7ff76caa73 * Removed 'inline' attribute from 6 overloaded pos() functions which contain a managed typecast. Inlining it leads to noticeable increase in code size without any sensible speed improvement. %!s(int64=13) %!d(string=hai) anos
  sergei 009ee271ec - Cleaned out STR_CONCAT_PROCS define %!s(int64=13) %!d(string=hai) anos
  sergei 724f41a9af - Cleaned out FPC_STRTOSHORTSTRPROC and FPC_STRTOCHARARRAYPROC defines. Somebody had to do it one day. %!s(int64=13) %!d(string=hai) anos
  paul c1866d5c17 compiler: %!s(int64=13) %!d(string=hai) anos
  sergei 018fdaf839 - Removed unnecessary operations: SetLength before widestringmanager calls (widestringmanager does the allocation) and zero-termination after SetLength (SetLength does zero-termination). %!s(int64=14) %!d(string=hai) anos
  paul 836889fc64 rtl: move some CP_xxx constants from syswin into systemh for generic use, redeclare UTF8Sting, RawByteString using constant identifiers instead of pure numbers. replace comparison with $ffff codepage to CP_NONE %!s(int64=14) %!d(string=hai) anos
  florian d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 %!s(int64=14) %!d(string=hai) anos
  sergei f2852137c8 * DisposeAnsiString doesn't need to exist as a separate procedure, because it is only called from a single place. Merging it into caller yields somewhat more efficient code. %!s(int64=14) %!d(string=hai) anos
  paul fd5a15fda5 rtl: manual merge some cpstrnew changes which was impossible to merge using regular tools due to the merge conflicts %!s(int64=14) %!d(string=hai) anos
  florian f238c9161b + declaration of missing BufLen %!s(int64=14) %!d(string=hai) anos
  paul 631c545423 merge r19075 from cpstrnew branch by paul: %!s(int64=14) %!d(string=hai) anos