15 Commits

Author SHA1 Message Date
Allen Winter
52611ec317 Standardize project to KDAB copyright policy
For individual files: use year of file creation
For entire project:
  remove year from the statement
  use the © where feasible

reference:
https://matija.suklje.name/how-and-why-to-properly-write-copyright-statements-in-your-code
2024-01-19 15:51:29 -05:00
Allen Winter
c2f948d3d5 reuse headers
Change-Id: I2d7bd3dc68dc99a89a9d0a1ad5fe50257dc2773d
Reviewed-on: https://codereview.kdab.com/c/kdab/KDToolBox/+/132633
Reviewed-by: Allen Winter <allen@kdab.com>
2023-10-22 17:10:22 +02:00
Daniel Nicoletti
6b26c888b3 Remove qmake files
Change-Id: Ia1206a4876f141c9bb8d73e63aa2444d83d81607
Reviewed-on: https://codereview.kdab.com/c/kdab/KDToolBox/+/132432
Reviewed-by: Allen Winter <allen@kdab.com>
2023-10-20 21:32:29 +02:00
Allen Winter
5c9e4a76c7 various - split the author from the copyright line
Move the author from the copyright line to its own line.

Change-Id: I10cf4be74feede4654e29fe137605592a77d5baf
Reviewed-on: https://codereview.kdab.com/c/kdab/KDToolBox/+/132617
Reviewed-by: Allen Winter <allen@kdab.com>
2023-10-20 21:23:47 +02:00
Allen Winter
1b343d51e6 Run cmake-lint and cmake-format on the project
Change-Id: I700641db57ed4be043099a4dbead6abd33af1629
Reviewed-on: https://codereview.kdab.com/c/kdab/KDToolBox/+/132427
Reviewed-by: Allen Winter <allen@kdab.com>
2023-10-18 13:43:20 +02:00
Daniel Nicoletti
17f667bbcb Port to CMake
Change-Id: If90ba0a711e2bd8201d32a5d2fbfa3a3954a7a4b
Reviewed-on: https://codereview.kdab.com/c/kdab/KDToolBox/+/132391
Reviewed-by: Allen Winter <allen@kdab.com>
2023-10-18 13:20:02 +02:00
Allen Winter
48805d34a5 clang-format the entire project
Change-Id: I7bd6fcae97212dbde5b36caa74d74723166db42e
Reviewed-on: https://codereview.kdab.com/c/kdab/KDToolBox/+/120008
Reviewed-by: Allen Winter <allen@kdab.com>
2023-01-02 17:42:55 +01:00
Allen Winter
aba6f84eb7 various - end-of-file-fixer
Change-Id: I151e0e53c85b29635c30e591650e22124b97127e
Reviewed-on: https://codereview.kdab.com/c/kdab/KDToolBox/+/120007
Tested-by: Continuous Integration <build@kdab.com>
Reviewed-by: Allen Winter <allen@kdab.com>
2023-01-02 17:15:03 +01:00
Allen Winter
2ae3ab5be0 update copyright year
Change-Id: I432f497a7bb21a49e9eed3f9184b048248576160
Reviewed-on: https://codereview.kdab.com/c/kdab/KDToolBox/+/120009
Reviewed-by: Allen Winter <allen@kdab.com>
2023-01-02 17:13:56 +01:00
Allen Winter
a20588b92b update copyright year
Change-Id: If29d03a3b45a888be0b75cdf2405faebbba99b2b
Reviewed-on: https://codereview.kdab.com/c/kdab/KDToolBox/+/106758
Reviewed-by: Allen Winter <allen@kdab.com>
2022-01-21 22:00:34 +01:00
Marc Mutz
30801e4417 Add a configure check for C++20 and compile more tests in more C++ versions
Increases test coverage.

Change-Id: Ie996fea85401175d5fc5a7182fb2a0c35e7739c7
Reviewed-on: https://codereview.kdab.com/c/kdab/KDToolBox/+/98817
Tested-by: Continuous Integration <build@kdab.com>
Reviewed-by: Sérgio Martins <sergio@kdab.com>
2021-06-18 22:59:11 +02:00
Marc Mutz
cc03c86bf1 Fix some Clazy warnings
Change-Id: I97c13c0f1fad72518f8515e2b6ef724f6b91bea5
Reviewed-on: https://codereview.kdab.com/c/kdab/KDToolBox/+/98824
Tested-by: Continuous Integration <build@kdab.com>
Reviewed-by: Sérgio Martins <sergio@kdab.com>
2021-06-17 17:34:34 +02:00
Allen Winter
35cbcbda28 update copyright year
Change-Id: I7e05890e8d9573644ebccbcd05e63d62b51fbd41
Reviewed-on: https://codereview.kdab.com/c/kdab/KDToolBox/+/89461
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Tested-by: Continuous Integration <build@kdab.com>
2021-01-02 21:59:06 +01:00
Marc Mutz
2e52e8134c k20::erase: also handle deque, list, forward_list, and string
This completes this module.

Change-Id: I0e1240e32589ad2199cfdac0504f79e8adcce885
Reviewed-on: https://codereview.kdab.com/c/kdab/KDToolBox/+/86220
Tested-by: Continuous Integration <build@kdab.com>
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
2020-10-21 09:42:16 +02:00
Marc Mutz
43650b872f Short live k20::erase/_if()!
This is a back-port of C++20's Uniform Container Erasure, for vector
and the associative containers. It's easy to extend to all the other
container types, too, though, both in the implementation as well as in
the test.

This also lays the framework for more such components in the future
(k20::span?). See the README.md for more details.

Change-Id: I6d3d216c2d14910d09fa7438e97fe3ff6e3fe97a
Reviewed-on: https://codereview.kdab.com/c/kdab/KDToolBox/+/85864
Tested-by: Continuous Integration <build@kdab.com>
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
2020-10-12 11:02:01 +02:00