Skip to content

imap-send: Windows support

Erik Faye-Lund git 4 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest8 patches 4 repliesIn review
  2. v48 patches 5 repliesSuperseded
  3. v38 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v18 patches5 repliesSuperseded

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8imap-send: remove useless uid codeimap-send.c+11 -1440 replies
2/8imap-send: use separate read and write fdsimap-send.c+23 -140 replies
3/8imap-send: use run-command API for tunnelingimap-send.c+16 -210 replies
4/8imap-send: fix compilation-error on Windowsimap-send.c+1 -00 replies
5/8imap-send: build imap-send on WindowsMakefile+1 -10 replies
6/8mingw: wrap SSL_set_(w|r)fd to call _get_osfhandlecompat/mingw.h+21 -00 replies
7/8mingw: enable OpenSSLMakefile+1 -11 reply
8/8MSVC: Enable OpenSSL, and translate -lcryptoMakefile compat/vcbuild/scripts/clink.pl contrib/buildsystems/engine.pl+7 -10 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchJohannes Sixt
1/8
2/8
3/8
4/8
5/8
6/8
7/8A-b
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/8] imap-send: Windows support

Here's the 5th iteration of my patches for Windows-compatibility in imap-send.

- Patch 1-3 is about getting rid of or rewriting code with portability issues.
- Patch 4 fixes a compilation error on Windows
- Patch 5 enables compilation of imap-send
- Patch 6-7 enables SSL-suport for mingw
- Patch 8 enables imap-send and SSL for msvc

The only change compared to the previous iteration is that patch 7 and 8 enables NEEDS_CRYPTO_WITH_SSL.

Please note that I haven't tested Patch 8 with NEEDS_CRYPTO_WITH_SSL under MSVC, as I don't have a working setup with both msysgit and MSVC installed.

I'd love it if someone with such a working setup could verify that it works, preferrably also with BLK_SHA1 enabled.

Erik Faye-Lund (6):
imap-send: use separate read and write fds
imap-send: use run-command API for tunneling
imap-send: fix compilation-error on Windows
imap-send: build imap-send on Windows
mingw: wrap SSL_set_(w|r)fd to call _get_osfhandle
mingw: enable OpenSSL

Jeff King (1):
imap-send: remove useless uid code

Marius Storm-Olsen (1):
MSVC: Enable OpenSSL, and translate -lcrypto

 Makefile                        |    6 +-
 compat/mingw.h                  |   21 ++++
 compat/vcbuild/scripts/clink.pl |    3 +
 contrib/buildsystems/engine.pl  |    3 +
 imap-send.c                     |  226 +++++++++------------------------------
 5 files changed, 79 insertions(+), 180 deletions(-)