Commit History

Author SHA1 Message Date
  maciej-izak d83889c6d2 * Rename for management operators (proposed by Florian): AddRef -> Copy and Copy -> Clone 9 years ago
  maciej-izak e4aad22223 Copy operator (if declared) is executed instead of default fpc_Copy code (any other behavior has no sense). 9 years ago
  maciej-izak 8e80538d2c RTL support for new management operators AddRef and Copy (NOTE: names can be changed). AddRef operator is used when record is passed as parameter to method/function by value (for records to large to copy (when only the address is pushed)). AddRef is used also for dynamic array operations (temporary for SetLength operation and for Copy operation for already copied data by move). 9 years ago
  maciej-izak 6fb1fce44c Allow Initialize management operator for SetLength for dynamic arrays (fix for bug reported by Anthony Walter). 9 years ago
  maciej-izak 9263ef6dad * RTL compileable with the FPC 3.0 9 years ago
  maciej-izak 8036b0fdb6 rtti.inc: 9 years ago
  maciej-izak 428df2348a Add support for new record operators (management operators): Initialize, Finalize. They working like low level auto-executed constructor/destructor for records. 9 years ago
  marco 4733e50de5 * system unit additions from mantis #27206. Exports some dynarray related RTTI functions. 10 years ago
  pierre 034c440d84 Fix big mistake in previous commit, packed must be disabled if FPC_REQUIRES_PROPER_AIGNMENT is set 11 years ago
  pierre 8193aff81d Fix cycle starting for 2.6.4 release for powerpc64-linux 11 years ago
  sergei ae81e0889b * Updated internal declarations of RTTI structures to match their counterparts in typinfo unit and actual data generated by compiler. It went unnoticed this far because fields whose location differ with and without 'packed' record attribute are not used by internal routines, and tests use declarations from typinfo unit (the declarations in question are not in interface, so tests cannot be done against them). 11 years ago
  paul 72fd58d62e rtl: fix possible division by zero 12 years ago
  paul fe04dedbab compiler: change RTTI size of record field offset from fixed 32bit to platform dependent integer (sizeint) since it is stored this way in the compiler. This is also Delphi compatible, rtl: adopt rtl appropriately 12 years ago
  paul dce960c97b compiler: write Delphi compatible tkArray RTTI: 12 years ago
  paul d18f273f67 compier, rtl: revert 24424 since it fails on some platforms 12 years ago
  paul e23534eec4 compiler, rtl: some rtti related changes: 12 years ago
  sergei 27c626245b * Reuse RecordRTTI to finalize class instances. This is possible because RTTI for classes is the same as for records (except different value of tkKind field), and RecordRTTI ignores tkKind (assuming that required checks are done by its caller). 12 years ago
  sergei f136e44b6b - RTL: cleaned up remaining 'decr_ref' routines (not removed completely due to bootstrapping needs, but aliased to 'finalize' ones). 13 years ago
  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. 13 years ago
  sergei 0d3fa2d2db - Cleaned out VER2_2 defines 14 years ago
  sergei c2ea372682 * Declared types describing RTTI data of arrays and records, and rewrote main RTTI routines using these types. Shorter by about 60 lines, functionality isn't changed. 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
  Jonas Maebe 749991ec02 + support extra parameter for initialize() that indicates how many elements 15 years ago
  florian e01e4e5719 * optimized copy(<dyn. array> ...) by checking if the elements are really ref. counted 15 years ago
  marco 4104d9f481 * More pluggability of the RTL. Mantis 15124 16 years ago
  yury e82e4ae806 * Fixed WideString on wince. WideString=UnicodeString on wince. Bug #14304. 16 years ago
  Jonas Maebe f9b4d58e98 * set finalized dynarrays to nil (mantis #12048) 17 years ago
  florian b178b08ba7 Merged revisions 11665-11738 via svnmerge from 17 years ago
  florian f56b741948 * quicker finalization of dyn. arrays, thanks to the hint of Volker Zipfel 17 years ago