florian
|
449cc8f152
* make use of AllocMem in fpc_dynarray_setlength
|
há 4 anos atrás |
svenbarth
|
15141124f4
* restore ability to cycle with 3.0.4 (at least until 3.2.2 is released) after r46890
|
há 4 anos atrás |
svenbarth
|
d3e18ccb5e
* fix for Mantis #37221: apply adjusted patch by Ondrej Pokorny to allow the use of Copy() on open array parameters (the result will be a dynamic array)
|
há 4 anos atrás |
florian
|
ed688aceee
* remove packed from tdynarray, it is not needed and especially 64 bit CPUs which require proper aligment, suffer from it
|
há 6 anos atrás |
florian
|
217ae6e4bb
* more fixes to rtti after attribute branch merging
|
há 6 anos atrás |
svenbarth
|
3ad24c9db8
* as attributes can be part of any type they are best suited in a common part of TTypeData
|
há 6 anos atrás |
pierre
|
e4346b264f
Add missing alignment in DynArrayIndex function
|
há 7 anos atrás |
svenbarth
|
8536abce8a
* as the management operator feature is not platform specific using a specific define for it aside from a
|
há 7 anos atrás |
svenbarth
|
8606293028
* assume that dynamic arrays with a negative reference count are immutable (at least regarding their metadata)
|
há 7 anos atrás |
florian
|
c230f81719
+ support for <dyn. array>+<dyn. array>, resolves #30463
|
há 7 anos atrás |
svenbarth
|
c87cee09fd
* use the type information *parameter* not the unitialized parameter
|
há 7 anos atrás |
svenbarth
|
916ff0b92c
+ extend Concat() with support for dynamic arrays
|
há 7 anos atrás |
svenbarth
|
c45f738081
* fix DynArrayIndex(): as the last typeinfo entry is no longer a dynamic array the elSize needs to be remembered
|
há 8 anos atrás |
svenbarth
|
8b5461367b
* move TTypeKind from TypInfo unit to System unit as it's necessary for the future GetTypeKind() intrinsic
|
há 8 anos atrás |
svenbarth
|
72c595eefe
+ implement support for Insert() for dynamic arrays; the parameter that is inserted can be a dynamic or static array of the same type, an array constructor or a single element of the arrays type; all that is determined based on the second type
|
há 8 anos atrás |
maciej-izak
|
0cff9fe83c
* Call management operator (Initialize) for records when SetLength for dynamic arrays is used.
|
há 8 anos atrás |
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
|
há 8 anos atrás |
florian
|
3faff7946d
* fix typo for endif VER3_0_0, patch by Maciej Izak
|
há 8 anos atrás |
svenbarth
|
f889891466
* fix Delete() for dynamic arrays
|
há 9 anos atrás |
svenbarth
|
26a2ddd3d6
+ extend Delete() intrinsics with Delphi compatible support for dynamic arrays. Also fixes Mantis #30306
|
há 9 anos atrás |
pierre
|
97c2067832
Fix compiler cycling starting from 3.0.0 powerpc64 release compiler
|
há 9 anos atrás |
svenbarth
|
d9d2789375
* fix DynArrayDim() and DynArrayIndex() after the RTTI changes in r33944
|
há 9 anos atrás |
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!
|
há 9 anos atrás |
svenbarth
|
e15816e35b
Fix for Mantis #30110. Speed up finalization of array of primitive/simple records (aka records not containing managed types).
|
há 9 anos atrás |
florian
|
a7f1ce2e98
* patch by Dmitry Boyarintsev: initialize dyn. arrays more cleverly in a setlength call with ref. count>1, resolves issue #29250
|
há 9 anos atrás |
marco
|
4733e50de5
* system unit additions from mantis #27206. Exports some dynarray related RTTI functions.
|
há 10 anos atrás |
nickysn
|
a10c200090
* tdynarraytypedata.elSize changed from PtrUInt to SizeUInt; this fixes e.g.
|
há 11 anos atrás |
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.
|
há 11 anos atrás |
pierre
|
a311c53167
Replace HandleErrorFrame calls by HandleErrorAddrFrameInd where possible in common code (to allow correct backtrace for mips cpu)
|
há 13 anos atrás |
sergei
|
92f927976e
* Rewrote fpc_dynarray_copy to trim out-of-range arguments instead of raising range error. Makes behavior Delphi-compatible and resolves #21396.
|
há 13 anos atrás |