1. 04 Dec, 2010 1 commit
    • * include/mailutils/stdstream.h (mu_printf): New prototype.
      * include/mailutils/version.h: Include mailutils/types.h instead of
      stdio.h
      (mu_fprint_options, mu_fprint_conf_option): Remove protos.
      (mu_format_options, mu_format_conf_option): New protos.
      * libmailutils/base/version.c (mu_fprint_options): Replace
      with mu_format_options, which outputs formatted data to a mu_stream_t.
      (mu_fprint_conf_option): Ditto.  Replaced by mu_format_conf_option.
      (mu_print_options): Update accordingly.
      * libmailutils/stdstream/basestr.c (mu_printf): New function.
      
      * mu/acl.c: Replace stdio calls with stdstream ones.
      * mu/cflags.c: Likewise.
      * mu/filter.c: Likewise.
      * mu/flt2047.c: Likewise.
      * mu/imap.c: Likewise.
      * mu/info.c: Likewise.
      * mu/ldflags.c: Likewise.
      * mu/logger.c: Likewise.
      * mu/mu.c: Likewise.
      * mu/mu.h: Likewise.
      * mu/pop.c: Likewise.
      * mu/query.c: Likewise.
      * mu/shell.c: Likewise.
      * mu/verbose.c: Likewise.
      * mu/wicket.c: Likewise.
      Sergey Poznyakoff authored
  2. 03 Nov, 2010 1 commit
    • * mu/Makefile.am (MODULES): New variable.  Put all commands there.
      (mu_SOURCES): Include $(MODULES).
      (EXTRA_DIST): Add mu-setup.h mu-setup.c mu-setup.awk
      (BUILT_SOURCES): New variable.
      (mu-setup.h, mu-setup.c): New goals.
      
      * mu/mu.c (doc): Remove command description: it is generated automatically.
      (mu_help_filter): New function.
      (argp): Use mu_help_filter.
      (mutool_action_tab): Remove.
      (mutool_nosys,find_action): Remove.
      (mu_help): New function.
      (main): Use dispatch_find_action.
      * mu/mu.h: Include mailutils/types.h
      (mutool_pop, mutool_filter, mutool_flt2047)
      (mutool_info, mutool_query, mutool_acl)
      (mutool_wicket, mutool_ldflags, mutool_cflags): Remove protos.
      (mu_help, dispatch_find_action, dispatch_docstring): New protos.
      
      * mu/acl.c: Add MU Setup comment.
      * mu/cflags.c: Likewise.
      * mu/filter.c: Likewise.
      * mu/flt2047.c: Likewise.
      * mu/info.c: Likewise.
      * mu/ldflags.c: Likewise.
      * mu/pop.c: Likewise.
      * mu/query.c: Likewise.
      * mu/wicket.c: Likewise.
      
      * mu/mu-setup.awk: New file.
      * mu/help.c: New file.
      * mu/dispatch.c: New file.
      
      * mu/.gitignore: Add mu-status.[ch]
      
      * po/POTFILES.in: Add mu/dispatch.c and mu/help.c.
      Sergey Poznyakoff authored
  3. 04 Oct, 2010 1 commit
  4. 03 Oct, 2010 3 commits
    • Sergey Poznyakoff authored
    • * mu/filter.c (filter_options): Add missing arguments.
      * mu/flt2047.c (flt2047_options): Likewise.
      Sergey Poznyakoff authored
    • The `mu' program is a multi-purpose tool for doing various mail-
      and mailutils-related operations.  It includes a pop3 shell,
      a coder/decoder for all filter formats supported by Mailutils,
      a utility to extract arbitrary values from the MU configuration
      files, a configuration information utility and many more, in the
      short run.  It supercedes examples/pop3client and (partially)
      mailutils-config, both of which will be removed in the future.
      
      * Makefile.am (SUBDIRS): Add mu.
      * configure.ac: Likewise.
      * po/POTFILES.in: Add new files.
      * mu/.gitignore: New file.
      * mu/Makefile.am: New file.
      * mu/filter.c: New file.
      * mu/flt2047.c: New file.
      * mu/info.c: New file.
      * mu/mu.c: New file.
      * mu/mu.h: New file.
      * mu/pop.c: New file.
      * mu/query.c: New file.
      * mu/shell.c: New file.
      Sergey Poznyakoff authored