Commit History

Author SHA1 Message Date
  sergei 6e23565edf + Initialize/finalize variants using dedicated helpers, produces both smaller (no RTTI loading necessary) and faster (direct path taken) code. 14 years ago
  sergei fa4b78363c + Handle safecall exceptions with a dedicated compilerproc, simplifies compiler part and reduces generated code size. 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 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
  paul 5560f6b3f2 compiler + rtl: pass codepage to fpc_CharArray_To_AnsiStr to get the preserve the codepage of result string 14 years ago
  paul 7a998aec3a compiler, rtl: add a codepage argument fpc_Read_Text_AnsiStr to create new AnsiString with the codepage of passed AnsiString argument 14 years ago
  paul 5ac95bc27a merge r17607 from cpstrnew branch by inoussa: 14 years ago
  paul 05d66e31ce merge r17603 from cpstrnew branch by inoussa: 14 years ago
  paul aaf5392315 merge r17601 from cpstrnew branch by inoussa: 14 years ago
  paul 005795495d merge r17552 from cpstrnew branch by inoussa: 14 years ago
  paul 22b19220a3 merge r17485 from cpstrnew branch by michael: 14 years ago
  paul 091627883f merge r14347 from cpstrnew branch by florian: 14 years ago
  paul b3db8db481 merge r14133 from cpstrnew branch by paul except ptconst.pas which has a difficult merge conflict (code moved to another unit which is not at the branch during the revision): 14 years ago
  paul 2162add8ac merge r14132 from cpstrnew branch by paul: 14 years ago
  paul 2023b618ac merge r14131 from cpstrnew branch by paul: 14 years ago
  paul 203ded84ec merge r14121 from cpstrnew branch by paul: 14 years ago
  paul 8cc22972a0 merge r13488 from cpstrnew branch by florian except ncgcon.pas which has a difficult merge conflict (code moved to another unit which is not at the branch during the revision): 14 years ago
  paul 06af8f3e44 merge r13486 from cpstrnew branch by florian: 14 years ago
  paul ae0d732c8f merge r13485 from cpstrnew branch by florian: 14 years ago
  sergei 4ebc34c5e7 * Promoted result type of FPC_PCHAR_LENGTH and FPC_PWIDECHAR_LENGTH to SizeInt. 14 years ago
  sergei 829ee9828d * Added back pre-r17129 configuration of string range check helpers under {$ifdef ver2_4}. Without it, bootstrapping with 2.4.4 and -Cr is broken. 14 years ago
  florian fb84cb865b * rebase to trunk@17295 14 years ago
  sergei 3e6ad5f5aa * tcgvecnode, simplified range checking for strings. Removed FPC_*STR_CHECKZERO helpers, and changed FPC_*STR_CHECKRANGE so they accept the original left node. Now strings are checked the same way as dynamic arrays, and the compiler part is considerably simpler. 14 years ago
  sergei 1fcd40ee64 Continue fixing open array handling: 14 years ago
  sergei 54bc8efa0b * Fixed reference counting of open array parameters passed by value. RTTI of the array itself is useless in this case, as it does not provide correct element count. Now using dedicated helpers which take RTTI of array element and the element count. Resolves #18859. 14 years ago
  florian d5455cf6ac + software multiplication support for OS_16,OS_S16,OS_32,OS_S32 14 years ago
  florian e99c4d1950 + support str(<boolean>,...), boolean is an enumeration type 14 years ago