Martchus
a772cdf30b
Add conveniently usable string builder
...
which allows fast string building without multiple heap allocations
2017-01-26 22:16:18 +01:00
Martchus
f23c381da4
Support dylib extension used under macOS
2017-01-15 17:44:23 +01:00
Martchus
1bff266fa9
Add missing #endif in platform detection
2017-01-14 02:24:36 +01:00
Martchus
8d95b4497f
Clean io/path.h
2017-01-14 00:33:02 +01:00
Martchus
c4ed080b34
Fix platform detection
...
* Consider macOS a UNIX system
* Remove compiler conditions for PLATFORM_MAC
2017-01-14 00:29:43 +01:00
Martchus
640d20c463
Make Qt translations of dependencies available in config.h
2017-01-07 16:07:03 +01:00
Martchus
81913922a6
Merge pull request #3 from svnpenn/master
...
io/nativefilestream.cpp: proper catchiofailure.h include
2016-12-30 09:54:58 +01:00
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
2016-12-29 22:16:38 -06:00
Martchus
737f73e71a
Make forcing UTF-8 codepage optional
2016-12-24 16:08:09 +01:00
Martchus
28d2063d33
Fix Bash completion for abbreviations
2016-12-24 16:07:43 +01:00
Martchus
cab332bcad
Refactor reading arguments
...
Replace ArgumentParser::readSpecifiedArgs() with
ArgumentReader class to simplify argument list
2016-12-23 22:40:33 +01:00
Martchus
9d91cfca07
Add NativeFileStream to support unicode filenames under Windows
2016-12-21 00:29:57 +01:00
Martchus
59a8dfe833
Convert args to UTF-8 under Windows
2016-12-19 23:44:34 +01:00
Martchus
89cb027786
Ensure console output is UTF-8 under Windows
2016-12-19 23:43:24 +01:00
Martchus
36246d3895
Allow adding files for documentation only
2016-12-11 17:09:02 +01:00
Martchus
939a43e348
Clean argument parser tests
2016-12-07 21:06:21 +01:00
Martchus
416008da1a
Set compile definitions for tests
2016-11-26 13:06:27 +01:00
Martchus
82b5bf3f1d
Fix Bash completion when last pre-defined value matches
2016-11-26 00:14:45 +01:00
Martchus
70869f24a8
Add method to reset arguments recursively
2016-11-26 00:11:48 +01:00
Martchus
d8b9845d15
Document building and linking with static libs
2016-11-23 00:39:43 +01:00
Martchus
116ab9a238
Add note about Cygwin in README.md
2016-11-21 20:39:01 +01:00
Martchus
4503f3fd9d
Include imported targets actually
2016-11-21 20:14:10 +01:00
Martchus
ade4565e0c
Make Windows icon optional
2016-11-21 19:54:53 +01:00
Martchus
9c97d8722d
Merge pull request #2 from Martchus/cygwin_fix
...
Fix compilation on Cygwin
2016-11-19 00:46:58 +01:00
Martchus
d18c7dc9f7
Improve README.md
2016-11-18 18:31:48 +01:00
Martchus
c1e18fcbf5
Fix compilation on Cygwin
2016-11-18 16:41:46 +01:00
Martchus
9f3ca443e4
Make ArgumentParser::verifyArgs() more strict
2016-11-15 22:02:40 +01:00
Martchus
bbb884da30
Don't imply args which can't be combined
...
Leads to more useful error messages if an unknown
argument has been specified.
2016-11-15 21:44:23 +01:00
Martchus
4c0a1d1169
Fix minor mistake in argument parser
2016-11-14 22:38:21 +01:00
Martchus
2be349856f
Make numberToString/stringToNumber work with u16string
...
Don't rely on std::basic_stringstream at least for
integral types.
2016-11-13 23:06:03 +01:00
Martchus
bd9cdfccb2
Add traits for exploiting SFINAE
2016-11-13 22:51:09 +01:00
Martchus
722e9ae590
Improve install-mingw-w64-strip target
2016-11-12 02:06:52 +01:00
Martchus
b903adccdb
Provide an imported target for libs
2016-11-12 02:06:52 +01:00
Martchus
e09386f6ed
Allow adding 'GenericName' in *.desktop file
2016-11-04 14:02:23 +01:00
Martchus
e8b3f72f50
Log currently processed project
2016-11-04 10:41:16 +01:00
Martchus
a1189d3c3b
Allow specifying custom exit() function
2016-10-30 00:37:28 +02:00
Martchus
438ca48cbb
Improve doc
2016-10-30 00:30:54 +02:00
Martchus
5119bb5c6a
Improve ArgumentParser::readSpecifiedArgs()
...
- Fix minor issues
- Add further test cases
2016-10-29 23:54:30 +02:00
Martchus
97925f1252
Don't rely on file completions being in specific order
2016-10-29 00:50:17 +02:00
Martchus
aed4788c64
Make 'DirectoryEntryType &operator|=' not constexpr
2016-10-29 00:24:18 +02:00
Martchus
6bdc5436ca
Call wine actually
2016-10-29 00:21:42 +02:00
Martchus
6e7e87b73f
Improve use of 3rd party libs
2016-10-29 00:19:47 +02:00
Martchus
77c454b304
Allow exact shared object version
2016-10-22 21:00:33 +02:00
Martchus
72426e2d4c
Fix bash completion when dir/file contains single quote
...
Also a few other improvements in bash completion code
2016-10-22 20:52:08 +02:00
Martchus
73d42c287c
Support desktop actions and other additional desktop entries
2016-10-19 20:59:54 +02:00
Martchus
deabf7f6bf
Handle transitive Qt module dependencies correctly
...
Required in case of static builds
2016-10-08 19:04:30 +02:00
Martchus
4c40004f0b
Improve CLI utils
...
- Add ArgumentParser::readArgs()
- Add Indentation
- Fix eraseLine()
2016-10-02 21:53:58 +02:00
Martchus
4d0807de9b
Fix minor issues in build scripts
2016-09-30 23:52:00 +02:00
Martchus
00f7795dcd
Link test target against neccassary libraries
...
In addition to previous libs, also link against
- same libs as app/lib target
- the app target itself if required
2016-09-20 20:52:29 +02:00
Martchus
4829aa40b9
Fix mistakes in doc
2016-09-17 11:44:49 +02:00