Skip to content
Snippets Groups Projects
  1. Nov 26, 2019
    • xentrac's avatar
      Fix bug #19 in permutations and sequences too · 032430e3
      xentrac authored
      In `h_sequence__ma` the same bug occurs, and it manifests as a crash
      in the same way, so I've added a test for it.  In `h_permutation__ma`
      it evidently exists in the same form, but I haven't figured out how to
      reproduce it; in that case I added a fix to the implementation, but no
      test.
      032430e3
    • xentrac's avatar
      Add regression test for bug #19 · 302f2f9f
      xentrac authored
      I committed the fix for bug #19 without a test because I didn't know
      how our test worked yet; here's a test.
      
      A somewhat more desirable way to do this would be to commit the
      test *first*, marked as "incomplete" with `g_test_incomplete()` (an
      expected failure).  However, `g_test_incomplete()` does not handle
      segfaults!  There's no way to mark a segfaulting test as an "expected
      segfault".  So if you want to verify that this test reveals the bug,
      you'll need to `git show thiscommit | patch -p1` or something, in a
      tree that doesn't have the fix applied.  Or you can comment out the
      fix, I guess.
      302f2f9f
  2. Sep 25, 2015
  3. Sep 24, 2015
  4. Sep 16, 2015
  5. Aug 31, 2015
  6. Aug 25, 2015
  7. Feb 12, 2015
  8. Jan 30, 2015
  9. Jan 04, 2015
    • TQ Hirsch's avatar
      Fix #118 · af73181c
      TQ Hirsch authored
      NEWS:
      * Switching endianness mid-byte no longer potentially re-reads bytes.
      * bit_offset now consistently refers to the number of bits already
        read.
      * HParsedTokens now have a bit_length field; this is a size_t.  This
        may be removed for memory reasons.
      
      The bit writer has not yet been updated to match; the result of
      switching bit writer endianness in the middle of a byte remains
      undefined.
      af73181c
Loading