Rika Ichinose
|
324b77f317
Let fpc_dynarray_concat(_multi) reuse the only nonempty input or append to the destination if possible.
|
2 سال پیش |
florian
|
7e69f399b3
* patch and test by Rika: fixes self inserts in Insert(x, dynarray) and improves Insert(x, dynarray), resolves #40417
|
2 سال پیش |
florian
|
f0ac02cb2e
* patch by Rika: Remove wrong paranoia (and add correct one (and shorten in general (and fix a bug in))) fpc_dynarray_setlength, resolves #40193
|
2 سال پیش |
florian
|
73b528d170
* patch by Rika: Remove dead code in DynArrayIndex, resolves #40194
|
2 سال پیش |
florian
|
6a902660a5
* patch by Rika: Make more use of fpc_*_array (mainly fpc_addref_array) in rtl/inc/dynarr.inc, resolves #40174
|
2 سال پیش |
florian
|
9f293df425
* export DynArrayAssign, resolves #39897
|
3 سال پیش |
florian
|
449cc8f152
* make use of AllocMem in fpc_dynarray_setlength
|
5 سال پیش |
svenbarth
|
15141124f4
* restore ability to cycle with 3.0.4 (at least until 3.2.2 is released) after r46890
|
5 سال پیش |
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)
|
5 سال پیش |
florian
|
ed688aceee
* remove packed from tdynarray, it is not needed and especially 64 bit CPUs which require proper aligment, suffer from it
|
6 سال پیش |
florian
|
217ae6e4bb
* more fixes to rtti after attribute branch merging
|
6 سال پیش |
svenbarth
|
3ad24c9db8
* as attributes can be part of any type they are best suited in a common part of TTypeData
|
6 سال پیش |
pierre
|
e4346b264f
Add missing alignment in DynArrayIndex function
|
7 سال پیش |
svenbarth
|
8536abce8a
* as the management operator feature is not platform specific using a specific define for it aside from a
|
7 سال پیش |
svenbarth
|
8606293028
* assume that dynamic arrays with a negative reference count are immutable (at least regarding their metadata)
|
7 سال پیش |
florian
|
c230f81719
+ support for <dyn. array>+<dyn. array>, resolves #30463
|
7 سال پیش |
svenbarth
|
c87cee09fd
* use the type information *parameter* not the unitialized parameter
|
7 سال پیش |
svenbarth
|
916ff0b92c
+ extend Concat() with support for dynamic arrays
|
7 سال پیش |
svenbarth
|
c45f738081
* fix DynArrayIndex(): as the last typeinfo entry is no longer a dynamic array the elSize needs to be remembered
|
8 سال پیش |
svenbarth
|
8b5461367b
* move TTypeKind from TypInfo unit to System unit as it's necessary for the future GetTypeKind() intrinsic
|
8 سال پیش |
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
|
8 سال پیش |
maciej-izak
|
0cff9fe83c
* Call management operator (Initialize) for records when SetLength for dynamic arrays is used.
|
8 سال پیش |
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
|
8 سال پیش |
florian
|
3faff7946d
* fix typo for endif VER3_0_0, patch by Maciej Izak
|
8 سال پیش |
svenbarth
|
f889891466
* fix Delete() for dynamic arrays
|
9 سال پیش |
svenbarth
|
26a2ddd3d6
+ extend Delete() intrinsics with Delphi compatible support for dynamic arrays. Also fixes Mantis #30306
|
9 سال پیش |
pierre
|
97c2067832
Fix compiler cycling starting from 3.0.0 powerpc64 release compiler
|
9 سال پیش |
svenbarth
|
d9d2789375
* fix DynArrayDim() and DynArrayIndex() after the RTTI changes in r33944
|
9 سال پیش |
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!
|
9 سال پیش |
svenbarth
|
e15816e35b
Fix for Mantis #30110. Speed up finalization of array of primitive/simple records (aka records not containing managed types).
|
9 سال پیش |