1. 12 Nov, 2012 1 commit
    • Also fix iterator synchronization after removing an element and
      improve Sieve API.
      
      * include/mailutils/header.h (mu_header_get_itemptr): New proto.
      * include/mailutils/iterator.h (mu_iterator_advance): Remove.
      (mu_iterator_delitem): New proto.
      (mu_iterator_set_delitem): New proto.
      * include/mailutils/sieve.h (mu_sieve_register_t) <opt_args>: New member.
      (mu_sieve_register_test_ext)
      (mu_sieve_register_action_ext): New protos.
      * include/mailutils/sys/iterator.h (_mu_iterator) <curitem_p>: Remove.
      <delitem>: New member. All uses updated.
      
      * libmailutils/base/iterator.c (mu_iterator_set_delitem): New function.
      
      * libmailutils/mailbox/hdritr.c: Implement bidirectional iteration.
      Implement itrctl method.
      * libmailutils/mailbox/header.c: Likewise.
      
      * libmailutils/base/assoc.c: Use delitem method instead of curitem_p.
      (mu_iterator_delitem): New function.
      * libmailutils/base/opool.c
      * libmailutils/diag/debug.c
      * libmailutils/list/iterator.c
      * libmailutils/list/pop.c
      * libmailutils/list/remove.c
      * libmailutils/list/removenth.c
      * libmailutils/mailbox/imapenv.c
      * libmailutils/mailbox/mbxitr.c
      * libproto/pop/pop3_iterator.c
      
      * libmu_sieve/extensions/Makefile.am: Add editheader.c
      * libmu_sieve/extensions/editheader.c: New file.
      
      * libmu_sieve/prog.c (mu_sv_code_command): Allow for optional positional
      arguments.
      * libmu_sieve/register.c (mu_sieve_test_lookup)
      (mu_sieve_action_lookup): Return NULL if a record with
      empty (NULL) handler is found.
      (mu_sieve_register_test_ext)
      (mu_sieve_register_action_ext): New functions.
      (mu_sieve_register_test)
      (mu_sieve_register_action): Rewrite as wrappers to the above.
      * libmu_sieve/util.c (mu_sieve_vlist_do): Allow for SVT_STRING
      argument.
      * sieve/tests/Makefile.am: Add new testcases.
      * sieve/tests/testsuite.at: Include new testcases.
      * sieve/tests/addheader.at: New testcase.
      * sieve/tests/delheader.at: New testcase.
      
      * NEWS: Update.
      * doc/rfc/README: Update.
      Sergey Poznyakoff authored
  2. 07 Aug, 2012 1 commit
  3. 19 Jul, 2012 1 commit
    • * NEWS: Update.
      * mail/escape.c (escape_check_args): Take two additional arguments
      specifying minimum and maximum number of parameters to expect.
      All uses updated. Remove static qualifier.
      * mail/mail.h (send_attach_file): Rename to send_attach_file_default
      (escape_check_args,escape_list_attachments)
      (escape_attach,escape_remove_attachment): New protos.
      * mail/send.c (send_attach_file): Take encoding and content type
      as arguments.
      (send_attach_file_default): New function.
      (escape_list_attachments)
      (escape_attach,escape_remove_attachment): New functions.
      * mail/table.c: New escapes: l, +, ^
      
      * include/mailutils/list.h (mu_list_remove_nth)
      (mu_list_remove_nth_nd): New protos.
      * libmailutils/list/Makefile.am (liblist_la_SOURCES): Add removenth.c
      * libmailutils/list/removenth.c: New file.
      Sergey Poznyakoff authored
  4. 18 Jul, 2012 1 commit
    • * NEWS: Update.
      * doc/imprimatur: Upgrade.
      * libmailutils/mime/attachment.c (mu_message_create_attachment): Bugfixes.
      * mail/mail.c: New options --attach, --content-type and
      --encoding.
      * mail/mail.h (default_encoding, default_content_type): New externs.
      (send_attach_file): New proto.
      * mail/send.c (send_attach_file): New function.
      (save_dead_message_env): New function.
      (save_dead_message): Rewrite.
      (mail_send0): Attach files, if requested.
      Sergey Poznyakoff authored
  5. 17 Jul, 2012 1 commit
  6. 01 Jun, 2012 1 commit
    • * doc/texinfo/mu-mh.texi: Document changes to inc.
      * NEWS: Likewise.
      * mh/inc.c: Accept multiple source mailboxes.
      (input_file): Remove.
      (input_file_list): New variable.
      (opt_handler): Multiple -file options augment input_file_list.
      (incmbox): New function.
      (main): Iterate over input_file_list, incorporating mail from each
      mailbox in it.
      
      Bugfix:
      
      * libproto/imap/mbox.c (_imap_env_date): Return a 0-terminated string.
      
      Fix MH test suite.
      
      The ali-everybody tests fails on machines with user database kept
      in a non-standard storage (e.g. LDAP or NIS).  This patch attempts to
      fix it.
      
      * mh/tests/lu.c: New file.
      * mh/tests/.gitignore: Add lu.
      * mh/tests/Makefile.am (noinst_PROGRAMS): New variable.
      * mh/tests/ali.at: Use lu instead of scanning /etc/passwd directly.
      Sergey Poznyakoff authored
  7. 09 May, 2012 1 commit
    • * doc/texinfo/folder.texi: Update
      * include/mailutils/cpp/folder.h (Folder) <set_stream>
      <get_stream>: Remove.
      * include/mailutils/folder.h (mu_folder_get_stream)
      (mu_folder_get_streamref)
      (mu_folder_set_stream): Remove.
      * include/mailutils/mailbox.h (mu_folder_get_stream)
      (mu_folder_get_streamref)
      (mu_folder_set_stream): Remove protos.
      * include/mailutils/sys/folder.h (_mu_folder)<stream>: Remove.
      All uses updated.
      * libmailutils/mailbox/folder.c (mu_folder_set_stream)
      (mu_folder_get_stream,mu_folder_get_streamref): Remove.
      * libmailutils/mailbox/mailbox.c (mu_mailbox_get_stream)
      (mu_mailbox_get_streamref): Remove.
      * libmu_cpp/folder.cc (get_stream, set_stream): Remove.
      * libmu_scm/mu_mailbox.c (mu-mailbox-get-port): Remove.
      * python/libmu_py/folder.c (get_stream): Remove.
      Sergey Poznyakoff authored
  8. 05 Jan, 2012 1 commit
  9. 09 Nov, 2011 1 commit
    • * libmu_dbm/kyoto.c: New file.
      * libmu_dbm/dbm.c: Update.
      * libmu_dbm/mudbm.h: Update.
      * libmu_dbm/Makefile.am: (libmu_dbm_la_SOURCES): Add kyoto.c
      * configure.ac: Add --with-kyotocabinet.
      * README: Update.
      * doc/texinfo/programs.texi: Likewise.
      * libmailutils/base/version.c: Likewise.
      Wojciech Polak authored
  10. 08 Nov, 2011 1 commit
  11. 05 Nov, 2011 1 commit
    • * .gitmodules: Add imprimatur.
      * Makefile.am: Likewise.
      * configure.ac: Likewise.
      * doc/Makefile.am: Likewise.
      * bootstrap.conf: Comment out make in doc/texinfo
      * doc/texinfo/Makefile.am: Rewrite.
      * doc/texinfo/fdl.texi: Minor change.
      * doc/texinfo/getdate.texi: Minor change.
      * doc/texinfo/mailutils.texi: begin rewrite.
      * doc/texinfo/mu-mh.texi: Minor change.
      * doc/texinfo/programs.texi: begin rewrite.
      * doc/texinfo/sieve.texi: Minor change.
      * doc/texinfo/usage.texi: Minor change.
      
      * libmailutils/cfg/lexer.l: Allow for @ in unquoted strings
      * pop3d/bulletin.c: Relax safety checks for bulletin.db
      * pop3d/logindelay.c: Relax safety checks for stat.sb
      * pop3d/pop3d.h (DEFAULT_GROUP_DB_SAFETY): New define.
      Sergey Poznyakoff authored
  12. 09 Sep, 2011 3 commits
  13. 16 May, 2011 1 commit
    • Bugfixes. · 73be707d
      * libmailutils/cfg/parser.y (STRTONUM, STRxTONUM)
      (GETSNUM, GETUNUM): Remove unused arguments.
      * libmailutils/stream/tcp.c (mu_tcp_stream_create_from_sa): Take
      care not to destroy sockaddr arguments in case of failure.
      Sergey Poznyakoff authored
  14. 02 Jan, 2011 1 commit
  15. 06 Dec, 2010 1 commit
    • The mu_stream_ioctl function gets two argument that identify the ioctl
      in question: "family", which identifies a family of ioctls in question,
      and "opcode", which indicates the requested operation within that family.
      
      * include/mailutils/stream.h: Define ioctl families and opcodes.
      (mu_stream_ioctl): Change signature.
      * include/mailutils/sys/stream.h (_mu_stream)<ctl>: Change signature.
      
      * include/mailutils/log.h (mu_severity_from_string)
      (mu_severity_to_string): New protos.
      
      * libmailutils/stream/stream.c (mu_stream_ioctl): Change signature.
      
      * libmailutils/filter/filter_iconv.c: Rewrite ioctl support.
      * libmailutils/stream/file_stream.c: Likewise.
      * libmailutils/stream/fltstream.c: Likewise.
      * libmailutils/stream/iostream.c: Likewise.
      * libmailutils/stream/logstream.c: Likewise.
      * libmailutils/stream/mapfile_stream.c: Likewise.
      * libmailutils/stream/memory_stream.c: Likewise.
      * libmailutils/stream/nullstream.c: Likewise.
      * libmailutils/stream/prog_stream.c: Likewise.
      * libmailutils/stream/rdcache_stream.c: Likewise.
      * libmailutils/stream/streamref.c: Likewise.
      * libmailutils/stream/syslogstream.c: Likewise.
      * libmailutils/stream/tcp.c: Likewise.
      * libmailutils/stream/xscript-stream.c: Likewise.
      * libmu_auth/tls.c: Likewise.
      
      * comsat/action.c: Change calls to mu_stream_ioctl.
      * imap4d/auth_gsasl.c: Likewise.
      * imap4d/io.c: Likewise.
      * imap4d/util.c: Likewise.
      * libmailutils/base/getpass.c: Likewise.
      * libmailutils/cfg/parser.y: Likewise.
      * libmailutils/mailbox/body.c: Likewise.
      * libmailutils/mime/mime.c: Likewise.
      * libmailutils/stdstream/dbgstream.c: Likewise.
      * libmailutils/stdstream/strerr.c: Likewise.
      * libmu_sieve/runtime.c: Likewise.
      * libmu_sieve/sieve.y: Likewise.
      * libmu_sieve/util.c: Likewise.
      * libproto/imap/trace.c: Likewise.
      * libproto/mailer/smtp_data.c: Likewise.
      * libproto/mailer/smtp_starttls.c: Likewise.
      * libproto/mailer/smtp_trace.c: Likewise.
      * libproto/pop/pop3_stls.c: Likewise.
      * libproto/pop/pop3_stream.c: Likewise.
      * libproto/pop/pop3_trace.c: Likewise.
      * maidag/lmtp.c: Likewise.
      * mail/source.c: Likewise.
      * mu/logger.c: Likewise.
      * pop3d/extra.c: Likewise.
      * pop3d/retr.c: Likewise.
      
      * TODO: Update.
      * doc/texinfo/nullstream.texi: Update.
      Sergey Poznyakoff authored
  16. 23 Nov, 2010 1 commit
    • * 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
  17. 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
  18. 14 Nov, 2010 1 commit
    • The traditional component matching syntax, `--COMP STRING', is
      accepted, provided at least one of the following conditions is met:
      
      1. The word `COMP' contains at least one capital letter;
      2. The word `COMP' ends with a colon;
      3. Standard input is not connected to a terminal.
      
      * mh/mh_getopt.c (mh_help_hook): New global variable.
      (mh_help): Call mh_help_hook, if set.
      * mh/mh_getopt.h (mh_help_hook): New extern.
      * mh/pick.c (doc): Update.
      (opt_handler): Remove ARGP_KEY_ERROR case.
      (pick_help_hook): New function.
      (main): Convert any instance of `--comp string' to
      `--component=comp --pattern=string', if comp contains a
      capital letter or ends with a colon, or fd 0 is not connected
      to terminal.
      * doc/texinfo/mu-mh.texi: Document changes to pick.
      Sergey Poznyakoff authored
  19. 11 Nov, 2010 3 commits
    • * doc/texinfo/nullstream.texi: New file.
      
      * mh/mh_init.c (mh_real_install): Use mu_stream_t instead of
      FILE.
      * mh/mh_whatnow.c (_whatnow): Likewise.
      Sergey Poznyakoff authored
    • * mh/mh_init.c (mh_init): Make sure stdin is open.
      * mh/anno.c (main): Use mu_stream_t to read the answer from stdin.
      Do not display prompt if stdin is not connected to a tty.
      * mh/tests/anno.at: New testcase.
      * mh/tests/Makefile.am (TESTSUITE_AT): Add anno.at
      * mh/tests/testsuite.at: Include anno.at.
      
      * doc/texinfo/mu-mh.texi: Document the changes in the behavior of anno.
      Sergey Poznyakoff authored
    • Mhl now accepts the traditional use of "ignores=", i.e. as a single
      statement on a line and without double-quotes around the argument.
      
      Additional quotes around variable values are not needed in most
      cases.
      
      The name of a component is not printed if that component is not
      present.
      
      The offset variable works as in MH and nmh.
      
      * mh/mh_list.c (parse_variable): Accept traditional use of
      "ignores=", as a single statement on a line, without double-quotes around
      the argument.
      (mhl_format_compile): Use mu_streams instead of FILE.
      Fix line counting.
      (header_is_printed, want_header): Last argument is const char *.
      (ovf_print): Move to the specified offset no matter what the value
      of prefix is.
      (print_component_name): New function.
      (eval_component): Call print_component_name and newline, if necessary
      (eval_body): Likewise.
      (eval_extras): Likewise.
      (eval_comp): Do not print component name, leave that to the called
      function.  Ditto for the trailing newline.
      * mh/mhl.c: Ignore empty moreproc value.
      * mh/mhl.format: Remove extra double-quotes.
      
      * mh/tests/mhl.at: New testcase.
      * mh/tests/Makefile.am (TESTSUITE_AT): Add mhl.at
      * mh/tests/testsuite.at: Include mhl.at
      
      * libmailutils/string/wordsplit.c (scan_qstring): Force _WSNF_EMPTYOK.
      (mu_wordsplit_len): Make sure the tail element is not joinable
      * libmailutils/tests/wordsplit.at: Test these changes.
      
      * doc/texinfo/mu-mh.texi: Update the description of mhl.
      Sergey Poznyakoff authored
  20. 10 Nov, 2010 1 commit
    • * mh/mhn.c (_get_hdr_value): Remove.  All callers modified to use
      mu_header_aget_value_unfold instead.
      (mhn_message_size): Type of 2nd arg is mu_off_t *.
      Use null stream & stream stats in realsize mode.
      (list_handler): Fix rounding of the message size.
      (copy_header): Use mu_header_sget* to avoid unnecessary
      memory allocations.
      Sergey Poznyakoff authored
  21. 26 Oct, 2010 1 commit
    • The purpose is to make it modular and flexible.  URLs are
      parsed out as they are created.  Missing URL parts can be
      supplied via a "URL hint" at creation time (similar to
      the approach used in creating mu_address_t).  Ports
      can be specified either as numbers or as service names.
      Original port string representation can be retrieved from
      the URL, as well as its numeric value.
      
      * libmailutils/url/accessor.h: New file.
      * libmailutils/url/copy.c: New file.
      * libmailutils/url/create.c: New file.
      * libmailutils/url/decode.c: New file.
      * libmailutils/url/destroy.c: New file.
      * libmailutils/url/dup.c: New file.
      * libmailutils/url/expand.c: New file.
      * libmailutils/url/flag.c: New file.
      * libmailutils/url/get-auth.c: New file.
      * libmailutils/url/get-host.c: New file.
      * libmailutils/url/get-param.c: New file.
      * libmailutils/url/get-path.c: New file.
      * libmailutils/url/get-portstr.c: New file.
      * libmailutils/url/get-query.c: New file.
      * libmailutils/url/get-scheme.c: New file.
      * libmailutils/url/get-secret.c: New file.
      * libmailutils/url/get-user.c: New file.
      * libmailutils/url/match.c: New file.
      * libmailutils/url/port.c: New file.
      * libmailutils/url/scheme.c: New file.
      * libmailutils/url/uplevel.c: New file.
      * libmailutils/url/urlstr.c: New file.
      
      * configure.ac (AC_CONFIG_FILES): Add libmailutils/url/Makefile
      * libmailutils/Makefile.am (SUBDIRS): Add url.
      (libmailutils_la_LIBADD): Link with liburl.
      * libmailutils/base/Makefile.am (libbase_la_SOURCES): Remove url.c
      * libmailutils/base/url.c: Remove.
      
      * libmailutils/string/Makefile.am (libstring_la_SOURCES): Add xdecode.c
      * libmailutils/string/xdecode.c: New file.
      
      * include/mailutils/sys/url.h (_mu_url): Change type to short.
      <_get_port>: Change second argument to unsigned.
      <_get_portstr>: New method.
      * include/mailutils/url.h (MU_URL_SCHEME): New flag.
      (MU_URL_PARSE_HEXCODE, MU_URL_PARSE_HIDEPASS)
      (MU_URL_PARSE_PORTSRV, MU_URL_PARSE_PORTWC)
      (MU_URL_PARSE_PIPE, MU_URL_PARSE_SLASH): New flags.
      (mu_url_create_hint, mu_url_copy_hints): New prototypes.
      (mu_url_parse): Remove.
      (mu_url_get_port): Change second argument to unsigned.
      (mu_url_decode_len,mu_url_decode): Remove.
      (mu_url_decode): New proto.
      (mu_url_sget_portstr, mu_url_aget_portstr)
      (mu_url_get_portstr): New protos.
      
      * include/mailutils/util.h (mu_str_url_decode)
      (mu_str_url_decode_inline): New protos.
      * libproto/pop/mbox.c (pop_open): Port is unsigned.
      
      * libproto/imap/folder.c: Use MU_URL_SCHEME in url_may_have.
      * libproto/maildir/folder.c: Likewise.
      * libproto/mailer/prog.c: Likewise.
      * libproto/mailer/remote.c: Likewise.
      * libproto/mailer/sendmail.c: Likewise.
      * libproto/mailer/smtp.c: Likewise.
      * libproto/mbox/folder.c: Likewise.
      * libproto/mh/folder.c: Likewise.
      * libproto/nntp/folder.c: Likewise.
      * libproto/pop/folder.c: Likewise.
      
      * imap4d/imap4d.c: Remove calls to mu_url_parse.
      * libmailutils/base/registrar.c: Likewise.
      * libmailutils/base/wicket.c: Likewise.
      * libmailutils/mailbox/folder.c: Likewise.
      * libmailutils/mailbox/mailbox.c: Likewise.
      * libmailutils/mailer/mailer.c: Likewise.
      * libmailutils/tests/url-parse.c: Likewise.
      * libmailutils/tests/wicket.c: Likewise.
      * libproto/mailer/smtp_auth.c: Likewise.
      * maidag/deliver.c: Likewise.
      * mu/wicket.c: Likewise.
      
      * libmailutils/mime/mimehdr.c (mu_mimehdr_decode_param): Use
      mu_str_url_decode, instead of mu_url_decode.
      * libmailutils/stream/tcp.c (_tcp_instance)<port>: Change type
      to unsigned short. All uses updated.
      (mu_tcp_stream_create_with_source_ip)
      (mu_tcp_stream_create_with_source_host)
      (mu_tcp_stream_create): Port is unsigned.
      * include/mailutils/stream.h (mu_tcp_stream_create_with_source_ip)
      (mu_tcp_stream_create_with_source_host)
      (mu_tcp_stream_create): Port is unsigned.
      * include/mailutils/cpp/url.h (get_port): Return unsigned.
      * libmu_cpp/url.cc (get_port): Return unsigned.
      (parse): Empty function. Schedule for removal.
      * python/libmu_py/url.c (api_url_parse): Empty function.
      Schedule for removal.
      (api_url_get_port): Port is unsigned.
      
      * libmailutils/base/wicket.c (mu_wicket_file_match_url)
      (mu_wicket_file_match_url): New parameter: parse_flags.
      * mu/wicket.c (wicket_match): Use parse_flags to control
      whether or not to show the plaintext password.
      
      * doc/texinfo/url.texi: Update.
      Sergey Poznyakoff authored
  22. 09 Oct, 2010 1 commit
  23. 17 Sep, 2010 1 commit
  24. 20 May, 2010 1 commit
    • * movemail/movemail.c: New options: --ignore-errors and --program-id.
      (_compare_msgno): Remove now unneded static.
      (main): Handle --ignore-errors and --program-id settings.
      Optimize the main loop for the case when --uidls is given.
      Return 1 on errors.
      * doc/texinfo/programs.texi: Document new features.
      Sergey Poznyakoff authored
  25. 05 Jan, 2010 2 commits
    • * configure.ac: Remove doc/rfc/Makefile.am
      * doc/Makefile.am (SUBDIRS): Remove rfc.
      (EXTRA_DIST): Add rfc/README.
      * doc/rfc/README: New file.
      * doc/rfc/CMC_V1.PS.gz: Remove.
      * doc/rfc/Makefile.am: Remove.
      * doc/rfc/rfc1413.txt: Remove.
      * doc/rfc/rfc1521.txt: Remove.
      * doc/rfc/rfc1731.txt: Remove.
      * doc/rfc/rfc1734.txt: Remove.
      * doc/rfc/rfc1738.txt: Remove.
      * doc/rfc/rfc1870.txt: Remove.
      * doc/rfc/rfc1891.txt: Remove.
      * doc/rfc/rfc1892.txt: Remove.
      * doc/rfc/rfc1893.txt: Remove.
      * doc/rfc/rfc1894.txt: Remove.
      * doc/rfc/rfc1939.txt: Remove.
      * doc/rfc/rfc1957.txt: Remove.
      * doc/rfc/rfc2045.txt: Remove.
      * doc/rfc/rfc2046.txt: Remove.
      * doc/rfc/rfc2047.txt: Remove.
      * doc/rfc/rfc2049.txt: Remove.
      * doc/rfc/rfc2060-errata
      * doc/rfc/rfc2060.txt: Remove.
      * doc/rfc/rfc2087.txt: Remove.
      * doc/rfc/rfc2088.txt: Remove.
      * doc/rfc/rfc2111.txt: Remove.
      * doc/rfc/rfc2177.txt: Remove.
      * doc/rfc/rfc2180.txt: Remove.
      * doc/rfc/rfc2192.txt: Remove.
      * doc/rfc/rfc2193.txt: Remove.
      * doc/rfc/rfc2195.txt: Remove.
      * doc/rfc/rfc2221.txt: Remove.
      * doc/rfc/rfc2222.txt: Remove.
      * doc/rfc/rfc2231.txt: Remove.
      * doc/rfc/rfc2245.txt: Remove.
      * doc/rfc/rfc2298.txt: Remove.
      * doc/rfc/rfc2342.txt: Remove.
      * doc/rfc/rfc2368.txt: Remove.
      * doc/rfc/rfc2384.txt: Remove.
      * doc/rfc/rfc2444.txt: Remove.
      * doc/rfc/rfc2449.txt: Remove.
      * doc/rfc/rfc2595.txt: Remove.
      * doc/rfc/rfc2683.txt: Remove.
      * doc/rfc/rfc2808.txt: Remove.
      * doc/rfc/rfc2821.txt: Remove.
      * doc/rfc/rfc2822.txt: Remove.
      * doc/rfc/rfc2831.txt: Remove.
      * doc/rfc/rfc3028.txt: Remove.
      * doc/rfc/rfc3206.txt: Remove.
      * doc/rfc/rfc3348.txt: Remove.
      * doc/rfc/rfc3431.txt: Remove.
      * doc/rfc/rfc3501.txt: Remove.
      * doc/rfc/rfc3691.txt: Remove.
      * doc/rfc/rfc4314.txt: Remove.
      * doc/rfc/rfc821.txt: Remove.
      * doc/rfc/rfc822.txt: Remove.
      * doc/rfc/rfc934.txt: Remove.
      * doc/rfc/sasl-mechanisms: Remove.
      Sergey Poznyakoff authored
    • Happy GNU year!
      Sergey Poznyakoff authored
  26. 31 Oct, 2009 1 commit
  27. 26 Aug, 2009 1 commit
  28. 20 Aug, 2009 1 commit
  29. 14 Aug, 2009 1 commit
    • * mail/from.c: Rewrite using format string.
      * mail/mail.c (default_setup): Set default value for `headline'.
      (main): Fix call to util_do_command.
      * mail/mail.h [HAVE_STDARG_H]: Remove conditions.
      (mail_compile_headline): New proto.
      * mail/mailvar.c (mailvar_tab): New variable "headline".
      * mail/util.c: Minor fixes.
      * NEWS, doc/programs.texi: Update.
      Sergey Poznyakoff authored
  30. 12 Aug, 2009 1 commit
  31. 09 Aug, 2009 1 commit
  32. 13 Jul, 2009 1 commit
    • * NEWS, doc/texinfo/programs.texi: Document struct command.
      * mail/struct.c: New file.
      * mail/Makefile.am (mail_SOURCES): Add struct.c
      * mail/decode.c (fprint_msgset, mime_descend): New functions.
      Rewrite the rest using mime_descend.
      * mail/mail.h (mail_struct): New function.
      (MDHINT_SELECTED_HEADERS): New define.
      (struct mime_descend_closure, mime_descend_fn): New types.
      (mime_descend): New proto.
      (util_get_content_type): Get two arguments.
      * mail/table.c (mail_command_table): Add st[ruct].
      * mail/util.c (util_get_content_type): Get two arguments.
      All callers updated.
      (util_get_hdr_value): use mu_header_aget_value_unfold and
      mu_rtrim_class.
      Sergey Poznyakoff authored
  33. 12 Jul, 2009 2 commits
  34. 11 Jul, 2009 1 commit
    • * NEWS: Update.
      * doc/texinfo/programs.texi: Document new variables and commands.
      * mail/envelope.c: New file.
      * mail/mailvar.c: New file.
      * mail/Makefile.am (mail_SOURCES): Add envelope.c and mailvar.c.
      
      * mail/mail.h (EF_HIDDEN): New constant
      (mail_env_data_t, mail_env_entry, mail_env_entry_is_set)
      (mail_env_entry, util_getenv, util_printenv, util_setenv)
      (var_iterator_t, var_iterate_next, var_iterate_first)
      (var_iterate_end, var_compl): Removed.
      
      (union mailvar_value, struct mailvar_variable
      (mail_variable, mail_envelope, print_envelope)
      (mailvar_find_variable, mailvar_get, mailvar_print)
      (mailvar_variable_format, mailvar_set, mailvar_set_compl): Add prototypes.
      (MOPTF_OVERWRITE, MOPTF_QUIET)
      
      * mail/table.c: List new commands: envelope, setq, variable.
      Implement completion for `set'.
      * mail/testsuite/mail/if.exp: Use setq to set a read-only variable.
      
      mail/alias.c, mail/decode.c, mail/delete.c, mail/escape.c
      mail/file.c, mail/folders.c, mail/from.c, mail/if.c,
      mail/mail.c, mail/mailline.c, mail/msgset.y, mail/pipe.c,
      mail/print.c, mail/quit.c, mail/reply.c, mail/send.c,
      mail/set.c, mail/shell.c, mail/top.c, mail/unset.c,
      mail/util.c: Use mailvar functions.
      Sergey Poznyakoff authored