Martchus
64cc931555
Improve CMake modules
6 years ago
Martchus
789b9e9184
Add macro to auto init resources of static deps
...
The actual generation of the macro code is done
in qtutilities
6 years ago
Martchus
9087e8da7e
Fix dependency of res file for built-in translations
6 years ago
Martchus
af1ab16d77
Use CPPUNIT_ASSERT_EQUAL where possible
6 years ago
Martchus
c4cf107de2
Make cast in binary reader explicit
6 years ago
Martchus
c4d73b0d7d
Use C++14 string literal
6 years ago
Martchus
06af1c4a73
Use std::make_unique provided by C++14
6 years ago
Martchus
96c4e24b6c
Require C++14
6 years ago
Martchus
c13eee6fcc
Add workingCopyPathMode() to be able to skip actual copy
6 years ago
Martchus
cb3b50c28c
Allow overriding default CXX_STANDARD
...
to ease using newer C++ features in further
projects without setting the standard manually
for each target
6 years ago
Martchus
6115933756
Add convenience function to read entire file at once
6 years ago
Martchus
94a6b47811
Improve documentation
6 years ago
Martchus
1ace53533a
string builder: Remove unused code
6 years ago
Martchus
17fe42e0ad
string builder: Support integral types directly
...
Not only convenient but also performance improvement
6 years ago
Martchus
df1605c9b1
Add trait to detect template specialization
...
Useful to check for std::tuple
6 years ago
Martchus
39960ccef1
Add simple benachmark for string builder
6 years ago
Martchus
33d368397f
Make use of newly introduced string builder
6 years ago
Martchus
5c004015ce
string builder: Fix ambiguity issues
6 years ago
Martchus
5eec3c3c9b
traits: Fix Any and add Enable-/DisableIfAny
6 years ago
Martchus
a772cdf30b
Add conveniently usable string builder
...
which allows fast string building without multiple heap allocations
6 years ago
Martchus
f23c381da4
Support dylib extension used under macOS
6 years ago
Martchus
1bff266fa9
Add missing #endif in platform detection
6 years ago
Martchus
8d95b4497f
Clean io/path.h
6 years ago
Martchus
c4ed080b34
Fix platform detection
...
* Consider macOS a UNIX system
* Remove compiler conditions for PLATFORM_MAC
6 years ago
Martchus
640d20c463
Make Qt translations of dependencies available in config.h
6 years ago
Martchus
81913922a6
Merge pull request #3 from svnpenn/master
...
io/nativefilestream.cpp: proper catchiofailure.h include
6 years ago
Steven Penny
025be1e54e
io/nativefilestream.cpp: proper catchiofailure.h include
...
1. Using <> makes no sense if cpp-utilities is being built for first time
2. Again, search in <prefix>/c++utilities/io makes no sense if cpp-utilities is
being built for first time
6 years ago
Martchus
737f73e71a
Make forcing UTF-8 codepage optional
6 years ago
Martchus
28d2063d33
Fix Bash completion for abbreviations
6 years ago
Martchus
cab332bcad
Refactor reading arguments
...
Replace ArgumentParser::readSpecifiedArgs() with
ArgumentReader class to simplify argument list
6 years ago
Martchus
9d91cfca07
Add NativeFileStream to support unicode filenames under Windows
6 years ago
Martchus
59a8dfe833
Convert args to UTF-8 under Windows
6 years ago
Martchus
89cb027786
Ensure console output is UTF-8 under Windows
6 years ago
Martchus
36246d3895
Allow adding files for documentation only
6 years ago
Martchus
939a43e348
Clean argument parser tests
6 years ago
Martchus
416008da1a
Set compile definitions for tests
6 years ago
Martchus
82b5bf3f1d
Fix Bash completion when last pre-defined value matches
6 years ago
Martchus
70869f24a8
Add method to reset arguments recursively
6 years ago
Martchus
d8b9845d15
Document building and linking with static libs
6 years ago
Martchus
116ab9a238
Add note about Cygwin in README.md
6 years ago
Martchus
4503f3fd9d
Include imported targets actually
6 years ago
Martchus
ade4565e0c
Make Windows icon optional
6 years ago
Martchus
9c97d8722d
Merge pull request #2 from Martchus/cygwin_fix
...
Fix compilation on Cygwin
6 years ago
Martchus
d18c7dc9f7
Improve README.md
6 years ago
Martchus
c1e18fcbf5
Fix compilation on Cygwin
6 years ago
Martchus
9f3ca443e4
Make ArgumentParser::verifyArgs() more strict
6 years ago
Martchus
bbb884da30
Don't imply args which can't be combined
...
Leads to more useful error messages if an unknown
argument has been specified.
6 years ago
Martchus
4c0a1d1169
Fix minor mistake in argument parser
6 years ago
Martchus
2be349856f
Make numberToString/stringToNumber work with u16string
...
Don't rely on std::basic_stringstream at least for
integral types.
6 years ago
Martchus
bd9cdfccb2
Add traits for exploiting SFINAE
6 years ago