Commit Graph

291 Commits

Author SHA1 Message Date
Martchus 189a6fe6ba Approach to enable static linkage
Linking statically might be useful, especially
when linking Windows applications since MinGW
is less buggy then.
2016-07-22 01:35:32 +02:00
Martchus a3e9174476 Remove findArg 2016-07-17 01:27:42 +02:00
Martchus 23346e1a8e Add convenience method to get first value 2016-07-17 01:26:34 +02:00
Martchus 8efe38dadf Improve details in the build system
- add target to run cross compiled Windows binaries with wine
- quit tests if --help has been specified
2016-07-16 23:04:22 +02:00
Martchus 3ead704f1d Improve DECLARE_ENUM macro
- DECLARE_ENUM now declares a regular enum.
- DECLARE_ENUM_CLASS declares an enum class.
- Macros don't include a trailing ';' so they
  can also be used when defining an enum.
2016-07-11 21:32:20 +02:00
Martchus 18845b3ce0 Use option for CMake options 2016-07-10 00:16:43 +02:00
Martchus 3301f8518f Update README.md 2016-07-04 23:53:56 +02:00
Martchus d749ba7cc2 Provide complete occurance info (callbacks) 2016-07-04 23:18:49 +02:00
Martchus 03094a1f61 Add support for bash completion 2016-07-04 02:46:54 +02:00
Martchus 209b953754 Add CMake variable to control logging 2016-07-03 22:13:04 +02:00
Martchus 46edfccc8f Set TARGET_EXECUTABLE in CMake pro 2016-07-02 02:04:32 +02:00
Martchus b46164e893 Document enum class Response 2016-07-02 02:02:47 +02:00
Martchus b6f784f00e Add macro for fallthrough in switch-case 2016-07-02 02:02:11 +02:00
Martchus cb4246e202 Add methods to get dir path and entries 2016-07-02 02:01:26 +02:00
Martchus 0cc508dc93 Add option to specify lib dir suffix 2016-06-30 17:04:07 +02:00
Martchus e6dfe28149 Skip empty args 2016-06-23 22:06:59 +02:00
Martchus 8bcf8cd008 Check for siblings of parent args 2016-06-23 00:58:43 +02:00
Martchus a3648963ee Make argv const 2016-06-17 17:55:09 +02:00
Martchus 757b539b95 Make install target for API doc optional 2016-06-15 21:40:03 +02:00
Martchus 783121ed5e Allow implicit usage of arg only once 2016-06-14 23:11:13 +02:00
Martchus 980794066b Provide workaround for GCC Bug 66145 2016-06-14 22:53:19 +02:00
Martchus 79ce6e9aa6 Improve argument parser
- Fix some implementation details
- Extend tests
2016-06-14 00:43:32 +02:00
Martchus 526cbc5282 Rewrite argument parsing 2016-06-13 00:00:36 +02:00
Martchus 4f87cc1181 Use C-strings where std::string is unneccessary 2016-06-11 19:42:03 +02:00
Martchus db7b02b1db Make header guards more unique and consistent 2016-06-11 19:09:14 +02:00
Martchus 1deb244fee Update README.md 2016-06-11 18:53:26 +02:00
Martchus ca8432c5ec Use version as Doxygen project number 2016-06-11 00:54:02 +02:00
Martchus a8e53f0446 Remove doxygen file (use template instead) 2016-06-10 23:55:46 +02:00
Martchus d28d477ffe Complete generation of API doc
- Use README.md for main page
- Add install target for API doc
- Improve some doc comments
2016-06-10 22:59:22 +02:00
Martchus c7c64e0784 Improve documentation 2016-06-10 14:08:56 +02:00
Martchus 4d1c874b56 Add target for API doc 2016-06-10 10:24:54 +02:00
Martchus 41c44a5f43 Delete m_streamSize member of BinaryReader 2016-06-08 00:38:58 +02:00
Martchus 009a2268ec Fix small issues of BinaryReader/BinaryWriter
- fix documentation
- fix useless checks
2016-06-08 00:36:01 +02:00
Martchus 38a9a1e13e Ensure exceptions are thrown in IO tests 2016-06-08 00:15:01 +02:00
Martchus 324dc90b49 Fix parsing args if no abbr or name is specified 2016-06-03 23:10:14 +02:00
Martchus 01dee5de09 Allow creation of static libs in general 2016-05-28 01:52:55 +02:00
Martchus b3d801bca6 Fix executable path in *.desktop file 2016-05-26 21:38:19 +02:00
Martchus 4fcc8442f8 Define macro for debug-only code 2016-05-26 02:21:06 +02:00
Martchus f3077ef8e3 Use C-strings for argument definitions
Argument names and abbreviations are always
C-string literals and hence using std::string
has no advantage.
2016-05-25 01:24:17 +02:00
Martchus 2a58a83c3c Fix template paths 2016-05-23 00:04:06 +02:00
Martchus 76e422a7ce Make DateTime::now() and DateTime::gmtNow() inline 2016-05-23 00:04:06 +02:00
Martchus 7bb6875ded Allow testing particular units 2016-05-23 00:03:55 +02:00
Martchus 1aa5421e9b next release will be 3.3.0 2016-04-25 22:18:43 +02:00
Martchus 176b81b431 set META_PROJECT_VARNAME and META_PROJECT_VARNAME_UPPER if not specified
explicitely
2016-04-21 23:57:45 +02:00
Martchus eda3a98e2c updated README.md to reflect latest changes 2016-04-16 19:17:29 +02:00
Martchus d27520af68 fixed some issues caused the build system changeings 2016-04-16 18:32:22 +02:00
Martchus bd0cbd5802 reduce code duplication in build system
- get rid of qmake project file
- provide CMake modules for common tasks
- provide templates for *.desktop files
2016-04-16 02:11:05 +02:00
Martchus 4b2110e452 fixed description 2016-03-10 22:15:38 +01:00
Martchus 0054a74302 minor adjustments 2016-03-03 19:07:46 +01:00
Martchus ff15a54624 added addMainArgument 2016-02-27 01:19:16 +01:00