https://github.com/szaghi/FLAP

sort by:
Revision Author Date Message Commit Date
e7b6475 Merge branch 'release/1.2.4' 18 February 2020, 13:51:20 UTC
972f989 Fix issue#82 Help/Version message missing Fix issue#82 Help/Version message missing: re-add check on negative error flags to catch help/version message invocation 18 February 2020, 13:49:21 UTC
b42f8b4 Merge tag 'v1.2.3' into develop v1.2.3 Fix a new bug in issue#82 Fix a new bug in issue#82. Fully backward compatible. 17 February 2020, 15:52:25 UTC
94a327a Merge branch 'release/1.2.3' 17 February 2020, 15:51:32 UTC
2f0e8bf Fix new bug raised in issue#82 The invocation of help usage message was done with a wront dimmy argument. 17 February 2020, 15:49:47 UTC
a3a23c4 Merge tag 'v1.2.2' into develop Fix bug in ignoring unknown clas 10 February 2020, 16:33:26 UTC
5a63d9c Merge branch 'release/1.2.2' 10 February 2020, 16:32:03 UTC
37464da Fix bug in ignoring unknown clas Fix bug in ignoring unknown clas 10 February 2020, 16:23:12 UTC
d2c3be9 Add ignore passed unknown CLAs, fix issue#82 (Merge branch 'release/1.2.1') 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, 16:06:18 UTC
c95df22 Merge tag 'v1.2.1' into develop 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. Fully backward compatible. 05 February 2020, 16:05:00 UTC
eec9467 Merge branch 'release/1.2.1' 05 February 2020, 16:04:24 UTC
2ced75a update travis config 05 February 2020, 16:03:38 UTC
4f806e5 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 update submodules 05 February 2020, 14:02:15 UTC
de69af9 Merge pull request #88 from kostyfisik/cmake [WIP] update cmake config 29 January 2020, 11:42:58 UTC
31f7aed Merge remote-tracking branch 'origin/master' into cmake 29 January 2020, 11:39:21 UTC
26aa4c3 bash completition non working, but clean 25 October 2019, 09:01:00 UTC
0f3f205 update cmake config 17 October 2019, 12:55:53 UTC
1c661b6 Merge branch 'feature/improve-bash-completion' into develop 17 July 2019, 15:45:57 UTC
2324054 Improve bash completion issue#86 Improve bash completion: add completion for CLA with choices 17 July 2019, 15:44:36 UTC
5732d1a 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 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 Merge branch 'release/1.2.0' 12 July 2019, 15:17:29 UTC
40f12ab Merge branch 'feature/add-save-bash-completition-issue#86' into develop 12 July 2019, 15:16:53 UTC
e6f25ce 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 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 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 Merge branch 'release/1.1.9' 08 July 2019, 14:16:28 UTC
5ef92b6 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 Merge branch 'master' into develop 08 July 2019, 12:02:30 UTC
7feb688 update submodules 28 May 2019, 12:35:06 UTC
9ef0bd8 Merge pull request #84 from pdebuyl/master add FACE libs to cmake file 22 January 2019, 11:18:46 UTC
c609ff0 add FACE libs to cmake file 22 January 2019, 11:01:59 UTC
026a336 Merge pull request #83 from pdebuyl/master update FACE for cmake support 22 January 2019, 10:55:39 UTC
a23c91f update FACE for cmake support 22 January 2019, 10:47:06 UTC
033549b 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 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 Added directives to build FACE 18 December 2017, 07:38:15 UTC
1d19123 sanitize preprocessing flags 29 June 2017, 10:18:43 UTC
578eab4 update submodules 29 June 2017, 10:13:40 UTC
b104123 Merge branch 'master' into develop 12 April 2017, 15:43:46 UTC
0563435 update submodules 12 April 2017, 15:43:41 UTC
f5448af Merge branch 'master' into develop 06 April 2017, 13:26:14 UTC
3243f11 update submodule 06 April 2017, 13:26:00 UTC
86b24e5 trim out dangerous recursive git clone/update 06 April 2017, 13:24:59 UTC
6187151 Merge branch 'master' into develop 07 March 2017, 15:48:07 UTC
0069a3b fix travis issue 07 March 2017, 15:33:10 UTC
4d9d573 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 Merge branch 'release/1.1.8' 07 March 2017, 15:26:49 UTC
699d0e8 Merge branch 'feature/add-ansi_color_style_support-#75' into develop 07 March 2017, 15:25:37 UTC
ba911ec 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 add FACE third party 07 March 2017, 09:17:13 UTC
91b186f update third parties 07 March 2017, 09:14:43 UTC
9d42d40 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 Merge pull request #72 from pdebuyl/cmake_fortran_tester Cmake changes to allow fortran tester 26 October 2016, 12:00:44 UTC
99e7da9 update cmake and fortran_tester files for cmake build 26 October 2016, 11:45:02 UTC
d78bda7 change MESSAGE to non-erroring mode 26 October 2016, 11:43:47 UTC
819d5da remove -fdefault-real-8 option 26 October 2016, 11:41:26 UTC
6c2cf0c 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 update PENF 06 October 2016, 14:43:00 UTC
d532e2d amend fobos 06 October 2016, 14:41:47 UTC
e66d35a Merge branch 'master' into develop 06 October 2016, 08:45:54 UTC
6718807 ammend README 06 October 2016, 08:45:36 UTC
a49f846 Merge tag 'v1.1.6' into develop Ship install script separately Stable releaase, fully backward compatible. 06 October 2016, 08:33:02 UTC
1cacf46 Merge branch 'release/1.1.6' 06 October 2016, 08:32:20 UTC
9a79004 update doc 06 October 2016, 08:32:11 UTC
753837a move scripts into their own new-home 06 October 2016, 07:45:52 UTC
b842bd7 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 Merge branch 'release/1.1.5' 05 October 2016, 12:56:29 UTC
74152c6 add tag version to release archive deployed 05 October 2016, 12:56:23 UTC
8932100 Merge tag 'v1.1.4' into develop Add install.sh script Stable release, fully backward compatible. 05 October 2016, 12:39:26 UTC
4a01080 Merge branch 'release/1.1.4' 05 October 2016, 12:38:53 UTC
e48da85 update README with install script doc 05 October 2016, 12:38:45 UTC
7b96c06 add install script 05 October 2016, 12:19:19 UTC
0f15376 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 Merge branch 'release/1.1.3' 05 October 2016, 09:24:24 UTC
e02a4ea avoid tarbomb after deflating release archive 05 October 2016, 09:24:16 UTC
6bcbc62 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 Merge branch 'release/1.1.2' 05 October 2016, 08:58:44 UTC
d78d1db add Travis CI support for a better release deploy 05 October 2016, 08:57:54 UTC
7105f43 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 Merge branch 'hotfix/1.1.1' 03 October 2016, 14:57:34 UTC
cee4711 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 add victor's updates on CMake setup 29 September 2016, 10:32:47 UTC
9a6737e update doc 27 September 2016, 15:55:22 UTC
6a62748 update makefile 27 September 2016, 14:37:53 UTC
a302a6d fix issue#67 27 September 2016, 13:09:50 UTC
a219aa2 add (blindly) Victor's cmake setup... hope to work 27 September 2016, 10:31:39 UTC
c47d084 update makedoc 27 September 2016, 10:02:31 UTC
c285115 change build to support new PENF 27 September 2016, 08:55:11 UTC
c1124f3 Merge branch 'master' into develop 27 September 2016, 08:23:53 UTC
a662930 update PENF submodule 27 September 2016, 08:23:34 UTC
2ca4a07 point PENF submodule to master branch 27 September 2016, 08:22:47 UTC
689b750 update travis config 08 June 2016, 15:05:14 UTC
45a143e Rely on link instead of FoBiS recursion Rely on link instead of FoBiS recursion 08 June 2016, 14:06:20 UTC
4366910 update to last PENF 08 June 2016, 14:00:19 UTC
1340d68 Merge branch 'master' into develop 25 May 2016, 11:10:47 UTC
fd0db56 update licenses 25 May 2016, 11:10:35 UTC
88b5967 Merge tag 'v1.1.0' into develop Add Olle markdown manpage, stable release, fully backward compatible. 09 May 2016, 17:01:19 UTC
5d4dfa8 Merge branch 'release/1.1.0' 09 May 2016, 17:00:47 UTC
back to top