Commit History

Author SHA1 Message Date
  Rika Ichinose 900b1fc4ec Check for refcount = 1 first. 5 months ago
  Rika Ichinose 6ccad3dc4e Shortcut declocked on refcount = 1. 6 months ago
  Rika Ichinose f1050aeb73 Simplify dynarr.inc. 8 months ago
  Rika Ichinose 91d3746adf Use FillChar in InitializeArray. 10 months ago
  Rika Ichinose 89142ba73a Faster dynamic array concatenations. 1 year ago
  Rika Ichinose cd2c8a6539 Faster RTTIManagementAndSize -_-. 11 months ago
  Rika Ichinose 6de766e40a Redesign RTTISizeAndOp to return more useful information. 11 months ago
  Rika Ichinose d7352e7b66 Remove most of the VER3_0 conditionals. 11 months ago
  Rika Ichinose 324b77f317 Let fpc_dynarray_concat(_multi) reuse the only nonempty input or append to the destination if possible. 1 year ago
  florian 7e69f399b3 * patch and test by Rika: fixes self inserts in Insert(x, dynarray) and improves Insert(x, dynarray), resolves #40417 1 year ago
  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 years ago
  florian 73b528d170 * patch by Rika: Remove dead code in DynArrayIndex, resolves #40194 2 years ago
  florian 6a902660a5 * patch by Rika: Make more use of fpc_*_array (mainly fpc_addref_array) in rtl/inc/dynarr.inc, resolves #40174 2 years ago
  florian 9f293df425 * export DynArrayAssign, resolves #39897 2 years ago
  florian 449cc8f152 * make use of AllocMem in fpc_dynarray_setlength 4 years ago
  svenbarth 15141124f4 * restore ability to cycle with 3.0.4 (at least until 3.2.2 is released) after r46890 4 years ago
  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) 4 years ago
  florian ed688aceee * remove packed from tdynarray, it is not needed and especially 64 bit CPUs which require proper aligment, suffer from it 6 years ago
  florian 217ae6e4bb * more fixes to rtti after attribute branch merging 6 years ago
  svenbarth 3ad24c9db8 * as attributes can be part of any type they are best suited in a common part of TTypeData 6 years ago
  pierre e4346b264f Add missing alignment in DynArrayIndex function 7 years ago
  svenbarth 8536abce8a * as the management operator feature is not platform specific using a specific define for it aside from a 7 years ago
  svenbarth 8606293028 * assume that dynamic arrays with a negative reference count are immutable (at least regarding their metadata) 7 years ago
  florian c230f81719 + support for <dyn. array>+<dyn. array>, resolves #30463 7 years ago
  svenbarth c87cee09fd * use the type information *parameter* not the unitialized parameter 7 years ago
  svenbarth 916ff0b92c + extend Concat() with support for dynamic arrays 7 years ago
  svenbarth c45f738081 * fix DynArrayIndex(): as the last typeinfo entry is no longer a dynamic array the elSize needs to be remembered 8 years ago
  svenbarth 8b5461367b * move TTypeKind from TypInfo unit to System unit as it's necessary for the future GetTypeKind() intrinsic 8 years ago
  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 years ago
  maciej-izak 0cff9fe83c * Call management operator (Initialize) for records when SetLength for dynamic arrays is used. 8 years ago