nmh-workers
[Top] [All Lists]

Blast from the Past Patches.

2021-05-03 09:14:39
Hi,

I've commits here I haven't pushed from a few years ago.  I've just
spent some time rebasing them onto 6618bcff and I've compiled and ‘make
check’ each one.  They're mainly source-code improvements, e.g. creating
or altering h/foo.h to match the existing sbr/foo.c or uip/foo.c and
moving the header file to sit alongside its C file, emptying the h
directory.  It's a continuation of the work I was doing back then before
life interrupted.

I'd like to get them pushed but wanted to warn other committers in case
they've unpushed commits of their own which would need much rework.
A summary of them, if I've got my Git right, is

    Makefile.am                 |  28 ++--
    config/config.c             | 102 ++------------
    h/aliasbr.h                 |  34 -----
    h/done.h                    |   9 --
    h/dropsbr.h                 |  16 ---
    h/fmt_scan.h                | 269 ------------------------------------
    h/mf.h                      |  36 -----
    h/mh.h                      |  31 -----
    h/mhparse.h                 |  74 ----------
    h/oauth.h                   | 258 ----------------------------------
    h/prototypes.h              |  18 ---
    h/signals.h                 |  20 ---
    h/utils.h                   | 126 -----------------
    mts/smtp/smtp.c             |   7 +-
    sbr/addrsbr.c               |   8 +-
    {h => sbr}/addrsbr.h        |  76 +++++-----
    sbr/arglist.c               |   2 +-
    sbr/base64.c                |   2 +
    sbr/brkstring.c             |   2 +-
    sbr/charstring.c            |   3 +-
    sbr/charstring.h            |  36 +++++
    sbr/client.c                |   4 +-
    sbr/concat.c                |   2 +-
    sbr/context_del.c           |   2 +-
    sbr/context_foil.c          |   3 +-
    sbr/context_read.c          |   2 +-
    sbr/context_replace.c       |   2 +-
    sbr/context_save.c          |   3 +-
    sbr/crawl_folders.c         |   2 +-
    sbr/credentials.c           |   4 +-
    sbr/datetime.c              |   6 +-
    sbr/done.c                  |   1 +
    sbr/done.h                  |   8 ++
    sbr/dtime.c                 |   2 +-
    sbr/dtimep.l                |   2 +-
    sbr/encode_rfc2047.c        |   4 +-
    sbr/error.c                 |   2 +-
    sbr/escape_addresses.c      |   2 +-
    sbr/ext_hook.c              |   2 +
    sbr/fmt_addr.c              |   8 +-
    sbr/fmt_compile.c           | 123 +++++++++++++----
    {h => sbr}/fmt_compile.h    |  91 +++++++++++-
    sbr/fmt_new.c               |   3 +-
    sbr/fmt_rfc2047.c           |   2 +-
    sbr/fmt_scan.c              |  16 ++-
    sbr/fmt_scan.h              |  58 ++++++++
    sbr/folder_delmsgs.c        |   3 +-
    sbr/folder_free.c           |   2 +-
    sbr/folder_read.c           |   2 +-
    sbr/folder_realloc.c        |   2 +-
    sbr/getarguments.c          |   2 +-
    sbr/getcpy.c                |   2 +-
    sbr/geteditor.c             |   2 +-
    sbr/icalendar.l             |   1 +
    sbr/icalparse.y             |   3 +-
    sbr/lock_file.c             |   7 +-
    sbr/m_convert.c             |   2 +-
    sbr/m_draft.c               |   4 +-
    sbr/m_getfld.c              |   4 +-
    sbr/m_maildir.c             |   2 +-
    sbr/m_mktemp.c              |   5 +-
    sbr/m_name.c                |   2 +-
    sbr/m_popen.c               |   5 +-
    sbr/message_id.c            |   2 +-
    sbr/mf.c                    |   4 +-
    sbr/mf.h                    |  23 +++
    sbr/mime_type.c             |   3 +-
    sbr/mts.c                   |   8 +-
    {h => sbr}/mts.h            |  51 +++----
    sbr/netsec.c                |   4 +-
    sbr/oauth.c                 | 100 +++++++++++++-
    sbr/oauth.h                 | 116 ++++++++++++++++
    sbr/oauth_prof.c            |   7 +-
    sbr/oauth_prof.h            |  19 +++
    sbr/path.c                  |  71 +++++++++-
    sbr/path.h                  |   1 +
    sbr/pidwait.c               |   4 +-
    sbr/pidwait.h               |   7 +
    sbr/push.c                  |   5 +-
    sbr/read_line.c             |   2 +-
    sbr/read_switch_multiword.c |   3 +-
    sbr/readconfig.c            |   2 +-
    sbr/refile.c                |   3 +-
    sbr/ruserpass.c             |   2 +-
    sbr/seq_del.c               |   1 +
    sbr/seq_getnum.c            |   1 +
    sbr/seq_list.c              |   2 +-
    sbr/seq_read.c              |   2 +-
    sbr/seq_save.c              |   3 +-
    sbr/seq_setprev.c           |   2 +-
    sbr/seq_setunseen.c         |   2 +-
    sbr/showfile.c              |   2 +
    sbr/signals.c               |   3 +-
    sbr/signals.h               |  17 +++
    sbr/terminal.c              |   2 +-
    sbr/trimcpy.c               |   2 +-
    sbr/utils.c                 |  30 +++-
    sbr/utils.h                 |  85 ++++++++++++
    sbr/vector.c                |   2 +-
    sbr/vfgets.c                |   2 +-
    uip/ali.c                   |  10 +-
    uip/aliasbr.c               |  13 +-
    uip/aliasbr.h               |  31 +++++
    uip/anno.c                  |   4 +-
    uip/annosbr.c               |   2 +-
    uip/ap.c                    |  12 +-
    uip/burst.c                 |   4 +-
    uip/comp.c                  |   8 +-
    uip/dist.c                  |   4 +-
    uip/distsbr.c               |   2 +-
    uip/dp.c                    |   8 +-
    uip/dropsbr.c               |   6 +-
    uip/dropsbr.h               |  19 +++
    uip/flist.c                 |   4 +-
    uip/fmtdump.c               |   9 +-
    uip/fmttest.c               |  11 +-
    uip/folder.c                |   4 +-
    uip/forw.c                  |   5 +-
    uip/forwsbr.c               |   6 +-
    uip/imaptest.c              |   4 +-
    uip/inc.c                   |  15 +-
    uip/install-mh.c            |   4 +-
    uip/mark.c                  |   4 +-
    uip/mhbuild.c               |   8 +-
    uip/mhbuildsbr.c            |  20 +--
    uip/mhbuildsbr.h            |  33 +++++
    uip/mhfixmsg.c              |  11 +-
    uip/mhfree.c                |   2 +-
    uip/mhical.c                |  12 +-
    uip/mhl.c                   |   4 +-
    uip/mhlist.c                |  10 +-
    uip/mhlistsbr.c             |   5 +-
    uip/mhlistsbr.h             |  48 +++++++
    uip/mhlogin.c               |   7 +-
    uip/mhlsbr.c                |  14 +-
    uip/mhmisc.c                |   2 +-
    uip/mhn.c                   |  14 +-
    uip/mhoutsbr.c              |   4 +-
    uip/mhparam.c               |   6 +-
    uip/mhparse.c               |   5 +-
    uip/mhpath.c                |   4 +-
    uip/mhshow.c                |  13 +-
    uip/mhshowsbr.c             |  15 +-
    uip/mhstore.c               |   9 +-
    uip/mhstoresbr.c            |   8 +-
    uip/mkstemp.c               |   4 +-
    uip/msgchk.c                |   6 +-
    uip/new.c                   |   4 +-
    uip/packf.c                 |   6 +-
    uip/pick.c                  |   4 +-
    uip/picksbr.c               |   2 +-
    uip/popsbr.c                |   7 +-
    uip/post.c                  |  16 ++-
    uip/prompter.c              |   7 +-
    uip/rcvdist.c               |  11 +-
    uip/rcvpack.c               |   8 +-
    uip/rcvstore.c              |   9 +-
    uip/rcvtty.c                |  14 +-
    uip/refile.c                |   4 +-
    uip/repl.c                  |   4 +-
    uip/replsbr.c               |  11 +-
    uip/rmf.c                   |   4 +-
    uip/rmm.c                   |   4 +-
    uip/scan.c                  |  10 +-
    uip/scansbr.c               |   8 +-
    uip/send.c                  |   6 +-
    uip/sendsbr.c               |  22 +--
    uip/show.c                  |   4 +-
    uip/slocal.c                |  12 +-
    uip/sortm.c                 |   4 +-
    uip/viamail.c               |   6 +-
    uip/whatnow.c               |   2 +-
    uip/whatnowproc.c           |   2 +-
    uip/whatnowsbr.c            |   7 +-
    uip/whom.c                  |   8 +-
    175 files changed, 1406 insertions(+), 1409 deletions(-)

The changes to C files are mainly in the list of #includes.  The header
files have been chopped around a bit.

-- 
Cheers, Ralph.

<Prev in Thread] Current Thread [Next in Thread>
  • Blast from the Past Patches., Ralph Corderoy <=