Historial de Commits

Autor SHA1 Mensaje Fecha
  maciej-izak 0cff9fe83c * Call management operator (Initialize) for records when SetLength for dynamic arrays is used. hace 8 años
  florian 0b82f71e8d * take care of the fact that there are 32 bit abis (e.g. ARMHF) which align qword on 8 byte boundaries, resolves issue #31132 hace 8 años
  florian 3faff7946d * fix typo for endif VER3_0_0, patch by Maciej Izak hace 8 años
  svenbarth f889891466 * fix Delete() for dynamic arrays hace 9 años
  svenbarth 26a2ddd3d6 + extend Delete() intrinsics with Delphi compatible support for dynamic arrays. Also fixes Mantis #30306 hace 9 años
  pierre 97c2067832 Fix compiler cycling starting from 3.0.0 powerpc64 release compiler hace 9 años
  svenbarth d9d2789375 * fix DynArrayDim() and DynArrayIndex() after the RTTI changes in r33944 hace 9 años
  svenbarth 345d83c3e3 Merge RTTI changes from packages branch (including adjustments that were required due to changes in trunk since then). These changes favor source backwards compatibility in contrast to Delphi compatibility. Binary compatiblity is however drastically broken due to the indirect references that are platform independant! hace 9 años
  svenbarth e15816e35b Fix for Mantis #30110. Speed up finalization of array of primitive/simple records (aka records not containing managed types). hace 9 años
  florian a7f1ce2e98 * patch by Dmitry Boyarintsev: initialize dyn. arrays more cleverly in a setlength call with ref. count>1, resolves issue #29250 hace 9 años
  marco 4733e50de5 * system unit additions from mantis #27206. Exports some dynarray related RTTI functions. hace 10 años
  nickysn a10c200090 * tdynarraytypedata.elSize changed from PtrUInt to SizeUInt; this fixes e.g. hace 11 años
  sergei f42c1b3720 * Return dynamic arrays in parameter, this was the only managed type still returned in register. Returning managed types in registers requires catching and re-raising exceptions at callee side in order to finalize result and avoid memory leaks. While such behavior makes little difference with generic setjmp-based exception handling, it becomes very inefficient as SEH-styled exception handling is being introduced. hace 11 años
  pierre a311c53167 Replace HandleErrorFrame calls by HandleErrorAddrFrameInd where possible in common code (to allow correct backtrace for mips cpu) hace 13 años
  sergei 92f927976e * Rewrote fpc_dynarray_copy to trim out-of-range arguments instead of raising range error. Makes behavior Delphi-compatible and resolves #21396. hace 13 años
  sergei f136e44b6b - RTL: cleaned up remaining 'decr_ref' routines (not removed completely due to bootstrapping needs, but aliased to 'finalize' ones). hace 13 años
  sergei 568ef396fb * Added fpc_dynarray_assign (a helper for dynamic array assignments), added local access to fpc_intf_assign, and switched fpc_copy to use assignment helpers instead of incr_ref/decr_ref combinations. hace 13 años
  sergei a8fe9601de * Get rid of using pdynarraytypeinfo, instead treat rtti as distinct 'header' and 'data' parts. In variants unit, use rtti declarations from typinfo directly. In system unit, declare private tdynarraytypedata record which (like typinfo.TTypeData) is not packed on alignment-sensitive targets. This simplifies code and removes scary pointer manipulations, should also yield better code on aligned targets. hace 13 años
  sergei 5658c30328 * Partially reverted r20041 to prevent IE200606085 on ARM platforms. hace 13 años
  sergei 40f29ffd7a * Generate direct order of indexes passed to fpc_dynarray_setlength at compile time, eliminates the need of reversing them at runtime (in DynArraySetLength). hace 13 años
  sergei 1fcd40ee64 Continue fixing open array handling: hace 14 años
  mazen b127fc154a * Fixed spell error revealed by lintian. hace 15 años
  florian e01e4e5719 * optimized copy(<dyn. array> ...) by checking if the elements are really ref. counted hace 15 años
  Jonas Maebe 65f217ed02 * only set dynarray pointer to nil in decref in case the last reference hace 17 años
  peter 923aac0390 * give range error if setlength value < 0 and the array is not filled hace 17 años
  florian fd2032dab2 + start of embedded rtl hace 19 años
  micha d704af7216 fix compilation for {$T+} linux/win hace 19 años
  peter 16f121a8bc * reuse generic align() hace 19 años
  yury 11576fd24b * fixed warnings and notes while compiling system unit for wince. hace 19 años
  tom_at_work 9d7ac02696 * fixed tb0488 on unix platforms (missing cwstring uses) hace 20 años