Skip to content
Snippets Groups Projects
  1. Aug 10, 2017
  2. Aug 07, 2017
  3. Aug 09, 2017
  4. Aug 08, 2017
    • Mark OLESEN's avatar
      ENH: use bash associative array for on-the-fly completion (issue #551) · ce086810
      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
      ce086810
    • Andrew Heather's avatar
      Merge branch 'style-noiseDict-syntax' into 'develop' · 5f538909
      Andrew Heather authored
      STYLE: New syntax compatible with v1706 (Fixes #548)
      
      See merge request !131
      5f538909
  5. Aug 07, 2017
  6. Aug 03, 2017
  7. Aug 02, 2017
  8. Jul 31, 2017
  9. Jul 29, 2017
    • Mark OLESEN's avatar
      ENH: more graceful handling of invalid IOobject headers (issue #539) · 9923ec96
      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.
      9923ec96
    • Mark OLESEN's avatar
      ENH: additional method for switching error throwing on/off (issue #552) · 797155f8
      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.
      797155f8
  10. Jul 28, 2017
  11. Jul 27, 2017
  12. Jul 26, 2017
  13. Jul 22, 2017
  14. Jul 21, 2017
  15. Jul 20, 2017
  16. Jul 19, 2017
  17. Jul 17, 2017