Martchus
b0b92ff1bf
Allow marking argument as deprecated
2019-05-04 23:14:43 +02:00
Martchus
6d4e13f2dc
Use struct to store global application info
2019-05-04 22:49:57 +02:00
Martchus
80fba8b6d4
Reduce indentation in argumentparser.cpp
2019-05-04 22:35:00 +02:00
Martchus
04a8ef02d5
Remove deprecated dependencyVersions
2019-05-04 21:44:25 +02:00
Martchus
497826f634
Prevent warnings in argumentparser{,tests}.cpp
2019-05-04 21:44:25 +02:00
Martchus
151a3ae9e5
Apply clang-format
2019-05-04 20:58:23 +02:00
Martchus
a17f322f3c
Apply cmake-format
2019-05-04 20:57:56 +02:00
Martchus
c4128799bc
Fix test for libstd++/Windows NativeFileStream configuration
2019-05-04 15:49:41 +02:00
Martchus
e8f5c5c948
Log total test result
2019-05-04 15:47:31 +02:00
Martchus
1480d9ab63
Support installing multiple configurations within the same prefix
2019-05-04 01:59:45 +02:00
Martchus
8ffe0e6a51
Polish CMake code
2019-04-22 22:19:08 +02:00
Martchus
a6fdb3369a
Make unsuccessful testFilePath() throw an exception
2019-04-22 20:42:48 +02:00
Martchus
e9cc26478b
Don't mix building static and shared libraries
2019-04-22 20:42:48 +02:00
Martchus
6d7a6ab735
Don't pretent to add arguments implicitely
2019-04-13 20:33:39 +02:00
Martchus
cfdfc302db
Use exit function passed to argument parser
2019-04-13 20:33:39 +02:00
Martchus
57c896b547
Store boolean properties of Argument as flags
2019-04-13 20:33:39 +02:00
Martchus
9a50d2b8df
Remove types
2019-04-13 20:33:39 +02:00
Marius Kittler
132f936c57
Remove workaround for GCC Bug 66145
2019-04-13 20:33:39 +02:00
Marius Kittler
2f141adb6f
Remove random() function
2019-04-13 20:33:39 +02:00
Marius Kittler
73ddc55702
Inline some methods of BinaryReader/BinaryWriter
2019-04-13 20:33:39 +02:00
Marius Kittler
a7926951cb
Make firstPresentUncombinableArg() private
2019-04-13 20:33:39 +02:00
Marius Kittler
07a74d5fa8
Rename openFromFileDescriptor() to open()
2019-04-13 20:33:39 +02:00
Marius Kittler
4449198711
Remove file handle from NativeFileStream
2019-04-13 20:33:39 +02:00
Martchus
f40a800107
Remove USE_NOTHROW and make ConversionException inline
2019-04-13 20:33:39 +02:00
Martchus
62902f98e8
Remove settingsDirectory()
2019-04-13 20:33:39 +02:00
Martchus
716af584c5
Use CMakeParseArguments for add_custom_desktop_file()
2019-04-13 20:33:39 +02:00
Martchus
e79563569a
Improve Period class
2019-04-13 20:33:39 +02:00
Martchus
6088f6bb43
Don't include Qt-specific config in config.h
2019-04-13 20:33:39 +02:00
Martchus
ac8fe5d2c7
Improve constructors for test application
2019-04-13 20:33:39 +02:00
Martchus
264a349751
Remove widen.h, use iconv based string conversion instead
2019-04-13 20:33:39 +02:00
Martchus
bc8ea407bc
Prevent use of static variables in ArgumentParser
...
Have --no-color and --help added by default rather
so argument parser is in control over them and don't
has to use static functions.
2019-04-13 20:33:39 +02:00
Martchus
8b919250e3
chrono utils: Make public constants signed
2019-04-13 20:33:39 +02:00
Martchus
b178bb086c
Remove random utilities
2019-04-13 20:33:39 +02:00
Martchus
d99a611fbc
Bump major version 4 -> 5
2019-04-13 20:33:39 +02:00
Martchus
115426c1bc
Fix linking test target against static library
2019-04-13 20:31:40 +02:00
Martchus
41fa627ef4
Apply tidy
2019-03-11 17:47:17 +01:00
Martchus
7452d44e64
Prevent formatting bitrate as "-NaN GiB/s"
2019-03-10 16:26:23 +01:00
Martchus
0bd53c77b5
Query install directory for Qt plugins from qmake
2019-02-27 21:05:23 +01:00
Martchus
cf86358f55
Document TLS variable
2019-02-07 17:47:15 +01:00
Martchus
86f3bf8b3b
Apply cmake-format
2019-02-06 17:30:52 +01:00
Martchus
42dd86a16e
Support cmake-format via tidy target
2019-02-05 22:51:07 +01:00
Martchus
da0cf4ff29
Fix build under Android platform >= 24
...
This alters the ABI but it is ok since with that config
a build was previously impossible anyways.
2019-02-04 00:40:50 +01:00
Martchus
789af62d97
Add workingCopyPathAs()
2019-01-20 22:56:22 +01:00
Martchus
d21cde6fe3
Remove unused variable in testFilePath()
2019-01-20 22:16:07 +01:00
Martchus
8b35d06aa7
Improve documentation for testFilePath()/workingCopyPath()
2019-01-20 22:15:35 +01:00
Martchus
70f4b20d8a
Document META_ADD_DEFAULT_CPP_UNIT_TEST_APPLICATION
2019-01-13 22:48:49 +01:00
Martchus
b2bf0a002b
Allow to add default cppunit test application
...
To get rid of the boilderplate file "cppunit.cpp" in each
project using cppunit for tests.
2019-01-13 22:14:42 +01:00
Martchus
f66aa33d61
Reduce indentation in TestTarget.cmake
2019-01-13 22:01:52 +01:00
Martchus
a0dff23c26
Remove extra handling for big endian
...
The detection for big endian seems to work. But the special
handling for big endian is wrong. Only without it tests pass
under ppc64. Tested with Tumbleweed ppc64 image ran within
qemu-system-ppc64.
2019-01-12 04:53:05 +01:00
Martchus
fe4d2b5778
Improve readability of endianness detection
2018-12-29 23:48:01 +01:00