Commit History

Autor SHA1 Mensaxe Data
  florian 84e7a17b67 * patch by Rika: optimize Pos(), resolves #40088 %!s(int64=2) %!d(string=hai) anos
  Sergey Larin a8b0e0ed65 Added TranslatePlaceholderCP before Wide2AnsiMoveProc call. %!s(int64=3) %!d(string=hai) anos
  florian a7a689ca16 * fpc_AnsiStr_To_ShortStr: set length before moving, should result in better memory access pattern %!s(int64=3) %!d(string=hai) anos
  florian 8e4e229a5f + DestSize parameter for fpc_Val_UInt functions %!s(int64=3) %!d(string=hai) anos
  florian ee10850a57 * patch by Sergey Larin: Reducing and aligning the size of TAnsiRec, TUnicodeRec for CPU64, resolves #38018: %!s(int64=4) %!d(string=hai) anos
  florian a5f6505edc * fix range checking for zero based strings, resolves #39323 %!s(int64=4) %!d(string=hai) anos
  nickysn 800bb3adc2 * instead of using discardresult, wrap the uniquestring functions in procedures, %!s(int64=4) %!d(string=hai) anos
  florian 8b08079224 * fpc_AnsiStr_Concat: if one of the strings is empty and CP_NONE is passed, the code page %!s(int64=4) %!d(string=hai) anos
  yury c3954a0cee * Fixed r44960. Also copy a trailing implicit #0 of the original string to the new larger string. %!s(int64=5) %!d(string=hai) anos
  yury 1e32b96bc2 * Minor improvement. No need to move the terminating null char, since it is written later anyway. Remove a local var. %!s(int64=5) %!d(string=hai) anos
  michael 68bb9bef2c * Optimize fpc_AnsiStr_Compare to not use exception frame unless codepages differ %!s(int64=8) %!d(string=hai) anos
  michael 2714a06e77 * Small optimization for comparing nil strings. %!s(int64=8) %!d(string=hai) anos
  michael ae6b9652fc * Avoid exception frame in ansistring compare for cases where codepage is equal %!s(int64=8) %!d(string=hai) anos
  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
  Jonas Maebe 1294dc1ede * when inserting a non-empty ansistring into an empty ansistring, the %!s(int64=10) %!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
  Jonas Maebe 2b551d0241 * don't do anything in SetCodePage() if the requested code page is the same %!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
  Jonas Maebe ff583bde6c * made setstring() a compiler intrinsic so it can set the compile-time %!s(int64=11) %!d(string=hai) anos
  nickysn ec9a57f854 * local variables in fpc_AnsiStr_Concat_multi changed from nativeint to objpasint %!s(int64=11) %!d(string=hai) anos
  Jeppe Johansen 9b79f2f68d Added support for 8-bit CPU's in RTL. Mostly for missing implementations of int<->string conversion and console/text output. %!s(int64=11) %!d(string=hai) anos
  nickysn ad45bc17ec * local variables in fpc_AnsiStr_Concat_multi changed from longint to nativeint %!s(int64=11) %!d(string=hai) anos
  Jonas Maebe 951727f453 * fixed crash when concatenating more than 2 ansistrings that are all empty %!s(int64=12) %!d(string=hai) anos
  Jonas Maebe 14d62028ff * don't convert ansistrings when calling setcodepage() with a code page %!s(int64=12) %!d(string=hai) anos
  Jonas Maebe b115231ea4 * never change the code page of a non-empty string when calling setlength on %!s(int64=12) %!d(string=hai) anos
  Jonas Maebe 29132f45b7 * synchronised with trunk up to r25167 (fixes glib compilation via r25164, %!s(int64=12) %!d(string=hai) anos
  Jonas Maebe 1a560e9875 * when concatenating ansistrings, do not map CP_NONE (rawbytestring) to %!s(int64=12) %!d(string=hai) anos
  Jonas Maebe a5273abc9c + support for CP_OEMCP %!s(int64=12) %!d(string=hai) anos
  Jonas Maebe 44f4bdfb2e - removed stray stringcodepage assignment in fpc_AnsiStr_Concat_multi() %!s(int64=12) %!d(string=hai) anos