eec9467 | Stefano Zaghi | 05 February 2020, 16:04:24 UTC | Merge branch 'release/1.2.1' | 05 February 2020, 16:04:24 UTC |
2ced75a | Stefano Zaghi | 05 February 2020, 16:03:38 UTC | update travis config | 05 February 2020, 16:03:38 UTC |
4f806e5 | Stefano Zaghi | 05 February 2020, 15:51:21 UTC | Add ignore passed unknown CLAs, fix issue#82 The CLI can now be initialized with a flag for ignoring the passed CLAs that are unknown. An error is still echoed, but the CLI parsing goes on until the end without exit the flow. By default a passed unknown CLA raises a blocking error as in the previous verions. This change addresses the need by: add a new option to `init` method of CLI object, e.g. call cli%init(..., ignore_unknown_clas=.true.) A dedicated test has been added, i.e. `src/test/flap_test_ignore_unknown_clas.f90` Side effects: Nothing. | 05 February 2020, 15:51:21 UTC |
88488c8 | Stefano Zaghi | 05 February 2020, 14:02:15 UTC | update submodules | 05 February 2020, 14:02:15 UTC |
de69af9 | Stefano Zaghi | 29 January 2020, 11:42:58 UTC | Merge pull request #88 from kostyfisik/cmake [WIP] update cmake config | 29 January 2020, 11:42:58 UTC |
31f7aed | Konstantin Ladutenko | 29 January 2020, 11:39:21 UTC | Merge remote-tracking branch 'origin/master' into cmake | 29 January 2020, 11:39:21 UTC |
26aa4c3 | Stefano Zaghi | 25 October 2019, 09:01:00 UTC | bash completition non working, but clean | 25 October 2019, 09:01:00 UTC |
0f3f205 | Konstantin Ladutenko | 17 October 2019, 12:55:53 UTC | update cmake config | 17 October 2019, 12:55:53 UTC |
1c661b6 | Stefano Zaghi | 17 July 2019, 15:45:57 UTC | Merge branch 'feature/improve-bash-completion' into develop | 17 July 2019, 15:45:57 UTC |
2324054 | Stefano Zaghi | 17 July 2019, 15:44:36 UTC | Improve bash completion issue#86 Improve bash completion: add completion for CLA with choices | 17 July 2019, 15:44:36 UTC |
5732d1a | Stefano Zaghi | 16 July 2019, 15:53:39 UTC | Remove full path from progname in bash completion issue$86 Remove full path from progname in bash completion save and cleaned typos like *completition* :-) | 16 July 2019, 15:53:39 UTC |
0e0c19a | Stefano Zaghi | 12 July 2019, 15:17:55 UTC | Merge tag 'v1.2.0' into develop Add bash completition script output issue#86 Add bash completition script output: given a CLI now it is possibile to save a *bash auto completition script* that once *sourced* in a bash shell provides the auto completition capabilities. Note tha for CLI with multiple CLAs groups (like the `git` command) the generated script is smart enough to distinguish the CLAs of each group, e.g. the added test with 2 CLAs groups generates the following script: ```bash _completion() { cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD - 1]} if [ "$prev" == "compile" ] ; then COMPREPLY=( $( compgen -W " --compiler -c --flags -f --help -h --version -v" -- $cur ) ) elif [ "$prev" == "clean" ] ; then COMPREPLY=( $( compgen -W " --clean -c --clean-all -ca --help -h --version -v" -- $cur ) ) else COMPREPLY=( $( compgen -W " --help -h --version -v compile clean" -- $cur ) ) fi return 0 } complete -F _completion flap_test_save_bash_completition ``` | 12 July 2019, 15:17:55 UTC |
9784ea0 | Stefano Zaghi | 12 July 2019, 15:17:29 UTC | Merge branch 'release/1.2.0' | 12 July 2019, 15:17:29 UTC |
40f12ab | Stefano Zaghi | 12 July 2019, 15:16:53 UTC | Merge branch 'feature/add-save-bash-completition-issue#86' into develop | 12 July 2019, 15:16:53 UTC |
e6f25ce | Stefano Zaghi | 12 July 2019, 15:15:50 UTC | Add bash completition script output issue#86 Add bash completition script output: given a CLI now it is possibile to save a *bash auto completition script* that once *sourced* in a bash shell provides the auto completition capabilities. Note tha for CLI with multiple CLAs groups (like the `git` command) the generated script is smart enough to distinguish the CLAs of each group, e.g. the added test with 2 CLAs groups generates the following script: ```bash _completion() { cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD - 1]} if [ "$prev" == "compile" ] ; then COMPREPLY=( $( compgen -W " --compiler -c --flags -f --help -h --version -v" -- $cur ) ) elif [ "$prev" == "clean" ] ; then COMPREPLY=( $( compgen -W " --clean -c --clean-all -ca --help -h --version -v" -- $cur ) ) else COMPREPLY=( $( compgen -W " --help -h --version -v compile clean" -- $cur ) ) fi return 0 } complete -F _completion flap_test_save_bash_completition ``` | 12 July 2019, 15:15:50 UTC |
bd4b342 | Stefano Zaghi | 11 July 2019, 10:22:52 UTC | Clean sources and add man/markdown tests Clean sources and add two new tests for the `save_man_page` and `save_usage_to_markdown` methods. | 11 July 2019, 10:22:52 UTC |
def9bbe | Stefano Zaghi | 08 July 2019, 14:16:53 UTC | Merge tag 'v1.1.9' into develop Fix duplicated passed CLAs bug issue#85 Fix the bug regarding duplicated passed CLAs: if the multiple instances of the same non positional CLA is passed to the CLI an error is raised. | 08 July 2019, 14:16:53 UTC |
38908ab | Stefano Zaghi | 08 July 2019, 14:16:28 UTC | Merge branch 'release/1.1.9' | 08 July 2019, 14:16:28 UTC |
5ef92b6 | Stefano Zaghi | 08 July 2019, 14:13:03 UTC | Fix duplicated passed CLAs bug#85 Fix the bug regarding duplicated passed CLAs: if the multiple instances of the same non positional CLA is passed to the CLI an error is raised. | 08 July 2019, 14:13:03 UTC |
735f7b7 | Stefano Zaghi | 08 July 2019, 12:02:30 UTC | Merge branch 'master' into develop | 08 July 2019, 12:02:30 UTC |
7feb688 | Stefano Zaghi | 28 May 2019, 12:35:06 UTC | update submodules | 28 May 2019, 12:35:06 UTC |
9ef0bd8 | Stefano Zaghi | 22 January 2019, 11:18:46 UTC | Merge pull request #84 from pdebuyl/master add FACE libs to cmake file | 22 January 2019, 11:18:46 UTC |
c609ff0 | Pierre de Buyl | 22 January 2019, 11:01:59 UTC | add FACE libs to cmake file | 22 January 2019, 11:01:59 UTC |
026a336 | Stefano Zaghi | 22 January 2019, 10:55:39 UTC | Merge pull request #83 from pdebuyl/master update FACE for cmake support | 22 January 2019, 10:55:39 UTC |
a23c91f | Pierre de Buyl | 22 January 2019, 10:47:06 UTC | update FACE for cmake support | 22 January 2019, 10:47:06 UTC |
033549b | Stefano Zaghi | 18 December 2017, 09:07:25 UTC | Merge pull request #81 from apthorpe/master Updates to CMake and makefile build process to support FACE & new test names | 18 December 2017, 09:07:25 UTC |
2b8a940 | Bob Apthorpe | 18 December 2017, 07:40:17 UTC | Fixed test executable names Added FACE build directive Added face.o as dependency for flap_command_line_argument_t.o target | 18 December 2017, 07:40:17 UTC |
e9de614 | Bob Apthorpe | 18 December 2017, 07:38:15 UTC | Added directives to build FACE | 18 December 2017, 07:38:15 UTC |
1d19123 | Stefano Zaghi | 29 June 2017, 10:18:43 UTC | sanitize preprocessing flags | 29 June 2017, 10:18:43 UTC |
578eab4 | Stefano Zaghi | 29 June 2017, 10:13:40 UTC | update submodules | 29 June 2017, 10:13:40 UTC |
b104123 | Stefano Zaghi | 12 April 2017, 15:43:46 UTC | Merge branch 'master' into develop | 12 April 2017, 15:43:46 UTC |
0563435 | Stefano Zaghi | 12 April 2017, 15:43:41 UTC | update submodules | 12 April 2017, 15:43:41 UTC |
f5448af | Stefano Zaghi | 06 April 2017, 13:26:14 UTC | Merge branch 'master' into develop | 06 April 2017, 13:26:14 UTC |
3243f11 | Stefano Zaghi | 06 April 2017, 13:26:00 UTC | update submodule | 06 April 2017, 13:26:00 UTC |
86b24e5 | Stefano Zaghi | 06 April 2017, 13:24:59 UTC | trim out dangerous recursive git clone/update | 06 April 2017, 13:24:59 UTC |
6187151 | Stefano Zaghi | 07 March 2017, 15:48:07 UTC | Merge branch 'master' into develop | 07 March 2017, 15:48:07 UTC |
0069a3b | Stefano Zaghi | 07 March 2017, 15:33:10 UTC | fix travis issue | 07 March 2017, 15:33:10 UTC |
4d9d573 | Stefano Zaghi | 07 March 2017, 15:27:27 UTC | Merge tag 'v1.1.8' into develop Add first support for ANSI color/style Stable release, fully backward compatible. | 07 March 2017, 15:27:27 UTC |
3cf3d9e | Stefano Zaghi | 07 March 2017, 15:26:49 UTC | Merge branch 'release/1.1.8' | 07 March 2017, 15:26:49 UTC |
699d0e8 | Stefano Zaghi | 07 March 2017, 15:25:37 UTC | Merge branch 'feature/add-ansi_color_style_support-#75' into develop | 07 March 2017, 15:25:37 UTC |
ba911ec | Stefano Zaghi | 07 March 2017, 15:20:59 UTC | Add first support for ANSI color-style Add first support for ANSI color-style This is an embryonic support: for now, only *some parts* of error and help messages can be colorized/stylized. Why: Make better the library. This change addresses the need by: Add new dummies for error/help color/style into `cli%init` and `cli%add` methods. Side effects: + add test for the new ansi color-style support; + rename tests program prefixing with `flap_` basename; + general *sanitize* of SLOCS touched. | 07 March 2017, 15:20:59 UTC |
b40ce1b | Stefano Zaghi | 07 March 2017, 09:17:13 UTC | add FACE third party | 07 March 2017, 09:17:13 UTC |
91b186f | Stefano Zaghi | 07 March 2017, 09:14:43 UTC | update third parties | 07 March 2017, 09:14:43 UTC |
9d42d40 | Stefano Zaghi | 25 January 2017, 07:47:03 UTC | Fix bug on R16P precision Fix bug on R16P precision: CLA object missed a R16P TBP declaration. | 25 January 2017, 07:47:03 UTC |
9e60188 | Stefano Zaghi | 26 October 2016, 12:00:44 UTC | Merge pull request #72 from pdebuyl/cmake_fortran_tester Cmake changes to allow fortran tester | 26 October 2016, 12:00:44 UTC |
99e7da9 | Pierre de Buyl | 26 October 2016, 11:45:02 UTC | update cmake and fortran_tester files for cmake build | 26 October 2016, 11:45:02 UTC |
d78bda7 | Pierre de Buyl | 26 October 2016, 11:43:47 UTC | change MESSAGE to non-erroring mode | 26 October 2016, 11:43:47 UTC |
819d5da | Pierre de Buyl | 26 October 2016, 11:41:26 UTC | remove -fdefault-real-8 option | 26 October 2016, 11:41:26 UTC |
6c2cf0c | Stefano Zaghi | 25 October 2016, 12:34:17 UTC | Fix bug #71 group default value for not invoked group Short description Querying the default values of CLAs belonging to not invoked group returns unpredictable results instead of the default value set initializing the CLI. Why: Sane fallback. This change addresses the need by: Eliminating the check if the group has been invoked or not. Side effects: Nothing, but a warning could be like to be added in the case a not invoked group is queried. | 25 October 2016, 12:34:17 UTC |
6ff1e3a | Stefano Zaghi | 06 October 2016, 14:43:00 UTC | update PENF | 06 October 2016, 14:43:00 UTC |
d532e2d | Stefano Zaghi | 06 October 2016, 14:41:47 UTC | amend fobos | 06 October 2016, 14:41:47 UTC |
e66d35a | Stefano Zaghi | 06 October 2016, 08:45:54 UTC | Merge branch 'master' into develop | 06 October 2016, 08:45:54 UTC |
6718807 | Stefano Zaghi | 06 October 2016, 08:45:36 UTC | ammend README | 06 October 2016, 08:45:36 UTC |
a49f846 | Stefano Zaghi | 06 October 2016, 08:33:02 UTC | Merge tag 'v1.1.6' into develop Ship install script separately Stable releaase, fully backward compatible. | 06 October 2016, 08:33:02 UTC |
1cacf46 | Stefano Zaghi | 06 October 2016, 08:32:20 UTC | Merge branch 'release/1.1.6' | 06 October 2016, 08:32:20 UTC |
9a79004 | Stefano Zaghi | 06 October 2016, 08:32:11 UTC | update doc | 06 October 2016, 08:32:11 UTC |
753837a | Stefano Zaghi | 06 October 2016, 07:45:52 UTC | move scripts into their own new-home | 06 October 2016, 07:45:52 UTC |
b842bd7 | Stefano Zaghi | 05 October 2016, 12:57:07 UTC | Merge tag 'v1.1.5' into develop Add tag version to release archive name Stable release, fully backward compatible. | 05 October 2016, 12:57:07 UTC |
86d9a42 | Stefano Zaghi | 05 October 2016, 12:56:29 UTC | Merge branch 'release/1.1.5' | 05 October 2016, 12:56:29 UTC |
74152c6 | Stefano Zaghi | 05 October 2016, 12:56:23 UTC | add tag version to release archive deployed | 05 October 2016, 12:56:23 UTC |
8932100 | Stefano Zaghi | 05 October 2016, 12:39:26 UTC | Merge tag 'v1.1.4' into develop Add install.sh script Stable release, fully backward compatible. | 05 October 2016, 12:39:26 UTC |
4a01080 | Stefano Zaghi | 05 October 2016, 12:38:53 UTC | Merge branch 'release/1.1.4' | 05 October 2016, 12:38:53 UTC |
e48da85 | Stefano Zaghi | 05 October 2016, 12:38:45 UTC | update README with install script doc | 05 October 2016, 12:38:45 UTC |
7b96c06 | Stefano Zaghi | 05 October 2016, 12:19:19 UTC | add install script | 05 October 2016, 12:19:19 UTC |
0f15376 | Stefano Zaghi | 05 October 2016, 09:25:23 UTC | Merge tag 'v1.1.3' into develop Avoid tarbomb of release archive deflating Stable release, fully backward compatible. | 05 October 2016, 09:25:23 UTC |
83e7127 | Stefano Zaghi | 05 October 2016, 09:24:24 UTC | Merge branch 'release/1.1.3' | 05 October 2016, 09:24:24 UTC |
e02a4ea | Stefano Zaghi | 05 October 2016, 09:24:16 UTC | avoid tarbomb after deflating release archive | 05 October 2016, 09:24:16 UTC |
6bcbc62 | Stefano Zaghi | 05 October 2016, 08:59:22 UTC | Merge tag 'v1.1.2' into develop Test new Travis CI release deploy, stable release, fully backward compatible. | 05 October 2016, 08:59:22 UTC |
a4d6c3d | Stefano Zaghi | 05 October 2016, 08:58:44 UTC | Merge branch 'release/1.1.2' | 05 October 2016, 08:58:44 UTC |
d78d1db | Stefano Zaghi | 05 October 2016, 08:57:54 UTC | add Travis CI support for a better release deploy | 05 October 2016, 08:57:54 UTC |
7105f43 | Stefano Zaghi | 03 October 2016, 14:58:08 UTC | Merge tag 'v1.1.1' into develop Fix bug of issue#69, stable release, fully backward compatible. | 03 October 2016, 14:58:08 UTC |
e3999bd | Stefano Zaghi | 03 October 2016, 14:57:34 UTC | Merge branch 'hotfix/1.1.1' | 03 October 2016, 14:57:34 UTC |
cee4711 | Stefano Zaghi | 03 October 2016, 14:53:06 UTC | Fix bug of issue#69 @victorsndvg discovered a subtle bug. From his report: I think there is a bug (in release mode) using FLAP while parsing CLI multiple times. If I run the code below, the second time that I call `parse(error)`, `error` value is not initialized from the `parse()` procedure. ```fortran type(Command_Line_Interface) :: cli integer :: error cli%parse(error) ... cli%free() ... cli%parse(error) ... cli%free() ``` Why: The bug do not free the CLI properly and do not return the correct (null) code the other times it is parsed. This change addresses the need by: @victorsndvg provided a perfect patch: First, force a successful `error` code at the beginning of the `parse()` procedure in this line: https://github.com/szaghi/FLAP/blob/master/src/lib/flap_command_line_interface_t.F90#L519 ```fortran if(present(error)) error = 0 ! <- New line if (self%is_parsed_) return ... ``` And finally, set `is_parsed_` variable to `.false.` in the `free()` procedure. Side effects: Nothing. | 03 October 2016, 14:53:06 UTC |
1eadac5 | Stefano Zaghi | 29 September 2016, 10:32:47 UTC | add victor's updates on CMake setup | 29 September 2016, 10:32:47 UTC |
9a6737e | Stefano Zaghi | 27 September 2016, 15:55:22 UTC | update doc | 27 September 2016, 15:55:22 UTC |
6a62748 | Stefano Zaghi | 27 September 2016, 14:37:53 UTC | update makefile | 27 September 2016, 14:37:53 UTC |
a302a6d | Stefano Zaghi | 27 September 2016, 13:09:50 UTC | fix issue#67 | 27 September 2016, 13:09:50 UTC |
a219aa2 | Stefano Zaghi | 27 September 2016, 10:31:39 UTC | add (blindly) Victor's cmake setup... hope to work | 27 September 2016, 10:31:39 UTC |
c47d084 | Stefano Zaghi | 27 September 2016, 10:02:31 UTC | update makedoc | 27 September 2016, 10:02:31 UTC |
c285115 | Stefano Zaghi | 27 September 2016, 08:55:11 UTC | change build to support new PENF | 27 September 2016, 08:55:11 UTC |
c1124f3 | Stefano Zaghi | 27 September 2016, 08:23:53 UTC | Merge branch 'master' into develop | 27 September 2016, 08:23:53 UTC |
a662930 | Stefano Zaghi | 27 September 2016, 08:23:34 UTC | update PENF submodule | 27 September 2016, 08:23:34 UTC |
2ca4a07 | Stefano Zaghi | 27 September 2016, 08:22:47 UTC | point PENF submodule to master branch | 27 September 2016, 08:22:47 UTC |
689b750 | Stefano Zaghi | 08 June 2016, 15:05:14 UTC | update travis config | 08 June 2016, 15:05:14 UTC |
45a143e | Stefano Zaghi | 08 June 2016, 14:06:20 UTC | Rely on link instead of FoBiS recursion Rely on link instead of FoBiS recursion | 08 June 2016, 14:06:20 UTC |
4366910 | Stefano Zaghi | 08 June 2016, 14:00:19 UTC | update to last PENF | 08 June 2016, 14:00:19 UTC |
1340d68 | Stefano Zaghi | 25 May 2016, 11:10:47 UTC | Merge branch 'master' into develop | 25 May 2016, 11:10:47 UTC |
fd0db56 | Stefano Zaghi | 25 May 2016, 11:10:35 UTC | update licenses | 25 May 2016, 11:10:35 UTC |
88b5967 | Stefano Zaghi | 09 May 2016, 17:01:19 UTC | Merge tag 'v1.1.0' into develop Add Olle markdown manpage, stable release, fully backward compatible. | 09 May 2016, 17:01:19 UTC |
5d4dfa8 | Stefano Zaghi | 09 May 2016, 17:00:47 UTC | Merge branch 'release/1.1.0' | 09 May 2016, 17:00:47 UTC |
6cf426c | Stefano Zaghi | 09 May 2016, 16:59:34 UTC | Add Olle patches Add Olle patches: add them manually due to some issues on line length (Olle allows to exceeed 132 characters). | 09 May 2016, 16:59:34 UTC |
f37f89f | Stefano Zaghi | 03 May 2016, 13:26:18 UTC | Merge tag 'v1.0.6' into develop Fix small bug into tokenize, stable release, fully backward compatible. | 03 May 2016, 13:26:18 UTC |
04c7d9a | Stefano Zaghi | 03 May 2016, 13:25:44 UTC | Merge branch 'hotfix/1.0.6' | 03 May 2016, 13:25:44 UTC |
dbfcc77 | Stefano Zaghi | 03 May 2016, 13:23:09 UTC | Change tokenize behaviour Change tokenize behaviour: if the delimiter has higher number of chars than the input string, only 1 token is returned containing the input string instead of `char(0)` as previously. Why: More robust fail-safe when corner-cases happen, e.g. delimiter bigger than input string. Side effects: Unknowns. | 03 May 2016, 13:23:09 UTC |
14c72e1 | Stefano Zaghi | 03 May 2016, 13:21:44 UTC | Merge branch 'master' into develop | 03 May 2016, 13:21:44 UTC |
414e265 | Stefano Zaghi | 08 April 2016, 19:56:09 UTC | Merge pull request #62 from zbeekman/error-help-unit-specify Fixes #61: More output control | 08 April 2016, 19:56:09 UTC |
06da04f | Izaak Beekman | 08 April 2016, 18:36:53 UTC | Add more control of default output units - Add optional arguments to `init` method - `usage_lun` specify optional alternate output unit other than `stderr` - `version_lun` specify optional alternate version/license output unit other than `stdout` - `error_lun` specify optional alternate error info/message output unit other than `stderr` - Fixes #61 - Will allow users to use MPI without `--help` or `--version` exploding with output when running on many MPI ranks | 08 April 2016, 18:36:53 UTC |
994d4f2 | Stefano Zaghi | 05 April 2016, 16:06:28 UTC | Merge tag 'v1.0.5' into develop Fix PENF issue with ifort, stable release, fuly backward compatible. | 05 April 2016, 16:06:28 UTC |
af963b9 | Stefano Zaghi | 05 April 2016, 16:05:48 UTC | Merge branch 'release/1.0.5' | 05 April 2016, 16:05:48 UTC |
b39784a | Stefano Zaghi | 05 April 2016, 16:05:17 UTC | Merge branch 'master' into develop | 05 April 2016, 16:05:17 UTC |