1. 24 Apr, 2019 1 commit
  2. 12 Apr, 2019 1 commit
  3. 06 Feb, 2019 1 commit
  4. 28 May, 2018 1 commit
  5. 09 Apr, 2018 1 commit
  6. 11 Apr, 2018 1 commit
  7. 08 Feb, 2018 1 commit
  8. 18 Sep, 2017 1 commit
    • 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
  9. 14 Jun, 2018 1 commit
  10. 13 Jun, 2018 1 commit
    • Alexey Matveichev's avatar
      ENH: Darwin adjustments · 9258b558
      Alexey Matveichev authored and Mark OLESEN's avatar Mark OLESEN committed
      - link CGAL (clang version) without reference to mpfr,gmp libraries
      
      - use offset address in printStack for Darwin as well
      
      - alternative handling of feexcept on Darwin
      9258b558
  11. 17 Jul, 2017 1 commit
    • Mark OLESEN's avatar
      ENH: make treatment of stream allocators more uniform (issue #532) · 86ef9e86
      Mark OLESEN authored
      - use allocator class to wrap the stream pointers instead of passing
        them into ISstream, OSstream and using a dynamic cast to delete
        then. This is especially important if we will have a bidirectional
        stream (can't delete twice!).
      
      STYLE:
      
      - file stream constructors with std::string (C++11)
      
      - for rewind, explicit about in|out direction. This is not currently
        important, but avoids surprises with any future bidirectional access.
      
      - combined string streams in StringStream.H header.
        Similar to <sstream> include that has both input and output string
        streams.
      86ef9e86
  12. 21 Jul, 2017 1 commit
  13. 05 Aug, 2016 1 commit
  14. 19 May, 2015 1 commit
  15. 14 May, 2015 1 commit
  16. 10 Jul, 2013 1 commit
  17. 03 Oct, 2012 1 commit
  18. 14 Aug, 2011 1 commit
  19. 19 Jan, 2011 1 commit
  20. 14 Jan, 2011 1 commit
  21. 07 Jan, 2011 1 commit
  22. 05 Jan, 2011 2 commits
  23. 28 Jul, 2010 1 commit
  24. 13 Apr, 2010 1 commit
  25. 29 Mar, 2010 1 commit
  26. 30 Nov, 2009 1 commit
  27. 18 May, 2009 1 commit
  28. 10 Jan, 2009 1 commit
    • Mark Olesen's avatar
      Simplify checking of container (List/HashTable, strings) sizes · 95dcb6de
      Mark Olesen authored
      - can use 'XX.empty()' instead of 'XX.size() == 0', 'XX.size() < 1' or
        'XX.size() <= 0' or for simpler coding.
        It also has the same number of characters as '!XX.size()' and /might/ be
        more readable
      
      - many size checking had 'XX.size() > 0', 'XX.size() != 0', or 'XX.size() >= 1'
        when a simple 'XX.size()' suffices
      95dcb6de
  29. 09 Jan, 2009 1 commit
  30. 31 Dec, 2008 2 commits
  31. 25 Jun, 2008 2 commits
  32. 21 May, 2008 2 commits
  33. 15 Apr, 2008 1 commit