Jonas Maebe
|
b86f2d7e3c
* only initialize global regvars in unit and main program init code
|
8 years ago |
Jonas Maebe
|
cadf177a93
* fixed bugs in r33737: that revision was supposed to only move
|
8 years ago |
florian
|
a80fcb74d8
* make test working for architectures with no float and ansistring support
|
8 years ago |
Jonas Maebe
|
1c985f0a43
* fixed bzip2 units for big endian targets (not optimal, but simplest fix)
|
8 years ago |
Jonas Maebe
|
1b42affa8f
* optimized PowerPC version of changes in r35454
|
8 years ago |
florian
|
99a0c2464d
* version update
|
8 years ago |
florian
|
e7fd71db36
+ write name of segment/group which is too large
|
8 years ago |
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 |