Martchus
f50e615ee0
Emit warning when RDNS or developer ID is overridden
2024-05-18 13:57:25 +02:00
Martchus
2664affadc
Apply cmake-format
2024-05-18 13:40:26 +02:00
Martchus
684e0b0344
Avoid treating `-Waddress` as errors (despite treating warnings as errors)
...
This warning shows up too often in tests where it is most likely wrong.
2024-05-18 13:25:45 +02:00
Martchus
d180667293
Add presets to compile with clang
2024-05-18 13:22:52 +02:00
Martchus
13dfb81ff2
Use reverse DNS also for developer ID
...
See https://github.com/flathub/flathub/pull/5255#discussion_r1605337900
2024-05-17 23:28:39 +02:00
Martchus
5fe20bc406
Specify the developer ID in AppStream meta-data
...
See https://github.com/Martchus/syncthingtray/issues/261#issuecomment-2115804196
2024-05-16 22:46:22 +02:00
Martchus
054612f753
Install AppData file with `.metainfo.xml` extension as this is the standard
...
According to https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData
the extension `.metainfo.xml` is now the standard and `.appdata.xml` is
only supported for historical reasons.
2024-05-15 18:00:48 +02:00
Martchus
14e9561e16
Allow overriding the RDNS used in AppStream meta-data files
2024-05-15 15:31:10 +02:00
Martchus
beee01c147
Fix deducing rdns meta-data if the URL actually points to GitHub pages
2024-05-15 15:24:11 +02:00
Martchus
9bb224c2ba
Remove redundant `CPPFLAGS` from CMakePresets.json
2024-05-14 09:21:16 +02:00
Martchus
d2928517c5
Bump patch version
2024-05-14 09:19:51 +02:00
Martchus
0c652a774e
Fix definition of GOROOT in presets
...
It needs to be an env variable; not a CMake variable.
2024-05-01 23:20:19 +02:00
Martchus
9c687bd723
Fix include directories of test targets after a7fdc1af1
...
The include directories need to be set for test targets as well; otherwise
they cannot compile unless tests link against the main target as well.
2024-04-26 22:55:58 +02:00
Martchus
65ffed8151
Remove reference to non-existent script
2024-04-13 17:06:41 +02:00
Martchus
957c044e63
Enable targets for mingw-w64 cross-packaging in mingw-w64 CMake presets
2024-04-13 17:02:54 +02:00
Martchus
a4c18017b7
Avoid duplications in mingw-w64 CMake presets
2024-04-13 17:00:04 +02:00
Martchus
73a837962d
Adapt the `arch-…-w64-mingw32-static` presets
...
Not sure what has changed but it seems that these extra variables are now
required to avoid linking against certain shared libraries.
2024-04-12 00:43:41 +02:00
Martchus
8502d1bc2a
Add `arch-…-w64-mingw32…-devel-qt6` presets
2024-04-11 23:35:33 +02:00
Martchus
afc3413e9c
Add `arch-i686-w64-mingw32…`-presets
2024-04-11 23:28:19 +02:00
Martchus
ae908283a0
Bump patch version
2024-04-08 12:34:27 +02:00
Martchus
d31092b7d9
Apply clang-format
2024-04-08 12:33:57 +02:00
Martchus
dfbf300c65
Expose name of default desktop file via config header
2024-04-08 12:33:40 +02:00
Martchus
909346c199
Fix reserving size for error message in `charToDigit()`
2024-02-27 02:16:52 +01:00
Martchus
c9cd44ceee
Apply clang-format
2024-02-22 19:41:29 +01:00
Martchus
a43affa81a
Avoid `global.h` changing depending on target prefix/suffix
...
Just using the project name should be sufficient and this avoid `global.h`
from changing when a different target prefix/suffix is used.
2024-02-22 19:41:15 +01:00
Martchus
d8e144d312
Optimize `numberToString()`
...
This function is slower than it needs to be due to the expensive inserts at
the front of the string. The new version is 38 times faster for a 9-digit
number using GCC 13.2 with full optimizations according to Quick Bench.
2024-02-21 21:21:11 +01:00
Martchus
a337452179
Fix typo in README
2024-02-16 17:42:15 +01:00
Martchus
6cb0e63921
Avoid warnings about unused return values by MSVC
2024-02-15 18:40:44 +01:00
Martchus
a4625b8e34
Bump patch version
2024-02-15 18:40:11 +01:00
Martchus
a4be8a56d1
Avoid problems with CppUnit's macros when doing unity builds
2024-02-04 20:56:27 +01:00
Martchus
ce31de2c6f
Fix tests when making a unity build
...
The formatting for chrono types needs to be included before CppUnit
headers. This change makes sure of that by simply including that header via
`tests/testutils.h`. The `chrono/format.h` header is not big (including the
header it includes) so this should not be a big deal.
2024-01-30 23:08:14 +01:00
Martchus
bc00bdcdc9
Apply cmake-format
2024-01-30 22:38:52 +01:00
Martchus
57579f0164
Add preset for unity builds
...
This is not working for most of my projects due to conflicting macros.
2024-01-30 22:38:39 +01:00
Martchus
a7fdc1af1b
Allow writing public compile definitions to a header file
...
This is useful as it makes consuming libraries less dependent on using the
CMake module or pkg-config file correctly. This should especially decrease
the likelihood of running into linker errors when consuming a static build
of the libraries where e.g. `CPP_UTILITIES_STATIC` needs to be defined.
2024-01-30 22:13:25 +01:00
Martchus
27043d2be0
Fix typo in comment
2024-01-30 00:44:54 +01:00
Martchus
b526d79eaf
Always use a process group in helper for involing test applications
...
So far only the implementation using Boost.Process was using a process
group; with this change also the implementation using POSIX APIs uses a
process group. This way the code can wait until all sub processes have
terminated.
2024-01-28 21:55:13 +01:00
Martchus
995c315377
Allow semicolons in categories and additional entries for desktop file
...
Pass these variables as multi-value arguments to get more than just the
part before the first semicolon.
2024-01-27 02:54:27 +01:00
Martchus
d08794b11d
Allow setting `DESKTOP_FILE_ADDITIONAL_ENTRIES` manually
2024-01-27 02:51:41 +01:00
Martchus
1a0c4fbce0
Update copyright date
2024-01-23 00:25:55 +01:00
Martchus
c25a3c9c9a
Improve error handling when launching test process
...
* Use `EXIT_FAILURE` instead of an arbitrary exit status
* Print the error message
2024-01-20 17:38:14 +01:00
Martchus
c9dea06cfe
Remove outdated remarks about `execApp()` and similar test helpers
...
These functions are supported also on other platforms via Boost.Process.
2024-01-20 17:35:17 +01:00
Martchus
ad686a1be7
Bump patch version
2024-01-20 17:33:47 +01:00
Martchus
85c76708c9
Mention setting GOROOT for building with MSYS2 mingw-w64 packaging
2024-01-02 15:32:14 +01:00
Martchus
c17c8e7815
Set `GOROOT` for `x64-windows-static` preset in accordance with `GO_BIN`
...
Unfortunately the final linking still doesn't work due to conflicting
symbols (and using the ucrt64 version doesn't change that).
2023-12-30 19:34:22 +01:00
Martchus
f97320816a
Change Bash completion code for dirs/files to new coding style
2023-12-29 16:34:26 +01:00
Martchus
6f924da4f0
Make code for processing escaping in Bash completion more generic
2023-12-29 16:30:55 +01:00
Martchus
b3b7166812
Fix bash completion when path contains round brackets
2023-12-29 16:09:55 +01:00
Martchus
8bffc93316
Improve instructions about building on Windows
2023-12-25 00:56:50 +01:00
Martchus
456bbfc54e
Avoid hardcoding the versioned subdirectory within `WIN_KITS_ROOT`
2023-12-25 00:56:50 +01:00
Martchus
b0be8817ad
Bump patch version
2023-12-25 00:56:50 +01:00