1. 16 Mar, 2018 1 commit
  2. 09 Mar, 2018 4 commits
  3. 09 Feb, 2018 1 commit
    • rswindell's avatar
      Fix iniGetEnum() and iniReadEnum() - if the enum name read from from the .ini · 7b542ac1
      rswindell authored
      file begins with a number, but is not a number (e.g. "132x52"), return the
      specified default enum value - not the index of the last enum value. This fixes
      the issue with unregonized/supported syncterm.ini and syncterm.lst screen mode
      values causing the last screen mode (ATARI XEP80) to be used.
      
      You can still specify a numeric enum value, but it has to be the entire value
      (white-space separated comments are still supported).
      
      Hex (and octal!) numbers are still supported for enum values, no special code
      needed: strtoul() handles that for us.
      
      iniReadEnumList and iniGetEnumList now use 0 as the default value (instead of
      highest enum value).
      7b542ac1
  4. 31 Jan, 2018 1 commit
  5. 28 Dec, 2017 1 commit
  6. 16 Nov, 2017 1 commit
  7. 11 Oct, 2017 1 commit
  8. 26 Aug, 2017 2 commits
    • rswindell's avatar
    • rswindell's avatar
      iniSetString will now: · e5415160
      rswindell authored
      - Use the string literal separator (colon) instead of equals if the string
        value begins or ends in space or contains control characters.
      
      iniGetString, etc. will preserve leading or trailing space characters in
      a string specified with a colon key:value separator and enclosed in
      double-quotes.
      iniGetString, etc. will decode C-escaped string values specified with a
      string literal (colon) key:value separator.
      
      New function: iniSetStringLiteral() used to specify that the value shall
      be stored in the .ini file using the colon key:value separator, enclosed
      in double-quotes, and any special charactors (e.g. quotes, backslashes, etc.)
      or control characters must be C-style escaped.
      e5415160
  9. 26 May, 2016 1 commit
  10. 27 Jan, 2016 1 commit
  11. 21 Jan, 2016 1 commit
    • rswindell's avatar
      iniGet[Existing]String was not returning the trimmed value (stored in the value · c4fdaddd
      rswindell authored
      buffer, when supplied).
      Now, when a value buffer (non-NULL pointer) is supplied, we return a pointer to
      that buffer instead of the value in the string list (which is not trimmed).
      This was introduced in rev 1.120 (July 2011) as part of an optimization
      (optional value buffers).
      iniReadString() was not affected.
      c4fdaddd
  12. 19 Jan, 2016 1 commit
  13. 18 Jan, 2016 1 commit
  14. 28 Sep, 2015 1 commit
  15. 29 Aug, 2015 1 commit
  16. 22 Aug, 2015 1 commit
  17. 18 Apr, 2015 1 commit
    • rswindell's avatar
      When parsing boolean key values, if white-space or a semicolon immediately · cceb1fbb
      rswindell authored
      follow the special boolean keywords "True", "Yes", or "On", treat the value as
      a logical true (1). Previously, if the boolean keyword was followed by a
      semicolon (no whitespace separation) or any text with whitespace separation,
      the value would be treated as a logical false (0). The  example sexpots.ini at
      wiki.synchro.net has comments following some "true" values which caused them
      to be interpretted as "false". Bug reported via reddit by FozzTexx.
      cceb1fbb
  18. 12 Feb, 2015 2 commits
  19. 20 Aug, 2014 1 commit
  20. 24 Apr, 2014 1 commit
    • deuce's avatar
      Coverity bug: · dff20fb0
      deuce authored
      Fix small resource leak in parseEnumList if splitList() returns a zero-length
      list (I don't think that's actually possible, but there's code to handle it).
      dff20fb0
  21. 09 Feb, 2014 1 commit
  22. 04 Jan, 2014 1 commit
  23. 11 Oct, 2013 2 commits
  24. 09 Oct, 2013 1 commit
  25. 05 Oct, 2013 2 commits
  26. 12 Sep, 2013 1 commit
  27. 16 Dec, 2011 1 commit
  28. 04 Nov, 2011 1 commit
  29. 24 Oct, 2011 1 commit
  30. 30 Sep, 2011 1 commit
  31. 29 Sep, 2011 2 commits
  32. 01 Sep, 2011 1 commit