Martchus
429de98836
Add algorithm for computing Damerau–Levenshtein distance
4 years ago
Martchus
034b8a75d1
Add min(), max() for any number of arguments
4 years ago
Martchus
c26e84ff8c
Add TODOs for math utilities
4 years ago
Martchus
25057fa8e3
Add MultiArray class which provides an N-dimensional array
4 years ago
Martchus
52bf075317
Move creation of srcdirref and testfiles dir to BasicConfig
Those make testing more convenient and are also useful when
there's no test target, eg. when testing syncthingtray with
mocked configuration.
4 years ago
Martchus
94e76f5a1a
Add experimental methods to convert argument values
* Currently lacks error handling
* Needs testing
4 years ago
Martchus
26a286a7db
Prevent installation of private header
4 years ago
Martchus
c8bf068e74
Reorder method declarations in Argument and ArgumentParser
So it becomes clear which parts might be moved to a separate class
to prevent Argument from becoming to big.
4 years ago
Martchus
64be5bce63
Document the whole story behind catchiofailure.cpp
4 years ago
Martchus
51e87f3740
Don't wrongly detect libstdc++ 6.4 as >= 7
6.4 has been release after 20170502 but still throws
ios_base::failure with old ABI. It is not a good idea
to use the timestamp to distinguish release versions.
Note that _GLIBCXX_RELEASE is not defined in older
GCC versions. But if the macro is not present, we also
know that it will throw the old version.
4 years ago
Martchus
557856dc5c
Apply clang-format
4 years ago
Martchus
8bc3cf9615
Add phrase for overriding current line
4 years ago
Martchus
76ee4a158b
Add color overload for ANSI escape codes
4 years ago
Martchus
e2e4b4641f
Add EscapeCodes::Strikethrough
4 years ago
Martchus
df7a3ee93c
Apply clang-format from LLVM 6
4 years ago
Martchus
7cafdd551e
Fix wrong negation to enable Doxygen target
4 years ago
Martchus
9a352e0b8f
Do not add source files to Doxygen target
Adding the files only has the effect that the files
are shown in the IDE. However, the files should be present
anyways and adding them again causes Qt Creator to
accidently use the wrong target for the code model.
4 years ago
Martchus
7b974a1b1d
Add 'const char *' overload to ConversionException
4 years ago
Martchus
19332033ec
Format all GUI-only files
4 years ago
Martchus
55649d750a
Fix calling verifyArgs()
4 years ago
Martchus
6249db3b09
Remove unused parameter in ArgumentParser::verifyArgs()
4 years ago
Martchus
007235973a
Use DateTime::exactGmtNow in stringbuilder benchmark
4 years ago
Martchus
9e8ec0fcd5
Split Qt-specific config from other config
So adding Qt-specific config does not require a change
in c++utilities anymore.
4 years ago
Martchus
cdecc48a1d
Fix warning about signedness conversion in BinaryReader
Length is expected to be positive
4 years ago
Martchus
da5a027ea3
Add simplified, string_view-compatible version of splitString()
4 years ago
Martchus
8a83870ac7
Allow variable number of digits in license versions
4 years ago
Martchus
d684e20bfc
Add launchable to appdata.xml
4 years ago
Martchus
0dcbb3de55
Improve coding style in CMake modules
4 years ago
Martchus
eea5aa57bc
Fix reading version of static Qt 5 modules
4 years ago
Martchus
7c8580d579
Add license to config
4 years ago
Martchus
e57e79f9c9
Stringify meta data in template
4 years ago
Martchus
486c99f7fd
Determine project license automatically
4 years ago
Martchus
989d1d20c8
Allow using templated appdata body
4 years ago
Martchus
4da48b0546
Install appdata.xml template
4 years ago
Martchus
6300e37924
Install shared/static config
4 years ago
Martchus
486a09c1c5
Add basic template for meta info
4 years ago
Martchus
3fcbaf7fff
Split shared and static configuration
4 years ago
Martchus
3a768508fd
Use src dir as fallback unless arg *and* env var specified
4 years ago
Martchus
6a1280ba8a
Fix warning about implicit conversion
4 years ago
Martchus
53c3d72833
Increase version 4.12.0 -> 4.12.1
4 years ago
Martchus
b375ea80b0
Deprecate BinaryReader::readTerminatedString() methods
4 years ago
Martchus
209a59106e
Fix BinaryReader::readMultibyteTerminatedStringXX methods
4 years ago
Martchus
d6361e1cfd
Fix some mistakes in ANSI escape codes
4 years ago
Martchus
e3310792d3
Improve tests for IO utilities
4 years ago
Martchus
bc61461b7a
Improve tests of conversion utilities
4 years ago
Martchus
2862c81a23
Fix ISO date string parsing/formatting
4 years ago
Martchus
9ed143e7d5
Improve chrono tests
4 years ago
Martchus
368fc46e47
Improve tests of argument parser
4 years ago
Martchus
2a797e436d
Improve documentation of value completion behaviour
4 years ago
Martchus
8c42a4644b
Simplify ArgumentParser::readArgs()
4 years ago