- 23 Dec, 2010 1 commit
-
-
* libmailutils/base/lcall.c (mu_parse_lc_all): Allow for arg==NULL. * mh/Makefile.am: Define mhlibdir. * mh/pick.y (match_header): Use sget accessors. * mh/repl.c: Accept -noquery silently.
Sergey Poznyakoff authored
-
- 29 Nov, 2010 1 commit
-
-
- 24 Nov, 2010 3 commits
-
-
* mh/etc: New directory. * mh/Makefile.am: New file. * mh/components: Move to mh/etc. * mh/mailutils-mh.eli: Move to mh/etc. * mh/mhl.format: Move to mh/etc. * mh/mhl.forward: Move to mh/etc. * mh/mhl.repl: Move to mh/etc. * mh/mhl.usenet: Move to mh/etc. * mh/replcomps: Move to mh/etc. * mh/replgroupcomps: Move to mh/etc. * configure.ac (AC_CONFIG_FILES): Add mh/etc/Makefile. * mh/Makefile.am (SUBDIRS): Add etc. Move mhlib_DATA and related statements to mh/etc/Makefile.am * mh/comp.c (formfile): Remove const qualifier. (opt_handler): Use mh_find_file to set formfile. * mh/forw.c: Likewise. * mh/mh_init.c (mh_find_file): Make sure *resolved_name is always set to the last tried name. * mh/tests/comp.at: Remove directory components from the -from argument. * mh/tests/forw.at: Likewise. * mh/tests/mhl.at: Likewise. * mh/tests/testsuite.at (MH_SETUP): Change mhetcdir value.
Sergey Poznyakoff authored -
* mh/mh_format.c (builtin_friendly): If personal part is present, return it. Otherwise, leave the address untouched. (builtin_pers): Do not quote the return. * mh/tests/inc.at: Reflect the above changes. * mh/tests/scan.at: Likewise. * mh/mh_list.c (eval_body): Offset each line. * mh/tests/mhl.at: Test this change. * mh/mhl.c: Use mh_find_file to resolve the argument to -form. * mh/repl.c: Likewise. Same for replgroupcomps, mhl.repl and -filter. * mh/mhl.repl: New file. * mh/mhl.usenet: New file. * mh/Makefile.am (mhlib_DATA, EXTRA_DIST): Add new files.
Sergey Poznyakoff authored -
* mh/mhl.forward: New file. * mh/forw.c (mh_option): the -format option is boolean. (mhl_filter): Rename to mhl_filter_file. (opt_handler) <ARG_FORMAT>: Use default mhl.filter. <ARG_NOFORMAT>: Set encap_clear. <ARG_FILTER>: Use mh_find_file to determine filter file name. (finish_draft): Use MHL filter file if encap == encap_mhl. * mh/mh.h (mh_find_file): New prototype. * mh/mh_init.c (mh_find_file): New file. (mh_read_formfile): Use mh_find_file to locate the file. * mh/tests/forw.at: Test forw -format. * mh/tests/mhparam.at: Update the -all test. * tests/testsuite.at (MH_SETUP): Set the "mhetcdir" component. * mh/scan.c (opt_handler): Exit if mh_read_formfile failed.
Sergey Poznyakoff authored
-
- 22 Nov, 2010 1 commit
-
-
* mh/Makefile.am (bin_PROGRAMS): Add mhseq. * mh/comp.c (main): Rewrite to fix compatibility issues. * mh/mh.h (MH_MSGSET_UID): New define. (mh_msgset_t) <flags,size>: New members. * mh/mh_init.c (mh_draft_message): Bugfix: convert msgset to UIDs. * mh/mh_msgset.c: Rewrite from scratch. * mh/tests/comp.at: New file. * mh/tests/mhseq.at: New file. * mh/tests/Makefile.am (TESTSUITE_AT): Add comp.at, mhseq.at. * mh/tests/testsuite.at: Include comp.at and mhseq.at. * libmailutils/property/mhprop.c (_mh_prop_read_stream): Minor fix. Do remove empty lines. * mh/mh_whatnow.c (_whatnow): Detect EOF. (call_send): Quit after successful send.
Sergey Poznyakoff authored
-
- 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
-
- 20 Nov, 2010 2 commits
-
-
* mh/mh_ctx.c: Remove. * mh/Makefile.am (libmh_a_SOURCES): Remove mh_ctx.c * mh/folder.c (read_seq_file): Use mu_property_t. * mh/mh.h (mh_context_iterator): Remove typedef. (mh_global_profile_get, mh_global_profile_set) (mh_global_profile_iterate) (mh_global_context_set,mh_global_context_set) (mh_global_context_iterate): Rewrite as macros. (mh_global_sequences_iterate): Change signature. (mh_read_property_file,mh_property_merge): New protos. (mh_context_create,mh_context_read,mh_context_write) (mh_context_get_value,mh_context_set_value,mh_context_iterate) (mh_context_destroy,mh_context_merge): Remove protos. * mh/mh_global.c (mh_global_profile_get, mh_global_profile_set) (mh_global_profile_iterate) (mh_global_context_set,mh_global_context_set) (mh_global_context_iterate): Remove. (mh_read_property_file,mh_property_merge): New functions. (_mh_init_global_context,mh_read_profile) (mh_set_current_folder,mh_global_sequences_iterate): Rewrite. (mh_global_save_state): Rewrite. * mh/mh_whom.c (mh_whom): Use mu_property_t. * mh/send.c: Use mu_property_t. * po/POTFILES.in: Add mh/mboxprop.c.
Sergey Poznyakoff authored -
* libmailutils/mailbox/header.c (mu_header_clear): New function. (mu_header_sget_value_n): Tolerate pval == NULL. * libmailutils/property/assocprop.c (_assoc_prop_setval): Bugfix. (_assoc_prop_clear): New method. (mu_assoc_property_init): Reference the stream. (mu_assoc_property_init): Initialize _prop_clear. * libmailutils/property/create.c (_mu_property_init): Now extern. * libmailutils/property/propset.c (mu_property_set_value): Null value means unset. * libmailutils/tests/prop.at: Test property clear and invalidate. * libmailutils/tests/prop.c: New commands: 0 for property clear and ! for invalidate. * libmailutils/property/mhprop.c: New file. * libmailutils/property/propclr.c: New file. * libmailutils/property/propinv.c: New file. * libmailutils/property/Makefile.am (noinst_LTLIBRARIES): Add new files. * include/mailutils/header.h (mu_header_clear): New proto. * include/mailutils/property.h (mu_property_clear) (mu_property_invalidate): New protos. (mu_mh_prop): New struct. (mu_mh_property_init): New proto. * include/mailutils/sys/property.h (_mu_property) <_prop_clear>: New member. (_mu_property_init): New proto. * include/mailutils/mh.h: New file. * include/mailutils/Makefile.am (pkginclude_HEADERS): Add mh.h * libproto/mh/profile.c: New file. * libproto/mh/Makefile.am (libmu_mh_la_SOURCES): Add new files. * libproto/mh/mbox.c (mh_get_property): New static function. (_mailbox_mh_init): Set _get_property. * mh/mh_global.c (current_message, sequences): Remove. Use mbox properties instead. (mh_global_sequences_get) (mh_global_sequences_set) (mh_global_sequences_iterate) (mh_global_sequences_drop): Take mbox as first argument. All callers updated. * mh/mh_init.c (mh_init2): Remove call to mh_global_sequences_get. * mh/mh_msgset.c (msgset_cur): Use mh_mailbox_get_cur. * mh/mh_sequence.c (mh_seq_read, write_sequence) (delete_sequence, mh_seq_add, mh_seq_delete): Take mbox as first argument. All callers updated. * mh/mh.h: Include mailutils/property.h. (current_message): Remove. (mh_mailbox_cur_default): New extern. (mh_global_sequences_get) (mh_global_sequences_set) (mh_global_sequences_iterate) (mh_global_sequences_drop): Take mbox as first argument. All callers updated. * mh/mh_format.c (builtin_cur): Rewrite using mh_message_number. * mh/mboxprop.c: New file. * mh/Makefile.am (libmh_a_SOURCES): Add new file. * mh/folder.c: Update calls to sequence management functions. * mh/mark.c: Likewise. * mh/pick.c: Likewise. * mh/inc.c (main): Set mh_mailbox_cur_default to 1. Invalidate properties if changecur is not set. * mh/prompter.c (main): Destroy the iterator. * mh/rmf.c: Rewrite using mu_mailbox_remove. * mh/scan.c: Always close the mailbox. * mh/tests/folder.at: Update. * mh/tests/inc.at: Update. Inc now sets cur to 1 if it was not originally set. This is what others MHs do.
Sergey Poznyakoff authored
-
- 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
-
- 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
-
- 09 Oct, 2010 1 commit
-
-
- 25 Sep, 2010 1 commit
-
-
* configure.ac: Use libmuaux.a instead of libmuaux.la. * examples/Makefile.am: Likewise. * examples/cpp/Makefile.am: Likewise. * imap4d/Makefile.am: Likewise. * mapi/Makefile.am: Likewise. * mh/Makefile.am: Likewise. * pop3d/Makefile.am: Likewise. Remove old files from POTFILES.in (see c42bddb0). * po/POTFILES.in: Remove comsat/oldcfg.c. Build testsuites after the programs they are to test. * frm/Makefile.am (SUBDIRS): Put . before tests. * messages/Makefile.am: Likewise. * readmsg/Makefile.am: Likewise. * sieve/Makefile.am: Likewise. Remove leftovers from CVS times: * .cvsignore: Remove. * am/.cvsignore: Remove. * lib/.cvsignore: Remove. * po/.cvsignore
Sergey Poznyakoff authored
-
- 05 Jan, 2010 1 commit
- 12 Aug, 2009 1 commit
-
-
* Makefile.am: Conditionally add directories to SUBDIRS. * am/enable.m4 (MU_ENABLE_BUILD): New macro. * configure.ac: Require automake 1.11 Add MU_ENABLE_BUILDs for each utility. Remove unused substitution variables. * guimb/Makefile.am: Remove substitution variables. * guimb/scm/Makefile.am: Likewise. * libmu_scm/Makefile.am: Likewise. * mh/Makefile.am: Likewise. * python/libmu_py/Makefile.am: Likewise. * python/mailutils/Makefile.am: Likewise. * README: Document --disable-build-* options.
Sergey Poznyakoff authored
-
- 04 Jul, 2009 1 commit
-
-
* README-hacking: Update. * configure.ac (MU_COMMON_INCLUDES): Remove. (MU_LIB_COMMON_INCLUDES,MU_APP_COMMON_INCLUDES): New variables. Link lib/gettext.h and lib.intprops.h to include. * gnulib.modules: Remove fnmatch. * comsat/Makefile.am, config/Makefile.am, dotlock/Makefile.am, frm/Makefile.am, guimb/Makefile.am, imap4d/Makefile.am, maidag/Makefile.am, mail/Makefile.am, movemail/Makefile.am, pop3d/Makefile.am, python/libmu_py/Makefile.am, readmsg/Makefile.am sieve/Makefile.am (INCLUDES): Use MU_APP_COMMON_INCLUDES * lib/Makefile.am, examples/Makefile.am, libmu_argp/Makefile.am, libmu_auth/Makefile.am, libmu_cpp/Makefile.am, libmu_sieve/Makefile.am, libproto/imap/Makefile.am, libproto/mailer/Makefile.am, libproto/mh/Makefile.am, libproto/nntp/Makefile.am, libproto/pop/Makefile.am, mailbox/Makefile.am, mapi/Makefile.am, messages/Makefile.am, mh/Makefile.am, sql/Makefile.am (INCLUDES): Use MU_LIB_COMMON_INCLUDES
Sergey Poznyakoff authored
-
- 22 Mar, 2009 1 commit
-
-
* scripts/guile-1.4: Removed. * scripts/guile-1.6/guile-doc-snarf: Move to the parent dir. * scripts/guile-1.6/guile-doc-snarf.awk: Move to the parent dir. * scripts: Rename to mu-aux. All references updated. * am/enable.m4 (MU_ENABLE_SUPPORT): add fourth argument, action-default Translate + to x. * am/guile.m4 (MU_RESULT_ACTIONS): Remove. (MU_CHECK_GUILE): Rewrite. Drop support for versions < 1.8 * am/lib.m4 (MU_CHECK_LIB): Rewrite using a cleaner approach. * bootstrap.conf: Remove build_aux assignement. * configure.ac: Assume a new naming scheme for optional builds: for each subst variable named MU_whatever_BUILD there is a corresponing Makefile.am variable named MU_whatever_LIST, if `whatever' is to be built MU_whatever_BUILD is set to '$(MU_whatever_LIST)' New option --disable-c++. Improve status output. * examples/Makefile.am, examples/cpp/Makefile.am, include/mailutils/Makefile.am, libmu_cpp/Makefile.am, libmu_scm/Makefile.am, libmu_sieve/Makefile.am, libmu_sieve/extensions/Makefile.am, libmu_sieve/load.c, mail.remote/Makefile.am, mail.remote/testsuite/Makefile.am, mailbox/Makefile.am, mh/Makefile.am, mimeview/Makefile.am, mu-aux/Makefile.am, python/mailutils/Makefile.am: Reflect changes to autoconf machinery. * /include/mailutils/guile.h: Drop support for versions < 1.8 * libmu_scm/mu_util.c: Likewise.
Sergey Poznyakoff authored
-
- 17 Jul, 2007 1 commit
-
-
- 05 Jul, 2007 1 commit
-
-
- 27 Jun, 2007 1 commit
-
-
- 09 May, 2007 1 commit
-
-
- 20 May, 2006 1 commit
-
-
- 16 May, 2006 1 commit
-
-
- 07 Mar, 2006 1 commit
-
-
- 29 Nov, 2005 1 commit
-
-
- 15 Nov, 2005 2 commits
-
-
- 12 Nov, 2005 1 commit
-
-
- 09 Nov, 2005 1 commit
-
-
- 03 Nov, 2005 1 commit
-
-
- 16 Aug, 2005 1 commit
-
-
- 17 May, 2005 1 commit
-
-
- 05 Jul, 2004 1 commit
-
-
- 04 Jun, 2004 1 commit
-
-
- 20 Sep, 2003 1 commit
-
-
- 28 Aug, 2003 1 commit
-
-
- 21 Aug, 2003 1 commit
-
-
- 19 Aug, 2003 1 commit
-
-
- 17 Aug, 2003 1 commit
-
-
- 13 Aug, 2003 1 commit
-
-