paul
|
72fd58d62e
rtl: fix possible division by zero
|
hace 12 años |
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
|
hace 12 años |
paul
|
dce960c97b
compiler: write Delphi compatible tkArray RTTI:
|
hace 12 años |
paul
|
d18f273f67
compier, rtl: revert 24424 since it fails on some platforms
|
hace 12 años |
paul
|
e23534eec4
compiler, rtl: some rtti related changes:
|
hace 12 años |
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).
|
hace 12 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
|
0d3fa2d2db
- Cleaned out VER2_2 defines
|
hace 14 años |
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.
|
hace 14 años |
sergei
|
1fcd40ee64
Continue fixing open array handling:
|
hace 14 años |
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.
|
hace 14 años |
Jonas Maebe
|
749991ec02
+ support extra parameter for initialize() that indicates how many elements
|
hace 15 años |
florian
|
e01e4e5719
* optimized copy(<dyn. array> ...) by checking if the elements are really ref. counted
|
hace 15 años |
marco
|
4104d9f481
* More pluggability of the RTL. Mantis 15124
|
hace 16 años |
yury
|
e82e4ae806
* Fixed WideString on wince. WideString=UnicodeString on wince. Bug #14304.
|
hace 16 años |
Jonas Maebe
|
f9b4d58e98
* set finalized dynarrays to nil (mantis #12048)
|
hace 17 años |
florian
|
b178b08ba7
Merged revisions 11665-11738 via svnmerge from
|
hace 17 años |
florian
|
f56b741948
* quicker finalization of dyn. arrays, thanks to the hint of Volker Zipfel
|
hace 17 años |
Jonas Maebe
|
dc71827e2e
* procedure version of fpc_copy to avoid errors with {$x-} (mantis #9918)
|
hace 18 años |
florian
|
657ef819e0
* comment fixed
|
hace 18 años |
Jonas Maebe
|
d9284963b3
* fix for fpc_copy on 64 bit systems from Florian
|
hace 18 años |
florian
|
ea97b8b137
* fixed copying of remaining elements
|
hace 18 años |
florian
|
2c4aeefbf4
* fixed copying of automated records
|
hace 18 años |
florian
|
37bd49692e
* proper fix for 8481 et. al.
|
hace 18 años |
yury
|
11576fd24b
* fixed warnings and notes while compiling system unit for wince.
|
hace 19 años |
florian
|
7bff61ce29
* patch from Ales Katona to add a stack size parameter to tthread functions
|
hace 20 años |
michael
|
5cafc069b5
+ Removed NOSAVEREGISTERS define
|
hace 20 años |
michael
|
93ba0409be
+ Removed HASCOMPILERPROC define
|
hace 20 años |
michael
|
21425e303c
+ Removed HASVARIANT define
|
hace 20 años |