Commit History

Autor SHA1 Mensaxe Data
  Jonas Maebe 834026bfb5 * synchronised with trunk up to r21067 %!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
  Jonas Maebe 8e3d7fe8d3 * fixed genmultistringadd() optimization for jvm and enabled it %!s(int64=13) %!d(string=hai) anos
  Jonas Maebe aee5380ae0 * merged trunk up to r20882 %!s(int64=13) %!d(string=hai) anos
  paul 950ef49b5c fpc: don't treat codepage as different if one element of array has CP_ACP codepage in fpc_AnsiStr_Concat_multi %!s(int64=13) %!d(string=hai) anos
  paul 79b725990c rtl: remove spaces %!s(int64=13) %!d(string=hai) anos
  sergei 180686e429 * Removed 'first' field and 'packed' attribute from TAnsiRec and TUnicodeRec. Removing 'packed' should yield more efficient code on alignment-sensitive targets, while removing 'first' effectively makes two records identical to each other. Further cleanup is possible, but let's see the test suite results before proceeding. %!s(int64=13) %!d(string=hai) anos
  sergei df221e8196 * fpc_ansistr_concat, refactoring and minor fix: %!s(int64=13) %!d(string=hai) anos
  sergei a2233d7991 * fpc_ansistr_setlength: fixed/refactored: %!s(int64=13) %!d(string=hai) anos
  sergei 06192a8137 Values of managed variables are never ever used after decrementing reference on the variable, so there is no point of having a 'decrement reference' as a separate operation. We can always do 'finalize', i.e. clear the contents after decref. %!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=14) %!d(string=hai) anos
  paul ef0c4a1e5c rtl: fix fpc_AnsiStr_To_AnsiStr source codepage check (less conversions should be done now from AnsiString type to the same codepage strings) %!s(int64=14) %!d(string=hai) anos
  paul c1866d5c17 compiler: %!s(int64=14) %!d(string=hai) anos
  paul 212b14a46b rtl: set string codepage for all cases in fpc_AnsiStr_Concat %!s(int64=14) %!d(string=hai) anos
  paul 908673e48b rtl: don't convert strings on compare if one of them is empty %!s(int64=14) %!d(string=hai) anos
  paul 1c41680c58 rtl: don't perform string conversion if source string is in CP_NONE encoding (rawbytestring) %!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
  paul 8fc6af7fde rtl: cleanup %!s(int64=14) %!d(string=hai) anos
  paul 31afa4bd14 rtl: remove fpc_ansistr_append_xxx routines which are no longer used by the compiler %!s(int64=14) %!d(string=hai) anos
  paul 451e48a033 rtl: replace PChar -> PAnsiChar, Char -> AnsiChar in astrings.inc routines %!s(int64=14) %!d(string=hai) anos
  paul bcb0317209 rtl: eat $ffff encoding in more routines, fix Insert() procedure to preserve destination string codepage %!s(int64=14) %!d(string=hai) anos
  paul 36851c86de rtl: replace AnsiString to RawByteString arguments for Val() functions %!s(int64=14) %!d(string=hai) anos
  paul 485695d4e6 compiler, rtl: pass codepage argument to all ansistring str() helpers to return result with correct codepage %!s(int64=14) %!d(string=hai) anos
  paul a769ef0ad2 compiler: don't return te_eual when we convert from RawByteString to another codepage %!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
  paul 5560f6b3f2 compiler + rtl: pass codepage to fpc_CharArray_To_AnsiStr to get the preserve the codepage of result string %!s(int64=14) %!d(string=hai) anos
  paul 932ca07230 rtl: remove useless ifdef %!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
  Jonas Maebe 85ed1b87d9 * fixed wrong use of CompareTextUnicodeStringProc() in %!s(int64=14) %!d(string=hai) anos