- Nov 21, 2018
-
-
Mark OLESEN authored
- more filtering in the sed stage to remove non-essential text. Terminate parsing on first appearance of -help-full option.
-
- Oct 15, 2018
-
-
Mark OLESEN authored
- foamCleanPath now only splits the environment variable on ':', which allows other directories with spaces or '(..)' etc to pass through without major issue. - The filter arguments are split on whitespace, colons or semi-colons.
-
- Sep 18, 2018
-
-
Mark OLESEN authored
- The test condition [ -n "$cur" -a ... ] fails if $cur starts with '-le', which bash interprets as a further test op. Splitting the test condition solves the problem: [ -n "$cur" ] && [ ... ]
-
- Jun 07, 2018
-
-
Mark OLESEN authored
- in anticipation of future change, hard-coded choice within bash_completion
-
- Dec 18, 2017
-
-
Mark OLESEN authored
- include bash completion for paraFoam, and provision for using foamEtcFile as well.
-
- Apr 30, 2018
-
-
Mark OLESEN authored
No completion added for XXX ... incorrect platform, or not yet compiled?
-
- Jan 11, 2018
-
-
Mark OLESEN authored
- export library path for gmp/mpfr from CGAL config files. This is required when non-system gmp/mpfr libraries are being used, but not using a ThirdParty compiler installation. - automatically handle lib/ vs lib64/ (eg, for central installations) for packages such as boost, CGAL, etc. While the ThirdParty compilation of these will normally land in lib64/, this may not be the case when they are supplied by another means. - reworked the handling of foamEtcFile and foamCleanPath for less clutter in the configuration files. Added the bin/tools/lib-dir script to handle logic that is too complex to easily manage in csh.
-
- Nov 20, 2017
-
-
Mark OLESEN authored
-
- Nov 24, 2017
-
-
Mark OLESEN authored
- unknown options or missing option values now emit a shorter message without the entire usage. This makes it easier to identify the errors and is better aligned with the behaviour of GNU system tools. ==== $ simpleFoam -case Using: OpenFOAM-plus (see www.OpenFOAM.com) Build: plus-01234 Error: option '-case' requires an argument See 'simpleFoam -help' for usage ==== - provide for reduced (-help) and full (-help-full) usage information. In many cases the reduced usage provided sufficient and easier to find the information. - make -srcDoc an alias for -doc-source - no warnings about option aliases for future dates.
-
- Aug 10, 2017
-
-
Mark OLESEN authored
- the (global) associative array requires bash >= 4.2
-
- Aug 08, 2017
-
-
Mark OLESEN authored
- this reduces the number of functions and allows lazy loading of completion options, which makes it easy to quickly add any other OpenFOAM application in completion. The generic '_of_complete_' function handles (bash) completion for any OpenFOAM application. On the first call for any particular application, it retrieves the available options from the application help output and adds this information to its environmental cache for subsequent use. - Tcsh completion uses the same function via a bash wrapper. But since its wrapper is transient, the on-the-fly generation would be less efficient. For this case, a pre-generated completion_cache can be used, which is generated with bin/tools/foamCreateCompletionCache
-
- Aug 03, 2017
-
-
Mark OLESEN authored
- handles the case where we are currently completing something that does not appear to be an option. For example, foamDictionary -expanded someD[TAB] should complete the filename, not present more options.
-
- Jul 31, 2017
-
-
Mark OLESEN authored
- use complete -o filenames, dropped -o nospace to make it more responsive. - restructure completion code to use a unified backend, which makes it easier understand, maintain and re-use. - foamCreateBashCompletions now simply outputs to a stdout, and allows quick generation of completion of single applications. - add -fileHandler completion in anticipation of future changes there. - relocated as etc/config.s/bash_completion to prevent inadvertently having two versions (.com, .org) installed at the same time.
-