Skip to content
Permalink
Branch: master
Commits on Dec 11, 2018
  1. Supply a checksum program for testing

    skeeto committed Dec 11, 2018
    Unfortunately sha1sum isn't necessarily available.
Commits on Dec 9, 2018
  1. Bump to version 2.4

    skeeto committed Dec 9, 2018
  2. Improve float checking a bit more

    skeeto committed Dec 9, 2018
    Don't optimize for fewer decimal places since that causes unnecessary
    exponents. For example "100." would print as "1.e2". Gross. So instead
    pick the shortest string, preferring *more* decimal places on ties since
    that prefers the non-exponent version.
  3. Remove some trailing spaces

    skeeto committed Dec 9, 2018
  4. Don't require a newline at the end of the file

    skeeto committed Dec 9, 2018
    In some, but not all, circumstances it would fail if the file did not
    end with a newline. Some tests have shifted from invalid to valid
    because they were only rejected for this reason.
Commits on Dec 2, 2018
  1. Add -V option (print version)

    skeeto committed Dec 2, 2018
  2. Fix up test script

    skeeto committed Dec 2, 2018
  3. Always use binary input/output (Win32)

    skeeto committed Dec 2, 2018
    Otherwise MSVCRT text translation damages the data. This makes the tests
    pass on Win32.
Commits on Dec 1, 2018
  1. Silence warning about lack of return value

    skeeto committed Dec 1, 2018
    For some reason GC can't see that this function doesn't return.
Commits on Jul 15, 2018
  1. Tidy up some recent changes

    skeeto committed Jul 15, 2018
Commits on Jul 14, 2018
  1. Switch string table to a trie

    skeeto committed Jul 14, 2018
    This is much more efficient at locating common string tails than the
    previous approach.
Commits on Jul 11, 2018
  1. Fix string table sorting

    skeeto committed Jul 11, 2018
  2. Fix entry truncation check

    skeeto committed Jul 11, 2018
  3. Fix string escaping

    skeeto committed Jul 11, 2018
    This worked fine by accident, except for empty strings
  4. Simplify hash table usage

    skeeto committed Jul 11, 2018
Commits on Jul 10, 2018
  1. Complete rewrite from scratch

    skeeto committed Jul 9, 2018
    This clean rewrite from scratch of the original binitools. I've learned
    a lot in these past 11 years and could do a much better job today.
    
    * The text format is much nicer: far less quoting is necessary.
    * Noticeably faster performance in both directions.
    * Simpler user interface with slightly more unix-like sensibilities.
    * 100% portable ANSI C with no endian issues.
    * No more crappy GNU Autotools usage.
    * Public domain, no more pointless GPL.
    * No more pointless dependency on lex or yacc.
    * No idiotic GNU-like banner.
    * Can be compiled trivially with Visual Studio.
    * Minor bugs have been fixed.
    * Better error messages, particularly when parsing the text format.
    * Sorted string table so BINI files are more deterministic.
You can’t perform that action at this time.