Commit History

Author SHA1 Message Date
  florian c4fe4ab1f5 * correctly handle push <imm> on 80186+ 8 years ago
  florian 7213a13081 * split fpc_mul_<64 bit> into separate procedures with and without overflow checking 8 years ago
  maciej-izak 3900ccf260 * Rename RecordOp to ManagementOp (more relevant name) 8 years ago
  maciej-izak 92c0e57c59 * Test suite for management operators. We have management operators on trunk! Enjoy ^^ 8 years ago
  maciej-izak 4154b4ca8a * Call management operators also for records with zero-size. For that purpose was changed function RTTISize. New name for RTTISize is RTTISizeAndOp. RTTISizeAndOp can return size of required type and information about existing management operators for that type in current context (to determine context is used enum TRTTIRecOpType which is passed also as parameter in RTTISizeAndOp). RTTISizeAndOp is used in fpc_initialize_array, fpc_finalize_array, fpc_addref_array and CopyArray. 8 years ago
  maciej-izak 0cff9fe83c * Call management operator (Initialize) for records when SetLength for dynamic arrays is used. 8 years ago
  maciej-izak 5a7d4eb25f * Call management initialize operator for records inside classes (record with management operators as field) (rtl/inc/objpas.inc, TObject.InitInstance) 8 years ago
  maciej-izak 9a9eb1b840 * Use RTTIRecordRttiInfoToInitInfo (when FPC_HAS_MANAGEMENT_OPERATORS is not defined) for records/objects in fpc_Copy as well as for fpc_Initialize, fpc_finalize, fpc_Addref 8 years ago
  maciej-izak 8a68a7aea8 * Declare field RecordOp for TRecordInfoInit only when FPC_HAS_MANAGEMENT_OPERATORS is defined, same for additional types for management operators. 8 years ago
  maciej-izak d42428bc3c * Initial support for management operators in RTL (rtl/inc/rtti.inc): 8 years ago
  maciej-izak af8e0efe57 * Rtti info about Management Operators (MO) in init table for records. Note: commit contains minimal changes for RTL (for proper "make") no functional changes. More RTL changes for fully functionally MO in next commits. 8 years ago
  maciej-izak 25db29d0a6 * symtable.pas: 8 years ago
  maciej-izak 9441fb3968 * ngenutil.pas, tnodeutils.sym_maybe_initialize: Ensure that management operator (Initialize) is used also for local variables. 8 years ago
  maciej-izak 520bb31fa6 * Parse management operators. Each management operator is special kind of operator without result. 8 years ago
  maciej-izak 168e59837a * New function token2managementoperator for conversion: ttoken to tmanagementoperator 8 years ago
  maciej-izak b912deae33 * each record with managed field or with any management operator needs init table (update for symdef.pas, trecorddef.needs_inittable) 8 years ago
  maciej-izak 15ba9b54c6 Store informations about management operators in ppu files for records. 8 years ago
  maciej-izak 48b149acd4 New tokens for new management operators: Initialize, Finalize, AddRef and Copy. Small code adjustment for parser (pdecobj.pas, pstatmnt.pas, psub.pas, ptype.pas) was required because few of old token has from now value which is outside range of set: _CONSTRUCTOR, _FINALIZATION. 8 years ago
  pierre 3f8f7bc04a Regenerate Makefile after: Add explicit rule for uuchar unit 8 years ago
  pierre 31d9be0c9d Add explicit rule for uuchar unit 8 years ago
  michael 00450470e2 * Make port not stored, since it is in params already 8 years ago
  Tomas Hajny 12dddfb6c8 * fix base path handling - ensure using full path in the cfg files and avoid double slashes 8 years ago
  florian 3d6d5145bf * fix handling of const string symbols in preprocessor expressions 8 years ago
  Tomas Hajny 0276bb374d * remove duplicated SDL sources entry 8 years ago
  florian c961c72c30 * tarmtypeconvnode.first_int_to_real should call the generic method in the parent class, if soft fpu code is generated, resolves #31350 8 years ago
  michael 7702ebb261 * Patch from Mattias Gaertner; SetCharAt 8 years ago
  michael bc22805000 * Patch from Mattias Gaertner: 8 years ago
  joost 09f415dc81 * Refactored so that TFPCustomPackagesStructure has access to the (compiler-)options 8 years ago
  Jonas Maebe 015f034904 * reverted r35424, wasn't ready for commit yet 8 years ago
  Jonas Maebe 265c8e7bbc + support for specifying ms_abi_default, ms_abi_cdelc, sysv_abi_default, and 8 years ago