Commit History

Author SHA1 Message Date
  svenbarth a2c9c75e97 Convert Insert() and Delete() to intrinsics in preparation for dynamic array support for these two procedures. 9 years ago
  michael 1bdae1edc8 * Correct comments about sizes/offsets in invisible string header record 9 years ago
  michael 463c9f6e42 * Apply patch to improve pos() for widestring (mimicking unicodestring), bug ID #29790 9 years ago
  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 9 years ago
  michael e2733c9a50 * Small correction in POS (prevent moving out of buffer if offset<>1) 9 years ago
  Jonas Maebe 2afd8eb802 - removed FPC_HAS_STR_CURRENCY-related code, FPC 2.6.4 has it 10 years ago
  michael a8978361dd * Fix signatures on all platforms 10 years ago
  michael 8161c1135c * Add offset to Pos functions, Delphi XE 8 compatible. 10 years ago
  sergei ae68a4962f - RTL: merged functionality of InitWideStringManager into InitUnicodeStringManager and removed the former. 10 years ago
  Jonas Maebe ff583bde6c * made setstring() a compiler intrinsic so it can set the compile-time 10 years ago
  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. 11 years ago
  sergei 54e561dfa4 * Assign CharLengthPCharProc and CodePointLengthProc always in initunicodestringmanager, doing it in initwidestringmanager only complicates things. 11 years ago
  Jonas Maebe a5273abc9c + support for CP_OEMCP 12 years ago
  Jonas Maebe 7c578c3541 * made the pascal name of the string range checking helpers match 12 years ago
  Jonas Maebe fe5a4baa15 - removed FPC 2.4 bootstrapping support 12 years ago
  pierre a311c53167 Replace HandleErrorFrame calls by HandleErrorAddrFrameInd where possible in common code (to allow correct backtrace for mips cpu) 13 years ago
  paul 19d1cf9470 rtl: reduce amount of warnings regards implicit string conversions + little formatting 13 years ago
  sergei f07d02b427 - Removed string conversion helpers that are not actually used by compiler code generation (duplicated pwidechar/punicodechar stuff). 13 years ago
  sergei 8d26b3358f RTL, wide/unicode strings cleanup: 13 years ago
  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. 13 years ago
  sergei 009ee271ec - Cleaned out STR_CONCAT_PROCS define 13 years ago
  sergei 724f41a9af - Cleaned out FPC_STRTOSHORTSTRPROC and FPC_STRTOCHARARRAYPROC defines. Somebody had to do it one day. 13 years ago
  paul c1866d5c17 compiler: 13 years ago
  sergei 018fdaf839 - Removed unnecessary operations: SetLength before widestringmanager calls (widestringmanager does the allocation) and zero-termination after SetLength (SetLength does zero-termination). 13 years ago
  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 14 years ago
  florian d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 14 years ago
  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. 14 years ago
  paul fd5a15fda5 rtl: manual merge some cpstrnew changes which was impossible to merge using regular tools due to the merge conflicts 14 years ago
  florian f238c9161b + declaration of missing BufLen 14 years ago
  paul 631c545423 merge r19075 from cpstrnew branch by paul: 14 years ago