Commit History

Author SHA1 Message Date
  Jonas Maebe 834026bfb5 * synchronised with trunk up to r21067 13 years ago
  paul 19d1cf9470 rtl: reduce amount of warnings regards implicit string conversions + little formatting 13 years ago
  Jonas Maebe 8e3d7fe8d3 * fixed genmultistringadd() optimization for jvm and enabled it 13 years ago
  Jonas Maebe aee5380ae0 * merged trunk up to r20882 13 years ago
  paul 950ef49b5c fpc: don't treat codepage as different if one element of array has CP_ACP codepage in fpc_AnsiStr_Concat_multi 13 years ago
  paul 79b725990c rtl: remove spaces 13 years ago
  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. 13 years ago
  sergei df221e8196 * fpc_ansistr_concat, refactoring and minor fix: 13 years ago
  sergei a2233d7991 * fpc_ansistr_setlength: fixed/refactored: 13 years ago
  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. 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 ef0c4a1e5c rtl: fix fpc_AnsiStr_To_AnsiStr source codepage check (less conversions should be done now from AnsiString type to the same codepage strings) 14 years ago
  paul c1866d5c17 compiler: 14 years ago
  paul 212b14a46b rtl: set string codepage for all cases in fpc_AnsiStr_Concat 14 years ago
  paul 908673e48b rtl: don't convert strings on compare if one of them is empty 14 years ago
  paul 1c41680c58 rtl: don't perform string conversion if source string is in CP_NONE encoding (rawbytestring) 14 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
  paul 8fc6af7fde rtl: cleanup 14 years ago
  paul 31afa4bd14 rtl: remove fpc_ansistr_append_xxx routines which are no longer used by the compiler 14 years ago
  paul 451e48a033 rtl: replace PChar -> PAnsiChar, Char -> AnsiChar in astrings.inc routines 14 years ago
  paul bcb0317209 rtl: eat $ffff encoding in more routines, fix Insert() procedure to preserve destination string codepage 14 years ago
  paul 36851c86de rtl: replace AnsiString to RawByteString arguments for Val() functions 14 years ago
  paul 485695d4e6 compiler, rtl: pass codepage argument to all ansistring str() helpers to return result with correct codepage 14 years ago
  paul a769ef0ad2 compiler: don't return te_eual when we convert from RawByteString to another codepage 14 years ago
  florian d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346 14 years ago
  paul 5560f6b3f2 compiler + rtl: pass codepage to fpc_CharArray_To_AnsiStr to get the preserve the codepage of result string 14 years ago
  paul 932ca07230 rtl: remove useless ifdef 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
  Jonas Maebe 85ed1b87d9 * fixed wrong use of CompareTextUnicodeStringProc() in 14 years ago