- 02 Dec, 2010 1 commit
-
-
* TODO: Update. * gnulib.modules: Remove strtok_r * imap4d/auth_gsasl.c (auth_gsasl_capa_init): Use mu_wordsplit instead of strtok. * imap4d/imap4d.h (strtok_r): Remove declaration. * lib/mailcap.c (mime_context) <no_ask_str>: Remove. All uses updated. (mime_context_fill): Use mu_wordsplit instead of strtok. (mime_context_write_input): Tolerate ENOSYS return from mu_stream_seek. (display_stream_mailcap): Use mu_wordsplit instead of strtok. * libmailutils/diag/gdebug.c (mu_debug_level_from_string) (mu_global_debug_from_string): Use mu_wordsplit instead of strtok. * libmu_cfg/sieve.c (_add_path): Likewise. * libmu_sieve/extensions/list.c: Likewise. * mail/escape.c (quote0): Likewise. * mail/util.c (util_header_expand): Likewise. (util_rfc2047_decode): Use mu_parse_lc_all. * mh/mh_init.c (mh_charset): Use mu_parse_lc_all. * frm/common.c (get_charset): Use mu_parse_lc_all. * libmailutils/base/lcall.c: New file. * libmailutils/base/Makefile.am (libbase_la_SOURCES): Add lcall.c * libmailutils/string/strlst.c: New file. * libmailutils/string/Makefile.am (libstring_la_SOURCES): Add strlst.c. * include/mailutils/cstr.h: Include mailutils/types.h (mu_string_split): New proto. * include/mailutils/nls.h (MU_LC_LANG, MU_LC_TERR) (MU_LC_CSET,MU_LC_MOD): New flags. (mu_lc_all): New struct. (mu_parse_lc_all, mu_lc_all_free): New protos. (mu_charset_lookup): New proto (from util.h). * include/mailutils/util.h (mu_charset_lookup): Move to nls.h * libmailutils/base/tempfile.c (mu_tempname): Shut up compiler warning.
Sergey Poznyakoff authored
-
- 27 Oct, 2010 1 commit
-
-
*gnulib.modules (snprintf, vasprintf): Remove. *sieve/tests/reject.at: Use AT_PACKAGE_VERSION instead of the hardcoded version number. *lib/mu_asprintf.h: Remove. * imap4d/auth_gss.c: Replace asprintf with mu_asprintf and vasprintf by mu_vasnprintf. * guimb/guimb.h: Likewise. * imap4d/imap4d.h: Likewise. * imap4d/unsubscribe.c: Likewise. * lib/Makefile.am * lib/mailcap.c: Likewise. * libmu_argp/muinit.c: Likewise. * maidag/deliver.c: Likewise. * maidag/maidag.h: Likewise. * mail/escape.c: Likewise. * mail/mail.c: Likewise. * mail/mail.h: Likewise. * mail/util.c: Likewise. * mail/write.c: Likewise. * mh/burst.c: Likewise. * mh/forw.c: Likewise. * mh/mh.h: Likewise. * mh/mh_alias.l: Likewise. * mh/mh_format.c: Likewise. * mh/mh_getopt.c: Likewise. * mh/mh_init.c: Likewise. * mh/mh_msgset.c: Likewise. * mh/mh_sequence.c: Likewise. * mh/mh_whatnow.c: Likewise. * mh/mhn.c: Likewise. * mh/send.c: Likewise. * mimeview/mimetypes.l: Likewise. * mimeview/mimetypes.y: Likewise. * mimeview/mimeview.c: Likewise. * movemail/movemail.c: Likewise. * mu/ldflags.c: Likewise. * pop3d/expire.c: Likewise. * pop3d/pop3d.h: Likewise. * sieve/sieve.c: Likewise.
Sergey Poznyakoff authored
-
- 05 Oct, 2010 1 commit
-
-
* configure.ac: Test for tcgetattr and tcsetattr. * gnulib.modules (getpass-gnu): Remove. * include/mailutils/mutil.h (mu_getpass): New proto. * include/mailutils/stream.h (MU_IOCTL_GET_ECHO) (MU_IOCTL_SET_ECHO): New ioctls. * include/mailutils/sys/file_stream.h (_MU_FILE_STREAM_ECHO_OFF): New flag. (_mu_file_stream) <echo_state>: New member. * libmailutils/getpass.c: New file. * libmailutils/Makefile.am (libmailutils_la_SOURCES): Add getpass.c. * libmailutils/file_stream.c (fd_done): Free echo_state. (fd_ioctl): Implement MU_IOCTL_GET_ECHO and MU_IOCTL_SET_ECHO. * mu/mu.h (mustrin): New extern. * mu/pop.c (com_pass): Use mu_getpass. * mu/shell.c (mustrin): New variable. (readline): Use mu_stream_getline instead of getline. (mutool_shell): Create mustrin. * pop3d/popauth.c (options): Fix typo. (fill_pass): Use mu_getpass.
Sergey Poznyakoff authored
-
- 29 Dec, 2009 1 commit
-
-
* gnulib.modules (mbchar, mbiter, mbslen): New modules. * mh/mh.h (mh_charset): New function. * mh/mh_format.c (DFLWIDTH): New macro. (mbsubstrlen, mbsnlen): New functions. (compress_ws): Handle multibyte strings. (put_string): Use number of characters, not octets, to update ind. (print_hdr_segment): Handle multibyte strings. (print_simple_segment, print_fmt_string): Likewise. (reset_fmt_defaults): Restore default WS compression. (mh_format): Set LC_TYPE based on the settings of profile variables Charset and LC_BASE (new variable). * mh/mh_init.c (mh_charset): New function. (mh_decode_2047): Use mh_charset.
Sergey Poznyakoff authored
-
- 07 Jul, 2009 1 commit
-
-
* include/mailutils/cctype.h: New file. * include/mailutils/cstr.h: New file. * include/mailutils/Makefile.am: Add new files. * mailbox/cstrcasecmp.c: New file. * mailbox/cstrlower.c: New file. * mailbox/cstrupper.c: New file. * mailbox/muctype.c: New file. * mailbox/strltrim.c: New file. * mailbox/strrtrim.c: New file. * mailbox/strskip.c: New file. * mailbox/Makefile.am: Add new files. * .gitignore: Update * gnulib.modules: Remove strcase. * comsat/comsat.h, imap4d/imap4d.h, include/mailutils/mailutils.h, include/mailutils/mutil.h, include/mailutils/sys/pop3.h, libmu_scm/mu_scm.h, mail/mail.h: Include cstr.h and cctype.h. * comsat/oldcfg.c, config/mailutils-config.c, examples/mimetest.c, examples/mta.c, examples/nntpclient.c, examples/pop3client.c, imap4d/append.c, imap4d/create.c, imap4d/delete.c, imap4d/fetch.c, imap4d/id.c, imap4d/idle.c, imap4d/list.c, imap4d/namespace.c, imap4d/rename.c, imap4d/search.c, imap4d/status.c, imap4d/store.c, imap4d/uid.c, imap4d/util.c, libmu_argp/compat.c, libmu_auth/ldap.c, libmu_auth/sql.c, libmu_scm/mu_message.c, libmu_sieve/actions.c, libmu_sieve/comparator.c, libmu_sieve/extensions/list.c, libmu_sieve/extensions/spamd.c, libmu_sieve/extensions/vacation.c, libmu_sieve/load.c, libmu_sieve/sieve.l, libmu_sieve/tests.c, libproto/imap/folder.c, libproto/mailer/smtp.c, libproto/mbox/mbox.c, libproto/mh/folder.c, libproto/mh/mbox.c, libproto/pop/folder.c, libproto/pop/mbox.c, libproto/pop/pop3_connect.c, maidag/forward.c, maidag/lmtp.c, maidag/maidag.c, maidag/maidag.h, maidag/mailquota.c, mail/alt.c, mail/copy.c, mail/decode.c, mail/escape.c, mail/followup.c, mail/mail.c, mail/mailline.c, mail/msgset.y, mail/print.c, mail/reply.c, mail/send.c, mail/shell.c, mail/util.c, mail/write.c, mailbox/address.c, mailbox/amd.c, mailbox/assoc.c, mailbox/attachment.c, mailbox/attribute.c, mailbox/cfg_lexer.l, mailbox/date.c, mailbox/filter.c, mailbox/gdebug.c, mailbox/header.c, mailbox/kwd.c, mailbox/locale.c, mailbox/mailcap.c, mailbox/mailer.c, mailbox/message.c, mailbox/message_stream.c, mailbox/mime.c, mailbox/msrv.c, mailbox/mutil.c, mailbox/parse822.c, mailbox/progmailer.c, mailbox/rfc2047.c, mailbox/syslog.c, mailbox/url.c, mailbox/version.c, mh/mh.h, mh/mh_alias.l, mh/mh_ctx.c, mh/mh_fmtgram.y, mh/mh_init.c, mh/mh_list.c, mh/mh_msgset.c, mh/mh_sequence.c, mh/mh_whatnow.c, mh/mh_whom.c, mh/mhn.c, mh/mhparam.c, mh/pick.y, mh/sortm.c, mimeview/mimetypes.y, pop3d/bulletin.c, pop3d/expire.c, pop3d/pop3d.c, pop3d/pop3d.h, pop3d/popauth.c, pop3d/user.c, readmsg/msglist.c, readmsg/readmsg.c, readmsg/readmsg.h, sql/mysql.c, sql/postgres.c: Use locale-independent cclass and str functions.
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
-
- 19 Feb, 2009 1 commit
-
-
* bootstrap.conf (gnulib_extra_files): Remove. * gnulib.modules (inttostr): Add module. * include/mailutils/io.h: New file. * include/mailutils/Makefile.am: Add io.h * mailbox/inttostr.c, mailbox/inttostr.h: Remove * mailbox/imaxtostr.c, mailbox/offtostr.c, mailbox/umaxtostr.c: Remove * mailbox/intprops.h: Remove * mailbox/asnprintf.c, mailbox/asprintf.c, mailbox/vasnprintf.c: New files. * mailbox/Makefile.am: Update. * mailbox/mu_umaxtostr.c: rename to lib/mu_umaxtostr.c * mailbox/mu_umaxtostr.h: rename to lib/mu_umaxtostr.h * lib/Makefile.am (libmuaux_la_SOURCES): Add mu_umaxtostr.[ch] * libmu_auth/radius.c, libmu_cfg/common.c, libmu_scm/mu_port.c, libproto/imap/folder.c, libproto/imap/mbox.c, libproto/mbox/mbox.c, libproto/mh/mbox.c, libproto/pop/mbox.c, mailbox/acl.c, mailbox/daemon.c, mailbox/mailer.c, mailbox/message.c, mailbox/mutil.c, mailbox/stream.c: Use mu_strerror. Avoid using mu_umaxtostr.
Sergey Poznyakoff authored
-
- 08 Dec, 2008 1 commit
-
-
* m4: Rename to am. * README-alpha, README-hacking: Reflect the switch. * */.cvsignore: Rename to .gitignore, update. * gnulib.modules: Add gitlog-to-changelog. * ChangeLog: Remove.
Sergey Poznyakoff authored
-
- 18 Aug, 2008 1 commit
- 03 Mar, 2008 1 commit
-
-
* bootstrap.conf (avoided_gnulib_modules): Remove size_max (excluded_files): Remove m4/size_max.m4. (gnulib_extra_files): Add m4/inttostr.m4 * gnulib.modules: Add intprops and stdint. * m4/intmax.m4, m4/intmax_t.m4, m4/inttostr.m4, m4/inttypes-h.m4, m4/inttypes-pri.m4, m4/inttypes.m4, m4/inttypes_h.m4: Remove
Sergey Poznyakoff authored
-
- 03 Dec, 2007 1 commit
-
-
* imap4d/Makefile.am (imap4d_SOURCES): Add preauth.c * imap4d/authenticate.c (imap4d_authenticate): Use imap4d_session_setup. * imap4d/imap4d.c (imap4d_session_setup) (imap4d_session_setup.0): New functions. (imap4d_mainloop): Implement PREAUTH mode. * imap4d/imap4d.h (RESP_PREAUTH): New define. (enum imap4d_preauth): New data type. (preauth_mode,preauth_program,preauth_only,ident_port): New globals. (imap4d_session_setup,imap4d_session_setup.0): New functions. * imap4d/login.c (imap4d_login): Use imap4d_session_setup0. * imap4d/util.c (sc2string): Handle RESP_PREAUTH * lib/.cvsignore, m4/.cvsignore: Update. * mailbox/tcp.c: Fix indentation.
Sergey Poznyakoff authored
-
- 18 Nov, 2007 1 commit
-
-
- 27 Jun, 2006 1 commit
-
-
- 19 Apr, 2006 1 commit
-
-
- 20 Jan, 2006 1 commit
-
-
- 15 Nov, 2005 1 commit
-
-
- 16 Aug, 2005 1 commit
-
-
- 27 Feb, 2005 1 commit
-
-
- 23 Feb, 2005 1 commit
-
-