1. 24 Dec, 2016 5 commits
  2. 21 Dec, 2016 3 commits
  3. 13 Dec, 2016 1 commit
  4. 12 Dec, 2016 2 commits
  5. 05 Dec, 2016 2 commits
  6. 02 Dec, 2016 3 commits
  7. 18 Nov, 2016 6 commits
  8. 17 Nov, 2016 1 commit
  9. 16 Nov, 2016 5 commits
  10. 15 Nov, 2016 5 commits
  11. 14 Nov, 2016 5 commits
  12. 12 Nov, 2016 2 commits
    • Werner Koch's avatar
      estream: Minor portability fix. · c26117b2
      Werner Koch authored
      
      
      --
      
      A trailing comma in an enum is not groked by all compilers.
      Binary operation should have their own parentheses to make it clear
      that a binary operator was meant.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      c26117b2
    • Justus Winter's avatar
      estream: Support 'es_poll' on Windows. · 40e5ff0a
      Justus Winter authored
      
      
      * src/Makefile.am (arch_sources): Add new file.
      * src/estream.c (O_NONBLOCK): Move to 'gpgrt-int.h'.
      (BUFFER_BLOCK_SIZE): Likewise.
      (BUFFER_UNREAD_SIZE): Likewise.
      (struct notify_list_s, notify_list_t): Likewise.
      (struct _gpgrt_stream_internal, estream_internal_t): Likewise.
      (X_POLLABLE): New macro.
      (parse_mode): Parse keyword 'pollable', emulate O_NONBLOCK using the
      same mechanism on Windows.
      (_gpgrt_poll): Use the new '_gpgrt_w32_poll' on Windows.
      * src/gpgrt-int.h (_gpgrt_functions_w32_pollable): New declaration.
      (_gpgrt_w32_pollable_create): New prototype.
      (_gpgrt_w32_poll): Likewise.
      * src/w32-estream.c: New file.  This code is adapted from GPGME.
      * tests/t-poll.c (create_pipe): Create pollable streams.
      
      GnuPG-bug-id: 2731
      Signed-off-by: default avatarJustus Winter <justus@g10code.com>
      40e5ff0a