- Aug 10, 2017
-
-
Mark OLESEN authored
- the (global) associative array requires bash >= 4.2
-
- Aug 07, 2017
-
-
Mark OLESEN authored
-
- Aug 09, 2017
-
-
Mark OLESEN authored
Feature robuster IOobjectList construction See merge request !134
-
Mark OLESEN authored
Feature bash completion See merge request !137
-
- 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
-
Andrew Heather authored
STYLE: New syntax compatible with v1706 (Fixes #548) See merge request !131
-
- Aug 07, 2017
-
-
Andrew Heather authored
-
Andrew Heather authored
-
- Aug 03, 2017
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
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.
-
Mark OLESEN authored
- and other code style adjustments
-
Mark OLESEN authored
- The logic for switching input-mode was previously completely encapsulated within the #inputMode directive, but without any programming equivalent. Furthermore, the encapsulation in inputMode made the logic less clear in other places. Exposing the inputMode as an enum with direct access from entry simplifies things a fair bit. - eliminate one level of else/if nesting in entryIO.C for clearer logic - for dictionary function entries, simply use addNamedToMemberFunctionSelectionTable() and avoid defining a type() as a static. For most function entries the information is only used to get a name for the selection table lookup anyhow.
-
Mark OLESEN authored
- although this has been supported for many years, the tutorials continued to use "convertToMeters" entry, which is specific to blockMesh. The "scale" is more consistent with other dictionaries. ENH: - ignore "scale 0;" (treat as no scaling) for blockMeshDict, consistent with use elsewhere.
-
- Aug 02, 2017
-
-
Mark OLESEN authored
Style string methods See merge request !136
-
Mark OLESEN authored
- currently no cleanup of completions when deactivating an OpenFOAM tcsh environment - tab completion with directories adds a space after the slash, which makes navigation a bit annoying.
-
Mark OLESEN authored
- useful operations for other string representations of fileName types. The return type is in general a std::string with any narrowing being done by the caller on the return value.
-
Mark OLESEN authored
- consolidate word::validated() into word::validate() and also allow as short form for string::validate<word>(). Also less confusing than having similarly named methods that essentially do the same thing. - more consistent const access when iterating over strings - add valid(char) for keyType and wordRe
-
Mark OLESEN authored
-
- Jul 31, 2017
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- can inadvertently arise from TAB-completion, but an option without a name doesn't make sense, we trap this and emit a warning.
-
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.
-
- Jul 29, 2017
-
-
Mark OLESEN authored
- With special-purpose templating it is possible to have file contents that almost look like an OpenFOAM file, but which are not. The contents do not need to be deliberately tricky, even the simplest README: FoamFile is the first word parsed in OpenFOAM files will trigger problems. We now trap any IOerror on these and reject this type of file as invalid.
-
Mark OLESEN authored
- error::throwExceptions(bool) returning the previous state makes it easier to set and restore states. - throwing() method to query the current handling (if required). - the normal error::throwExceptions() and error::dontThrowExceptions() also return the previous state, to make it easier to restore later.
-
- Jul 28, 2017
-
-
Prashant Sonakar authored
BUG: Correct viscosity in simpleFoam motorBike tutorial (fixes #550) See merge request !132
-
- Jul 27, 2017
-
-
-
Pete Bachant authored
-
- Jul 26, 2017
-
-
Prashant Sonakar authored
-
- Jul 22, 2017
-
-
Mark OLESEN authored
-
Mark OLESEN authored
-
Mark OLESEN authored
-
- Jul 21, 2017
-
-
Mark OLESEN authored
Consistent use of string methods See merge request !128
-
Mark OLESEN authored
Regression icc See merge request !129
-
Mark OLESEN authored
- this represents a partial revert for commit 6a0a8b99
-
Mark OLESEN authored
-
- Jul 20, 2017
-
-
Mark OLESEN authored
-
Mark OLESEN authored
- installed under /usr/include/scotch/scotch.h ENH: obtain fallback value for SCOTCH_VERSION from the header COMP: add support for metis, scotch static libraries (eg, EasyBuild)
-
Mark OLESEN authored
- the 'protect' inputMode is used to supply defaults. If an entry already exists, it should act as a no-op without any side-effects whatsoever.
-
- Jul 19, 2017
-
-
Andrew Heather authored
-
- Jul 17, 2017
-
-
Mark OLESEN authored
-