Martchus
82f835546e
Bump minor version
2022-07-29 22:01:16 +02:00
Martchus
7db3cfc274
Bump patch version
2022-07-14 00:25:59 +02:00
Martchus
08194f5d32
Bump minor version
2022-06-26 11:19:03 +02:00
Martchus
9e036a3f72
Allow enabling virtual terminal processing under Windows
...
* or disable use of ANSI-escape codes if not possible
* See https://github.com/Martchus/syncthingtray/issues/132
2022-06-07 16:46:54 +02:00
Martchus
7555e6854b
Add test helper to use std::optional via CPPUNIT_ASSERT_EQUAL
2022-05-15 02:18:07 +02:00
Martchus
f46855b130
Bump patch version
2022-05-12 20:09:06 +02:00
Martchus
3d59664021
Add `std::string_view` overloads to certain I/O functions
2022-03-04 21:04:22 +01:00
Martchus
77c353fb6c
Add `TickType` and integer overloads to chrono utilities
2022-02-15 23:01:25 +01:00
Martchus
a8fddad804
Add WorkingCopyMode::Cleanup
2022-01-08 23:35:01 +01:00
Martchus
4f89aa3b53
Bump patch version
2021-12-11 23:58:51 +01:00
Martchus
5563776061
Expose test name (created via `TestTarget.cmake`) for fixing downstream bug
...
This allows to set test properties in other projects as needed to fix
https://github.com/Martchus/syncthingtray/issues/116 .
2021-10-12 23:38:54 +02:00
Martchus
6d0148e2c3
Allow overriding BUILD_SHARED_LIBS via a project-specific cache variable
2021-09-11 17:07:43 +02:00
Martchus
c2ab0d8e29
Document `CMAKE_FIND_DEBUG_MODE`
2021-08-07 17:09:24 +02:00
Martchus
6558ff487a
Add BufferSearch (from arch-repo-manager) to use it in syncthingtray as well
2021-07-15 02:24:28 +02:00
Martchus
db87472be9
Unify and improve code for finding OpenSSL
...
* Unify code for use_openssl and use_crypto
* Make missing OpenSSL targets a fatal error if OpenSSL is required
* Add note that possibly the devel package is missing
* Under Tumbleweed with missing devel package I've got `OpenSSL_FOUND`
but no imported targets because the symlink from the devel package
was missing. This might be due to stale values within the CMake
cache.
2021-07-07 20:51:57 +02:00
Martchus
8bda5ce146
Bump patch version
2021-06-17 16:05:43 +02:00
Martchus
1ac1104535
Add workaround for Windows-specific console problems
...
* Allow disabling the hack for creating a console for
a GUI application via `ENABLE_CONSOLE=0` to workaround
downsides of this hack (pipes not working, possibly
spawns an additional console)
* Set the console's character set to UTF-8 by default
because this actually seems to work now and
non-ASCII characters are displayed correctly. There
is still an opt-out via `ENABLE_CP_UTF8=0`.
* Note that with mintty it just works anyways so using
that terminal emulator is still the best workaround.
2021-05-28 19:15:09 +02:00
Martchus
6d5045c2b1
Port away from deprecated WriteCompilerDetectionHeader module
2021-05-13 15:49:53 +02:00
Martchus
f549285fde
Fix splitString()/splitStringSimple() for case of empty trailing part
2021-05-11 16:42:28 +02:00
Martchus
c61a1784ec
Allow using splitStringSimple() with `std::unordered_set` in C++20
...
* So one could use e.g. `std::unordered_set<std::string_view>` as target
container when splitting an `std::string_view`.
* Still an experimental feature
2021-02-09 00:21:53 +01:00
Martchus
566d1cc42a
Bump patch version
2021-01-07 19:43:51 +01:00
Martchus
9e940a7858
Add helper to modify a flag enum
2020-12-14 20:56:37 +01:00
Martchus
c6095fbaf8
Add formattedPhraseString()
2020-11-18 00:37:43 +01:00
Martchus
b84a8fb5e5
Document META_QT_VERSION variable
2020-11-07 21:40:04 +01:00
Martchus
1f4fabcd9f
Add operators '*' and '/' to TimeSpan
2020-10-24 22:10:25 +02:00
Martchus
3a8ae77477
Improve handling configuration suffix
...
* Use configuration suffix when installing icons
* Include configuration name suffix in application name
This way differently configured versions of the same applications should be
co-installable within the same prefix. That is useful to install the Qt 6
version of an application alongside the Qt 5 version.
2020-10-23 16:58:41 +02:00
Martchus
a26f3d7e1a
Avoid instantiating an std::string for find and replace parameters
...
This overloads should allow passing an std::string_view or C-string to
findAndReplace() without instantiating an std::string.
2020-09-19 15:40:32 +02:00
Martchus
26b6ef0486
Avoid 'not a git repository (or any of the parent directories)' during configuration
...
Try to append the Git revision only if the source directory is actually a
Git checkout.
2020-09-12 22:24:45 +02:00
Martchus
6f6c2e607f
Reformat CMakeLists.txt with cmake-format 0.6.11
2020-08-11 23:13:09 +02:00
Martchus
b363498f53
Allow specifying return type in joinStrings()
...
for joining an std::string from an std::vector<std::string_view>.
2020-07-25 22:53:46 +02:00
Martchus
a9453483a7
Allow adding test targets manually
2020-06-15 22:28:19 +02:00
Martchus
52722be407
Add test helper execHelperAppInSearchPath()
2020-06-10 18:42:50 +02:00
Martchus
5dbcd1b391
Update README.md
2020-06-04 20:49:02 +02:00
Martchus
4b67736adf
Add DateTime::toIsoStringWithCustomDelimiters()
2020-04-11 21:51:52 +02:00
Martchus
53b4cbd8e9
Make fake Qt arguments operations
2020-04-05 21:40:01 +02:00
Martchus
7204bc6f06
Support using string builder with types convertible to target string type
...
So e.g. std::filesystem::path can be used to build an std::string.
2020-02-13 17:05:46 +01:00
Martchus
115133b7a5
Use target name for bash completion file
...
Otherwise it doesn't seem to be sourced automatically
2020-02-10 17:15:32 +01:00
Martchus
f5e275288d
Reformat CMake files with cmake-format 0.6.7
2020-01-26 19:24:04 +01:00
Martchus
5020214498
Add function to get string representation of phrase
2020-01-14 21:27:46 +01:00
Martchus
9d8135bfd7
Require CMake 3.3.0 in all modules
2020-01-10 18:01:13 +01:00
Martchus
8e6854985f
Mention CMAKE_<LANG>_CLANG_TIDY in buildvariables doc
2020-01-10 17:57:42 +01:00
Martchus
6376819c07
Apply cmake-format v0.6.0
2019-11-30 17:58:01 +01:00
Martchus
9a95db3773
Add BinaryReader::readRemainingBytes()
2019-10-30 20:29:26 +01:00
Martchus
a841d764d5
Use override in test fixtures
2019-10-13 18:27:41 +02:00
Martchus
43d2d280e1
Fix Bash completion for dirs when not using actual dir
2019-09-04 18:26:37 +02:00
Martchus
014127e4c4
Enable NativeFileStream under Linux by default
...
It is supposed to work and libstdc++'s __gnu_cxx::stdio_filebuf is
available anyways. Maybe sendfile() can be used at some point with
this to speed up Tag Editor.
2019-08-14 01:15:21 +02:00
Martchus
e8d829cadd
Add helper to ease creation of flag enums
...
Not sure whether this is the best way, especially the regarding
the namespacing - hence still experimental
2019-08-12 20:21:53 +02:00
Martchus
99bc257755
Apply cmake-format
2019-08-06 00:02:38 +02:00
Chih-Hsuan Yen
5f65ca43fa
Fix building on Mac OS X/macOS
...
Without project(), compiler flags like -std=gnu++17 are not applied
for non-Apple clang on Mac OS X/macOS.
2019-07-20 23:11:02 +08:00
Martchus
1be20da35a
Make use of std::filesystem optional
...
It is not available under Android yet and only used for
Bash completion. So make it optional to support Android by
disabling that part of the Bash completion which is not
useful under Android anyways.
2019-07-02 18:40:25 +02:00