1. 27 Sep, 2019 1 commit
  2. 26 Sep, 2019 1 commit
  3. 08 May, 2019 1 commit
  4. 19 Apr, 2019 1 commit
  5. 18 Apr, 2019 3 commits
  6. 16 Apr, 2019 1 commit
  7. 14 Apr, 2019 2 commits
  8. 13 Apr, 2019 2 commits
  9. 12 Apr, 2019 4 commits
    • Seth Price's avatar
      Correct stupid accidental mis-copying · be8a5460
      Seth Price authored
      I copy-pasted a block of code from one part of the program to
      another and forgot to change one of the variables.  I should've
      tested it *before* I pushed it out lmao
      
      (it segfaulted when specifying length as an argument)
      be8a5460
    • Seth Price's avatar
      Validate input for length/distance · ab197bd9
      Seth Price authored
      Prevent integer overflow and other problems by switching `atoi()`
      to `strtol()` and making sure the number is within the range of
      an unsigned integer.
      
      See issue #1
      ab197bd9
    • Seth Price's avatar
      Correct trivial typos in manpage · c11a3acd
      Seth Price authored
      * `.Xr` macro was actually written as `.xr`, flubbing up on some
        troff/mdoc interpreters
      * Be uniform in how C macros are represented
      c11a3acd
    • Seth Price's avatar
      Implement better random number generation · 18f9e094
      Seth Price authored
      * Use microsecond value in POSIX `sys/time.h` to seed `srand()`,
        theoretically giving different output upon each execution (using
        regular UNIX time, the output only changes every second)
      * Add `--use-posixtime` feature in configure script to automatically
        compile with necessary macros
      * Only use upper bits of `rand()` as lower bits are unreliable
      * Update documentation to reflect changes
      
      See merge request !3
      18f9e094
  10. 09 Apr, 2019 1 commit
    • Seth Price's avatar
      Use exit values from `sysexits.h` · bf8fff81
      Seth Price authored
      * Return using values from `sysexits.h` if supported (use included
        `exits.h` otherwise)
      * Add `--use-sysexits` feature in configure script to automatically
        compile with necessary macros
      * Update documentation to reflect changes
      
      Merged locally; no relevant merge request
      bf8fff81
  11. 02 Apr, 2019 3 commits
    • Seth Price's avatar
      Remove bit of unused code · 6fc1e5eb
      Seth Price authored
      A macro and some declarations from pre-release were left in
      `options.h`; since I decided on using getopt and not my own
      options parser, it doesn't do anything and might confuse
      contributors.
      
      Additionally, a not-entirely-finished clause to check for the
      presence of `sysexits.h` was left in the configure script.  I
      think I started implementing the whole sysexits thing before release
      then changed my mind.  And I might change my mind again and
      re-implement them.  I'm not sure.
      6fc1e5eb
    • Seth Price's avatar
      Update docs/strings for version 1.1 · 51982624
      Seth Price authored
      Added an entry in the changelog, updated some dates, etc.
      51982624
    • Seth Price's avatar
      Delete block of incorrect info from manpage · 1cdf5c5b
      Seth Price authored
      To get a solid idea of what I wanted the end-result to be with
      the options and all, I decided to write the manpage before the
      rest of the program.  I forgot to remove a little snippet that
      dealt with using `sysexits`, however.  I may or may not
      implement that in the future; I tend to like nice error codes.
      1cdf5c5b
  12. 01 Apr, 2019 1 commit
    • Seth Price's avatar
      Add option for colour output · 8e1293de
      Seth Price authored
      * Add `-c` option to enable colour output (when compiled in)
      * Add `COLOR` flag to produce colour output in `draw_penis()` (when compiled in)
      * Add `--use-color` feature in configure script to automatically compile with necessary macros
      * Update documentation to reflect changes
      
      See merge request !1
      8e1293de
  13. 29 Mar, 2019 1 commit