Martchus
8e6854985f
Mention CMAKE_<LANG>_CLANG_TIDY in buildvariables doc
2020-01-10 17:57:42 +01:00
Martchus
16103c0662
Add missing <string> include in traits header
2020-01-01 16:38:04 +01:00
Martchus
d76d78ae71
Fix childs -> children
2019-12-30 22:52:23 +01:00
Martchus
c554aebf07
Use type aliases in IniFile
2019-12-27 01:46:21 +01:00
Martchus
1ce06517cc
Apply cmake-format 0.6.5
2019-12-27 01:45:30 +01:00
Martchus
1bdc088b54
Close workingCopy in workingCopyPathAs() for correct error handling
2019-12-15 19:01:04 +01:00
Martchus
07ae1588fa
Add writeFile()
...
Due to the required `file.close()` at then end this is easy
to get wrong. So let's add a helper.
2019-12-15 19:00:15 +01:00
Martchus
3fb40baebc
Reformat CMake scripts against cmake-format 0.6.3
2019-12-15 18:58:42 +01:00
Martchus
6376819c07
Apply cmake-format v0.6.0
2019-11-30 17:58:01 +01:00
Martchus
7376a2bb9b
Support string builder operator '+' for std::string_view
2019-11-28 23:10:16 +01:00
Martchus
b8a60a0cd4
Support string builder operator '%' for std::string_view
2019-11-28 23:05:55 +01:00
Martchus
8e3aa84780
Support std::string_view in stringbuilder.h
2019-11-28 22:34:10 +01:00
Martchus
46bebace20
Consider std::basic_string_view a string in Traits::IsString
...
* Fix e.g. using std::string_view with CppUnit and
the tests/testutils.h header
* Fix documentation
* Possibly a source incompatible change in some rare uses but
not worth a major version bump
2019-11-28 22:32:47 +01:00
Martchus
085ec2feca
Improve DateTime
...
* Improve documentation about time zone handling
* Add DateTime::toTimeStamp()
* Add experimental DateTime::fromChronoTimePoint()
and DateTime::fromChronoTimePointGmt()
2019-11-17 22:30:51 +01:00
Martchus
83180119c2
Add Phrases::InfoMessage
2019-11-17 22:26:13 +01:00
Martchus
4e3393ee72
Apply clang-format
2019-10-30 23:02:30 +01:00
Martchus
a383d7dac5
Use CPPUNIT_ASSERT_EQUAL in IoTests::testBinaryReader()
2019-10-30 20:34:34 +01:00
Martchus
1177381521
Add CppUtilities::endsWith()
2019-10-30 20:34:16 +01:00
Martchus
9a95db3773
Add BinaryReader::readRemainingBytes()
2019-10-30 20:29:26 +01:00
Martchus
2cdde81077
Fix startsWith() if strings are equal
2019-10-27 17:59:26 +01:00
Martchus
a841d764d5
Use override in test fixtures
2019-10-13 18:27:41 +02:00
Martchus
f72b3c2ad9
Update packaging section in README.md
2019-09-25 18:19:18 +02:00
Martchus
23b774e374
Update ArgumentParser::parseArgs()/readArgs() documentation
2019-09-14 20:53:25 +02:00
Martchus
7cdfca9407
Apply cmake-format
2019-09-14 20:52:57 +02:00
Martchus
9cc6be4d4c
Suppress "Available top-level options:" if none available
2019-09-14 20:52:35 +02:00
Martchus
5c098df8d7
Fill last gaps in class list documentation
2019-09-04 18:54:48 +02:00
Martchus
ecdebebab8
Exclude private structs from documentation
2019-09-04 18:51:17 +02:00
Martchus
ae2f25f3f4
Use consistent include guards for application utilities
2019-09-04 18:45:48 +02:00
Martchus
b693c72eb1
Fix old namespaces being mentioned in the documentation
2019-09-04 18:45:28 +02:00
Martchus
43d2d280e1
Fix Bash completion for dirs when not using actual dir
2019-09-04 18:26:37 +02:00
Martchus
03fdc62dce
Remove obsolete documentation
2019-09-01 16:34:09 +02:00
Martchus
6282abca41
Extend platform specific notes in README
2019-08-24 13:06:43 +02:00
Martchus
ea2804f147
Allow user to append custom libs to linker line
...
Use-case is explained in the documentation. This implementation
takes care that the additional libs actually occur at the end
of the linker line despite the use of imported targets with
INTERFACE_LINK_LIBRARIES. It might still not be perfect but
sufficient for current use-cases.
2019-08-24 13:00:32 +02:00
Martchus
0cbc471743
Document QT_PLUGIN_DIR
2019-08-24 11:43:55 +02:00
Martchus
f9e545abdc
Remove surplus whitespace
2019-08-21 22:31:04 +02:00
Martchus
e14b5bf335
Remove unused CMake variable
2019-08-20 22:08:47 +02:00
Martchus
0feb7d667e
Add inline/constexpr to more functions in chrono lib
2019-08-19 19:09:19 +02:00
Martchus
bc9e05ccb7
Fix typo in Damerau–Levenshtein documentation
2019-08-16 14:38:57 +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
3947504a63
Prevent clang-format from messing CPP_UTILITIES_MARK_FLAG_ENUM_CLASS
2019-08-13 00:34:07 +02:00
Martchus
db4cba4fe5
Add NativeFileStream overloads to CopyHelper
...
In a future version these overloads could use native APIs such
as POSIX sendfile() to improve the speed. Libraries such as
tagparser will benefit from this change automatically when in
places where NativeFileStream is already used anyways.
2019-08-13 00:32:59 +02:00
Martchus
5bed21c9d2
Improve NativeFileStream
...
* Expose native file descriptor/handle to be able to
use native APIs like POSIX sendfile()
* Fix using Boost.Iostreams under Windows
* Make it compile
* Workaround issue with append flag
2019-08-13 00:28:25 +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
f9bd0b5987
Don't use @META_CONFIG_SUFFIX@ in APP_SPECIFIC_QT_TRANSLATION_FILES
...
See a40d2974e0
2019-08-09 23:20:10 +02:00
Martchus
c483dcc7bf
Remove obsolete code for handling static targets
2019-08-06 17:43:12 +02:00
Martchus
99bc257755
Apply cmake-format
2019-08-06 00:02:38 +02:00
Martchus
d168717023
Configure install destinations already in BasicConfig.cmake
...
It might be already useful before the library config is applied.
2019-08-05 23:46:09 +02:00
Martchus
de2d6f6d98
Improve pkg-config file generation
...
* Prevent imported library paths pointing to build directory
ending up in pkg-config file
* Handle targets which reference other targets but have not pkg-config
module
* Fix check for BUNDLED_TARGETS
2019-08-05 23:45:08 +02:00
Martchus
79855f285d
Improve pkg-config file generation
...
* Don't refer to bundles libraries via its imported location
* Add dependencies of imported targets
2019-08-05 19:07:49 +02:00
Martchus
389a0ef4da
Apply clang-format
2019-07-26 22:01:25 +02:00