1. 05 Jan, 2021 5 commits
    • Kyle McKay's avatar
      Add .gitattributes and .gitignore files · 139a5291
      Kyle McKay authored
      Signed-off-by: Kyle McKay's avatarKyle J. McKay <mackyle@gmail.com>
    • Kyle McKay's avatar
      loader.c: avoid use of uninitialized variable · 08037550
      Kyle McKay authored
      If fseek fails then op_free will be called with an uninitialized
      variable.  Initialize of to NULL to prevent that possibility.
      Signed-off-by: Kyle McKay's avatarKyle J. McKay <mackyle@gmail.com>
    • Kyle McKay's avatar
      loader.c: AIFF 8-bit samples are signed not unsigned · c0405592
      Kyle McKay authored
      In contrast the the WAV 8-bit sample format, the AIFF 8-bit
      sample format uses signed values NOT unsigned values.
      Correct the loader for AIFF 8-bit samples to treat them
      as signed rather than unsigned.
      Signed-off-by: Kyle McKay's avatarKyle J. McKay <mackyle@gmail.com>
    • Kyle McKay's avatar
      mincurses.c: use cursor_normal to disable cursor_invisible · e22a70ec
      Kyle McKay authored
      There are actually three capabilities:
      The "cursor_normal" string disables both "cursor_invisible" and
      "cursor_visible".  The actual meaning of "cursor_visible" is to
      make the cursor "very visible."
      Prefer using "cursor_normal" to disable "cursor_invisible".
      Not all terminals have a "cursor_visible" string and it's not the
      opposite of "cursor_invisible" anyway.
      In the off chance that a terminal description has been created
      incorrectly, if "cursor_normal" is not available but "cursor_visible"
      is, it will be used instead (just like the previous code did).
      Signed-off-by: Kyle McKay's avatarKyle J. McKay <mackyle@gmail.com>
    • Kyle McKay's avatar
      mincurses.c: send ena_acs string to correct location · 2658b5cf
      Kyle McKay authored
      The call to _nc_init_acs in min_panel_init() will, indeed, attempt
      to output the ena_acs string (among other activities) if it's set.
      However, it may output it using putc to the stdio FILE handle.
      That may, or may not, be the actual output device that we are using.
      In any case, to be sure we end up with ena_acs having been output
      at least once to the intended output device, flush all output streams
      after calling _nc_init_acs and then output ena_acs once more (if
      it's set), just in case.
      To be clear, the call to _nc_init_acs MUST still be made regardless
      of whether it outputs ena_acs because _nc_init_acs performs various
      other tasks required to make the alternate character set work --
      outputting ena_acs (when set) is just one of the things it does.
      Signed-off-by: Kyle McKay's avatarKyle J. McKay <mackyle@gmail.com>
  2. 03 Jan, 2021 3 commits
    • Kyle McKay's avatar
      configure.ac: modernize to eliminate warnings · 618e2f90
      Kyle McKay authored
      The changes are backwards compatible to autoconf 2.50 and
      therefore do not require increasing the AC_PREREQ version.
      In addition to the modernization, add AC_CANONICAL_HOST
      (also backwards compatible to autoconf 2.50) so that the
      "$host" variable being tested later will always be set and
      will always be the "canonical" value.
      The addition of AC_CANONICAL_HOST will cause autogen.sh
      to install both config.guess and config.sub, but this is
      expected behavior in this case.
      Signed-off-by: Kyle McKay's avatarKyle J. McKay <mackyle@gmail.com>
    • Kyle McKay's avatar
      mincurses.c: support using parm_right_cursor if no column_address · d81e2da1
      Kyle McKay authored
      Not all terminal types support the "column_address" attribute.
      Many of the terminals that do not support "column_address" do support
      "parm_right_cursor" and "carriage_return".
      Use "carriage_return" with "parm_right_cursor" when "column_address"
      is not supported.  This provides almost identical support compared
      to "column_address" and is preferred when "column_address" is not
      supported before falling back to the last chance "cursor_address"
      support option.
      Signed-off-by: Kyle McKay's avatarKyle J. McKay <mackyle@gmail.com>
    • Kyle McKay's avatar
      mincurses.c: support using cursor_address if no column_address · e58315b3
      Kyle McKay authored
      Not all terminal types support the "column_address" attribute.
      Most of the terminals that do not support "column_address" do support
      Use "cursor_address" instead of "column_address" when "column_address"
      is not supported.
      In order to do this, it's necessary to keep track of where the last
      row of the panel is located.  To make this work without needing to
      read the current cursor location, when using "cursor_address" instead
      of "column_address", the panel will always be forced to the bottom
      of the screen.
      If the cursor was already within "panel_lines" lines of the bottom
      of the screen, the effect will be identical to using the "column_address"
      version.  Otherwise there will be some blank lines between the last
      used and the start of the panel.  A few blank lines seems like a small
      price to pay for increased terminal compatibility.
      Signed-off-by: Kyle McKay's avatarKyle J. McKay <mackyle@gmail.com>
  3. 23 Nov, 2020 1 commit
  4. 18 Nov, 2020 3 commits
    • Ralph Giles's avatar
      autotools: Include the manpage in the tarball. · b65ddabe
      Ralph Giles authored
      Unlike most source files, manpages are not included in the
      automake dist target by default, on the assumption they're
      generated from some other source.
      Since our manpage is actually written in man, mark it for
      inclusion explicitly. Fixes `make distcheck`.
    • Ralph Giles's avatar
      Fix build against ncurses 6. · ce3fabff
      Ralph Giles authored
      In ncurses 6.0 the TERMINAL type in term.h was made opaque
      by default, to discourage the sort of manipulation we do
      of the internals, which are not considered portable. I
      assume that means they're not a supported API surface.
      Opt into tracking the internals by defining NCURSES_INTERNALS
      before we include term.h which exposes the previously public
      `struct term` definition.
      This seems to work fine, but it required to build on any
      recent posix-ish system.
    • Ralph Giles's avatar
      gitlab-ci: Add a basic build description. · 4699abe7
      Ralph Giles authored
      Specify a basic autotools build so we get some feedback on changes
      to gitlab-hosted repositories.
  5. 11 Feb, 2014 2 commits
  6. 18 Jan, 2014 1 commit
  7. 25 Nov, 2013 1 commit
  8. 22 Nov, 2013 1 commit
  9. 15 Nov, 2013 1 commit
  10. 12 Nov, 2013 2 commits
  11. 13 Mar, 2013 2 commits
  12. 12 Mar, 2013 9 commits
  13. 28 Oct, 2012 2 commits
  14. 01 Feb, 2011 2 commits
  15. 17 Dec, 2010 1 commit
  16. 14 Dec, 2010 1 commit
  17. 11 Dec, 2010 1 commit
  18. 09 Dec, 2010 1 commit
  19. 07 Dec, 2010 1 commit