Skip to content
Snippets Groups Projects
  1. Dec 08, 2017
  2. Oct 27, 2017
  3. Dec 07, 2017
  4. Dec 06, 2017
  5. Dec 04, 2017
  6. Dec 06, 2017
  7. Dec 05, 2017
  8. Dec 01, 2017
  9. Nov 30, 2017
  10. Nov 28, 2017
  11. Nov 27, 2017
  12. Nov 26, 2017
    • Mark OLESEN's avatar
    • Mark OLESEN's avatar
      STYLE: relegate special purpose readList<T> function to points of use · 2787a866
      Mark OLESEN authored
      - the readList<T>(Istream&) function was introduced to handle command
        -options with either a single or a list value, but was also used for
        the #remove dictionary directive. However, the parsing was fragile
        if the list did not start with a '('.
        Now handle command-line arg/option list directly (via ITstream)
        and #remove with special-purpose reading of a string or word list.
      
        This removes ambiguity and reduces potential future problems.
      
      STYLE: use ITstream instead of IStringStream for command-line lookups
      
      - parses directly to a tokenList without a string copy.
      2787a866
  13. Nov 24, 2017
    • Mark OLESEN's avatar
      ENH: more succinct output from command-line errors. · 5947f9a3
      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.
      5947f9a3
    • Mark OLESEN's avatar
      ENH: argList::optionReadList now uses ITstream directly · 9985b93c
      Mark OLESEN authored
      - stricter and robuster than previous solution using List::readList
        since the option input can be fully tokenized prior to list
        conversion.
      9985b93c
    • Mark OLESEN's avatar
  14. Nov 23, 2017
  15. Nov 22, 2017