Skip to content
Snippets Groups Projects
  1. Oct 26, 2016
    • Mark Olesen's avatar
      CONFIG: remove non-POSIX use of 'type' (issue #176) · 3b96a557
      Mark Olesen authored
      - In the foundation version they introduced a construct to handle
        the transition from 'wmRefresh' as an alias to 'wmRefresh' as
        a shell function. This transition is unnecessary for OpenFOAM+
        since 1606 used wmREFRESH (not wmRefresh) as an alias.
      
        For portability it is important to avoid this non-POSIX
        "type -t". It causes issues with dash and with zsh
        (mentioned in issue #277).
      
              type -t dash  ->   -t: not found
              type -t zsh   ->  zsh: bad option: -t
      
      Note: zsh users may still noticed other problems.
      For example, the POSIX 'unset -f' normally has no output, but in zsh
      it reports an error and has exit code 1 if the function was not
      previously defined. Whereas in POSIX (including bash, dash) it only
      returns non-zero if the name(s) could not be unset.
      3b96a557
  2. Oct 25, 2016
  3. Oct 21, 2016
  4. Oct 20, 2016
  5. Oct 19, 2016
  6. Oct 18, 2016
    • Mark OLESEN's avatar
      Merge branch 'initialier_list-updates' into 'merge-foundation' · 7c10b89a
      Mark OLESEN authored
      ENH: Support more C++11 initializer lists (issue #261)
      
      DynamicList
      -----------
        - construction, assignment and append
      
      HashSet
      -------
        - construction, insert, set.
        - assignment will use the implicit List constructor
      
      hashedWordList
      --------------
        - construction, assignment
        - additional sort() and uniq() methods.
        - Readonly access to HashTable information via lookup() method.
        - NB: could avoid 'const char**' constructors in the future
      
      
      Some tests are included
      
      See merge request !67
      7c10b89a
    • Mark Olesen's avatar
      ENH: Support more C++11 initializer lists (issue #261) · 1967fd3d
      Mark Olesen authored
      DynamicList
      -----------
        - construction, assignment and append
      
      HashSet
      -------
        - construction, insert, set.
        - assignment will use the implicit List constructor
      
      hashedWordList
      --------------
        - construction, assignment
        - additional sort() and uniq() methods.
        - Readonly access to HashTable information via lookup() method.
        - NB: could avoid 'const char**' constructors in the future
      1967fd3d
    • Andrew Heather's avatar
      Merge branch 'endian_base64' into 'merge-foundation' · 7a5dff91
      Andrew Heather authored
      Common endian handling. Provide base64 output encoding.
      
      
      
      See merge request !71
      7a5dff91
    • Mark Olesen's avatar
      BUG: foamCleanPath problem if path contains @ (closes #264) · 03b5d5c1
      Mark Olesen authored
      - Can occur with some user names, or mounted paths.
        Resolve by using '?' for the separation character.
      
        Since '?' is a shell-glob, it is highly unlikely to occur appear in
        filenames.  Additionally, it is not a meta-character in standard sed,
        nor in the GNU extension (which uses '\?').
      03b5d5c1
  7. Oct 17, 2016
  8. Oct 14, 2016
  9. Oct 07, 2016