1. 17 Sep, 2022 1 commit
  2. 16 Sep, 2022 1 commit
  3. 05 Sep, 2022 1 commit
  4. 30 Aug, 2022 1 commit
  5. 25 Aug, 2022 1 commit
  6. 17 Aug, 2022 1 commit
  7. 07 Aug, 2022 1 commit
  8. 09 Jul, 2022 1 commit
  9. 02 Jul, 2022 1 commit
  10. 01 Jul, 2022 1 commit
  11. 28 Jun, 2022 1 commit
  12. 14 Jun, 2022 1 commit
  13. 12 Jun, 2022 1 commit
  14. 04 Jun, 2022 1 commit
  15. 26 May, 2022 1 commit
  16. 24 May, 2022 1 commit
  17. 14 May, 2022 1 commit
  18. 12 Apr, 2022 1 commit
  19. 10 Apr, 2022 1 commit
  20. 09 Apr, 2022 1 commit
  21. 05 Apr, 2022 1 commit
  22. 02 Apr, 2022 1 commit
  23. 13 Mar, 2022 1 commit
  24. 05 Mar, 2022 1 commit
  25. 02 Mar, 2022 1 commit
  26. 28 Feb, 2022 1 commit
  27. 16 Feb, 2022 1 commit
  28. 05 Feb, 2022 1 commit
  29. 15 Jan, 2022 1 commit
  30. 10 Jan, 2022 1 commit
  31. 08 Jan, 2022 1 commit
  32. 06 Jan, 2022 1 commit
  33. 01 Jan, 2022 1 commit
  34. 29 Dec, 2021 1 commit
  35. 26 Dec, 2021 1 commit
  36. 20 Dec, 2021 1 commit
  37. 19 Dec, 2021 1 commit
    • Volker Krause's avatar
      Prepare for KUnitConversion::Unit to become non-virtual in KF6 · 325b63b9
      Volker Krause authored
      Any "real" inheritance would be subject to slicing given Unit instances
      are treated as a value type everywhere. As inheritance right now is only
      used to bypass access control, use helper methods in UnitPrivate for that
      and actually make it a real value type in KF6.
      
      This also marks all dptr access for de-inlining in KF6, which clears the
      way for potentially further optimizing this, as the majority of dptr
      instances are entirely static data but are currently all dynamically
      allocated.
      
      A change along these lines is probably desirable for UnitCategory as well.
      325b63b9
  38. 13 Dec, 2021 1 commit
  39. 09 Dec, 2021 1 commit
  40. 08 Dec, 2021 1 commit
    • Volker Krause's avatar
      Fix cyclic reference between Unit and UnitCategory · 66ed1e68
      Volker Krause authored
      This made Unit/UnitCategory practically undeletable, as seen for example
      by the numerous valgrind/LSAN complaints for the unit tests. To solve this
      the reference to UnitCategory inside Unit is now just a raw pointer.
      
      This is unfortunately not the only problem here, UnitCategory being
      polymorphic but treated as a value type causes slicing. This works by
      chance as the sub-classes only contain logic in their ctor, but have no
      member variables or overloaded methods. This is why this solution works,
      but the slicing also happened before already.
      66ed1e68