Skip to content
Snippets Groups Projects
  1. Sep 15, 2017
  2. Sep 26, 2017
  3. Sep 25, 2017
  4. Sep 22, 2017
  5. Sep 21, 2017
  6. Sep 18, 2017
    • Andrew Heather's avatar
      STYLE: Code clean-up · af48c843
      Andrew Heather authored
      af48c843
    • Mark OLESEN's avatar
      ENH: improve consistency in parsing primitives from strings (issue #590) · accebc74
      Mark OLESEN authored
      - Any trailing whitespace when parsing from strings or character buffers
        is ignored rather than being treated as an error. This is consistent
        with behaviour when reading from an Istream and with leading whitespace
        being ignored in the underlying atof/atod, strtof/strtod... functions.
      
      - Allow parsing directly from a std::string instead of just from a 'char*'.
        This reflects the C++11 addition of std::stod to complement the C
        functions strtod. This also makes it easier to parse string directly
        without using an IStringStream.
      
      - Two-parameter parsing methods return success/failure.
        Eg,
      
            if (readInt32(str, &int32Val)) ...
      
      - One-parameter parsing methods return the value on success or
        emit a FatalIOError.
        Eg,
      
            const char* buf;
            int32Val = readInt32(buf, &);
      
      - Improved consistency when parsing unsigned ints.
        Use strtoimax and strtoumax throughout.
      
      - Rename readDoubleScalar -> readDouble, readFloatScalar -> readFloat.
        Using the primitive name directly instead of the Foam typedef for
        better consistency with readInt32 etc.
      
      - Clean/improve parseNasScalar.
        Handle normal numbers directly, reduce some operations.
      accebc74
    • mattijs's avatar
    • mattijs's avatar
      ENH: mirrorMesh: run parallel. Fixes #587. · 404aa759
      mattijs authored
      Note that now mirrorMesh does not delete empty patches anymore.
      404aa759
  7. Sep 15, 2017
  8. Sep 12, 2017
  9. Sep 11, 2017
  10. Sep 09, 2017
  11. Sep 08, 2017
  12. Sep 07, 2017
  13. Sep 06, 2017
  14. Aug 31, 2017