1. 12 Apr, 2013 1 commit
    • * mh/show.c: New file.
      * NEWS: Document changes.
      * libmailutils/stream/message_stream.c (copy_trimmed_value): Fix
      string length calculation to allow for empty lines.
      * mh/.gitignore: Update.
      * mh/Makefile.am: Build show.
      * mh/TODO: Document show.
      * mh/mh_getopt.h: Add new option codes.
      * mh/mh_init.c (mh_expand_name): Change handling of the
      last argument. All callers updated.
      (mh_draft_name): Remove.
      Sergey Poznyakoff authored
  2. 30 Mar, 2013 1 commit
  3. 29 Nov, 2010 1 commit
    • * mh/mhn.c (OPT_PAUSE): Remove define.
      (pause_option): New variable.
      (opt_handler): -pause/-nopause sets pause_option.
      If stdin is not a tty, set pause_option to 0.
      (check_type): New function.
      (mhn_show_command): If mhn-show-<type>[/<subtype>] is not set,
      use %pmoreproc '%F' for text/plain and message/rfc822 parts.
      If content type is application/octet-stream and type=tar, use
      tar to list the archive.
      Otherwise, complain and return NULL.
      (MHN_CONFIRM): Rename to MHN_PAUSE.
      (mhn_pause): New function.
      (show_handler): The value of pause_option controls the %p escape.
      Rewrite the MHN_PAUSE handling to avoid the use of the fixed-size
      buffer.  Implement C-c handling, as in other mhns.
      If mhn_show_command returns NULL, do not attempt to show the content.
      Remove dubious usage of mu_transport_t.
      (mhn_store_command): handle application/octet-stream with type=tar.
      * mh/tests/mhn.at: Add a test for show mode.
      Sergey Poznyakoff authored
  4. 23 Nov, 2010 2 commits
    • * include/mailutils/sys/amd.h (_amd_data) <delete_msg>: New method.
      * libmailutils/base/amd.c (amd_expunge): If delete_msg is defined,
      use it.
      * libproto/mh/mbox.c (_mh_msg_delete): New method.
      (_mailbox_mh_init): Set delete_msg if "rmmproc" component is
      defined.
      
      * mh/tests/movemsg: New file.
      * mh/tests/Makefile.am (EXTRA_DIST): Add movemsg.
      * mh/tests/rmm.at: Test rmmproc effects.
      * mh/tests/rmf.at (MH_KEYWORDS): Fix copy-n-paste error.
      
      * doc/texinfo/mu-mh.texi: Document rmmproc.
      * mh/TODO: Update.
      Sergey Poznyakoff authored
    • * mh/repl.c: Minor changes.
      * tests/repl.at: New file.
      * tests/Makefile.am (TESTSUITE_AT): Add repl.at
      * mh/tests/testsuite.at: Include repl.at.
      * mh/TODO: Update.
      Sergey Poznyakoff authored
  5. 21 Nov, 2010 1 commit
    • * mh/whatnowenv.c: New source.
      * mh/Makefile.am (libmh_a_SOURCES): Add whatnowenv.c
      * mh/TODO: Update.
      * mh/comp.c: Implement draftfolder, whatnowproc and the -use option.
      * mh/forw.c: Likewise.
      * mh/repl.c: Likewise.
      * mh/compcommon.c (check_draft_disposition): Fix typo.
      * mh/mh.h (mh_whatnow_env) <draftfolder>: Remove.
      <mbox>: New member.
      (mh_whatnowproc): New proto.
      (mh_whatnow_env_from_environ)
      (mh_whatnow_env_to_environ): New proto.
      * mh/mh_global.c (prop_merger): Bugfix: initialize dst.
      * mh/mh_init.c (mh_draft_message): Update cur msg.
      * mh/mh_whatnow.c (mh_whatnowproc): New function.
      * mh/whatnow.c (opt_handler): Do not read Draft-Folder variable.
      (main): Initialize data from the environment.
      Sergey Poznyakoff authored
  6. 18 Nov, 2010 1 commit
    • * configure.ac (MU_COND_READLINE): New cond.
      * mh/prompter.c: New file.
      * mh/prompter-rl.c: New file.
      * mh/prompter-tty.c: New file.
      * mh/prompter.h: New file.
      * mh/TODO: Update.
      * mh/Makefile.am: Build prompter.
      
      * doc/texinfo/mu-mh.texi: Document prompter
      * po/POTFILES.in: Update.
      Sergey Poznyakoff authored
  7. 10 Nov, 2010 1 commit
    • * configure.ac (mh/tests): New testdir
      * mh/Makefile.am (SUBDIRS): Add tests
      
      * tests/Makefile.am: New file.
      * mh/tests/Makefile.am: New file.
      * mh/tests/atlocal.in: New file.
      * mh/tests/folder.at: New file.
      * mh/tests/inc.at: New file.
      * mh/tests/mark.at: New file.
      * mh/tests/mhparam.at: New file.
      * mh/tests/mhpath.at: New file.
      * mh/tests/refile.at: New file.
      * mh/tests/rmf.at: New file.
      * mh/tests/rmm.at: New file.
      * mh/tests/scan.at: New file.
      * mh/tests/testsuite.at: New file.
      * mh/tests/.gitignore: New file.
      
      * testsuite/testsuite.inc (MUT_MBCOPY): Work correctly if
      DST is a directory name (for MH and maildir formats).
      
      * mh/folder.c (action_list): Treat empty value as
      equal to no value.
      * mh/install-mh.c (main): Honor MH environment variable.
      * mh/mh_ctx.c (mh_context_read, mh_context_write): Use MU streams
      instead of stdio FILE.
      (mh_context_iterate): Add error checking.
      Do not coredump on NULL header.
      * mh/mh_global.c (_mh_init_global_sequences): Destroy sequences.
      * mh/TODO: Update.
      
      * libmailutils/stream/message_stream.c (copy_trimmed_value): New
      static function.
      (scan_stream): Strip final newline from the saved envelope values.
      
      * mu/Makefile.am (BUILD_SOURCES, EXTRA_DIST): Add
      mu-setup.c and mu-setup.h.
      Sergey Poznyakoff authored
  8. 28 Jun, 2007 1 commit
  9. 06 Jul, 2006 1 commit
  10. 20 May, 2006 1 commit
  11. 03 Dec, 2005 2 commits
  12. 29 Nov, 2005 1 commit
  13. 17 Sep, 2005 1 commit
  14. 30 Aug, 2005 1 commit
  15. 22 Aug, 2003 1 commit
  16. 23 Mar, 2003 1 commit
  17. 22 Mar, 2003 1 commit
  18. 19 Mar, 2003 2 commits
  19. 17 Mar, 2003 1 commit
  20. 15 Mar, 2003 1 commit
  21. 14 Mar, 2003 1 commit
  22. 11 Mar, 2003 1 commit
  23. 10 Mar, 2003 1 commit
  24. 20 Feb, 2003 1 commit
  25. 18 Feb, 2003 1 commit
  26. 16 Feb, 2003 1 commit
  27. 13 Feb, 2003 1 commit
  28. 12 Feb, 2003 1 commit
  29. 10 Feb, 2003 1 commit
  30. 08 Feb, 2003 1 commit
  31. 18 Jan, 2003 1 commit
  32. 16 Jan, 2003 1 commit
  33. 15 Jan, 2003 1 commit
  34. 14 Dec, 2002 1 commit