Skip to content
Snippets Groups Projects
  1. Jan 30, 2018
  2. Jan 29, 2018
  3. Jan 30, 2018
  4. Jan 29, 2018
  5. Jan 25, 2018
  6. Jan 24, 2018
  7. Jan 23, 2018
    • Mark OLESEN's avatar
      ENH: added fileName::relative() method · 9bd7ea59
      Mark OLESEN authored
      - this currently just strips off the leading parent directory name
      
           "/this/path/and/subdirs/name"
      
           relative("/this/path")  -> "and/subdirs/name"
           relative("/this")       -> "path/and/subdirs/name"
      9bd7ea59
  8. Jan 24, 2018
  9. Jan 23, 2018
  10. Jan 22, 2018
  11. Jan 19, 2018
  12. Jan 18, 2018
  13. Jan 17, 2018
  14. Jan 16, 2018
    • Mark OLESEN's avatar
      ENH: SubStrings::str(int) method for similarity with std::smatch · 12aa2d3c
      Mark OLESEN authored
      - define regExp::results_type using SubStrings container for handling
        groups. This makes a later shift to std::smatch easier, but changes
        the regExp API for matching with groups. Previously had list element
        0 for regex group 1, now list element 0 is the entire match and list
        element 1 is regex group 1.
      
        Old:
            List<std::string> mat;
            if (re.match(text, mat))  Info<< "group 1: " << mat[0] << nl;
      
        New:
            regExp::results_type mat;
            if (re.match(text, mat))  Info<< "group 1: " << mat.str(1) << nl;
      12aa2d3c
    • Mark OLESEN's avatar
      BUG: spurious empty surface zones added (fixes #706) · 82a9f2c9
      Mark OLESEN authored
      - problems were introduced by the change ee252307 (issue #686).
        Affected reading of OBJ files.
      
        The fallback zone (used to catch unnamed groups/zones), which was
        previously filtered away when not needed. Now handle more explicitly.
      
      ENH: use stringOps::split and low-level read{Label,Scalar} for parsing OBJ file
      82a9f2c9
    • Mark OLESEN's avatar
      CONFIG: typo in config.csh/mpi · ff07ae15
      Mark OLESEN authored
      - also handle stray semi-colons in foamCleanPath.
        Treat like a ':' separator.
        They are incorrect and potentially problematic for shell evals.
      ff07ae15
  15. Jan 15, 2018