1. 17 May, 2017 1 commit
  2. 15 May, 2017 1 commit
  3. 05 Mar, 2017 3 commits
  4. 04 Mar, 2017 2 commits
  5. 28 Feb, 2017 8 commits
    • Werner Koch's avatar
      Release 1.27 · c1668f61
      Werner Koch authored
      
      
      * configure.ac: Bump LT version to C22/A22/R0.
      --
      
      Note that C21/A21/R0 was used in 1.26 but later lost in the repo due
      to a merge.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      c1668f61
    • Werner Koch's avatar
      po: Auto update · 98593a55
      Werner Koch authored
      --
      98593a55
    • Werner Koch's avatar
      Add support for armv7-unknown-linux-gnueabihf. · 8d45ec8f
      Werner Koch authored
      
      
      * src/syscfg/lock-obj-pub.arm-unknown-linux-gnueabihf.h: Remove.
      * src/syscfg/lock-obj-pub.armv5-unknown-linux-musleabi.h: Remove.
      * src/syscfg/lock-obj-pub.armv6-unknown-linux-musleabihf.h: Remove.
      * src/Makefile.am (lock_obj_pub): Remove them.
      * src/mkheader.c (canon_host_triplet): Add removed as aliases.  Addn
      alias for armv7-unknown-linux-gnueabihf.
      --
      
      Info provided by Marvin Schmidt <marv@exherbo.org> via
      gnupg-devel@gnupg.org on Tue, 14 Feb 2017 15:00:15 +0100
      
      Consilidated arm syscfg file by aliasing them.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      8d45ec8f
    • Werner Koch's avatar
      po: Update German translation · 77626a65
      Werner Koch authored
      
      
      --
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      77626a65
    • Werner Koch's avatar
      New public header gpgrt.h as alias for gpg-error.h · 012f1bdc
      Werner Koch authored
      
      
      * src/gpg-error.h.in (GPGRT_H): New double include protection.
      * src/Makefile.am (nodist_include_HEADERS): Add gpgrt.h.
      (BUILT_SOURCES): Ditto.
      (CLEANFILES): Ditto.
      (gpgrt.h): New rule.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      012f1bdc
    • Werner Koch's avatar
      tests: New option --debug for t-poll. · f141fdee
      Werner Koch authored
      
      
      * tests/t-poll.c (test_poll): Add option.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      f141fdee
    • Werner Koch's avatar
      Improve tracing of estream. · f27e516a
      Werner Koch authored
      
      
      * src/gpgrt-int.h (trace_errno): Add new parameter.  Adjust all users.
      * src/init.c (trace_fp, trace_with_errno, trace_missing_lf)
      (trace_prefix_done): New vars.
      (_gpgrt_internal_trace_begin): Add arg WITH_ERRNO.  Open a trace file
      on first use.  Init new vars.
      (print_internal_trace_prefix): New.
      * src/estream.c, src/w32-estream.c: Improve tracing.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      f27e516a
    • Werner Koch's avatar
      w32: Fix gpgrt_poll for Windows. · 07d5bd91
      Werner Koch authored
      
      
      * src/estream.c (_gpgrt_poll) [W32]: Do not call the syscall clamp.
      --
      
      The system call clamp may only be used directloy around system calls.
      We don't need them here because we use independent threads to
      implement non-blocking behaviour.  In fact the clamp may lead to a
      deadlock.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      07d5bd91
  6. 26 Feb, 2017 3 commits
    • Werner Koch's avatar
      Use the new tracing ramework for estream. · 84aaa84d
      Werner Koch authored
      
      
      * src/estream.c: Add trace calls to some functions.
      * src/w32-estream.c: Replace existing trace calls by the new
      framework.
      --
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      84aaa84d
    • Werner Koch's avatar
      Add a tracing framework. · a52f12cc
      Werner Koch authored
      * src/init.c (trace_save_errno, trace_arg_module)
      (trace_arg_file, trace_arg_line): New module vars.
      (do_internal_trace): New.
      (_gpgrt_internal_trace_printf): New.
      (_gpgrt_internal_trace): New.
      (_gpgrt_internal_trace_errno): New.
      (_gpgrt_internal_trace_end): New.
      * src/gpgrt-int.h (trace): New macro.
      (trace_errno): New macro.
      (trace_start): New macro.
      (trace_append): New macro.
      (trace_finish): New macro.
      --
      
      We want to be abale to use libgpg-error also with pre-c99 compilers
      and thus we can use the __VA_ARGS__ but resort to the common macro
      trick.
      a52f12cc
    • Werner Koch's avatar
      Rename internal functions of estream. · be49b02a
      Werner Koch authored
      
      
      * src/estream.c (_gpgrt_es_init): Rename to _gpgrt_estream_init.
      (es_fill): Rename to fill_stream.
      (es_fflush): Rename to flush_stream.
      (es_deinitialize): Rename to deinit_stream_obj.
      (es_create): Rename to create_stream
      (es_read_nbf): Rename to do_read_nbf.
      (es_read_lbf): Rename to do_read_lbf.
      (es_read_fbf): Rename to do_read_fbf.
      (es_peek): Rename to peek_stream.
      (es_skip): Rename to skip_stream.
      (es_print): Rename to do_print_stream.
      
      --
      
      The use of the "es_" was confusing.  Avoid that.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      be49b02a
  7. 24 Feb, 2017 1 commit
    • Werner Koch's avatar
      w32: Do not use the syscall clamps in pollable mode. · 915e1bf2
      Werner Koch authored
      
      
      * src/estream.c (estream_cookie_w32): Add flag no_syscall_clamp.
      (func_w32_create): Add arg no_syscall_clamp.
      (func_w32_read): Do not call pre/post_syscall_clamp when flag is set.
      (func_w32_write): Ditto.
      (func_w32_seek): Ditto.
      (do_w32open): Set NO_SYSCALL_CLAMP in pollable mode.
      (es_create) [W32]: Make sure that pollable-mode is unly used with the
      W32 backend.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      915e1bf2
  8. 23 Feb, 2017 1 commit
    • Werner Koch's avatar
      w32: Replace gpgrt locks in w32-streams by native critical sections. · c9e44c92
      Werner Koch authored
      
      
      * src/w32-estream.c (TRACE_ERR): Also print the error number.  This is
      in particular useful on non-english systems.
      (reader_context_s, writer_context_s): Replace the gpgrt mutex by a
      native critical section.  Change all calls to gpgrt_lock_ fucntions by
      the EnterCriticalSection et al.
      (_gpgrt_w32_poll): Make CODE unsigned which is what WFMO returns.
      Remove the then useless condition.
      --
      
      The locking code here is self-contained and may badly interact with
      the possible nPth "clamped" gpgrt lock functions.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      c9e44c92
  9. 19 Feb, 2017 1 commit
  10. 02 Feb, 2017 1 commit
  11. 01 Feb, 2017 1 commit
    • NIIBE Yutaka's avatar
      Add Base64 decoder. · 4bfc2117
      NIIBE Yutaka authored
      
      
      * NEWS: Add interface changes.
      * src/Makefile.am (libgpg_error_la_SOURCES): Add b64dec.c.
      * src/b64dec.c: New.  Taken from gpgme.  Prefix function names with
      _gpgrt_.  Change API a bit, not exposing the structure.
      * src/gpg-error.def.in: Export Base64 functions.
      * src/gpg-error.vers: Likewise.
      * src/visibility.c, src/visibility.h: Likewise.
      * src/gpg-error.h.in: Add Base64 struct and functions.
      * src/gpgrt-int.h: Add Base64 internal functions.
      * tests/Makefile.am (TESTS): Add t-b64dec.
      * tests/t-b64dec.c: New.
      
      Signed-off-by: NIIBE Yutaka's avatarNIIBE Yutaka <gniibe@fsij.org>
      4bfc2117
  12. 19 Jan, 2017 1 commit
  13. 18 Jan, 2017 2 commits
    • Daniel Kahn Gillmor's avatar
      prepare debian release · e5a3e1e0
      Daniel Kahn Gillmor authored
      e5a3e1e0
    • Daniel Kahn Gillmor's avatar
      bump symbols version for gpgrt_yield to 1.25 · 8d6ed033
      Daniel Kahn Gillmor authored
      commit 3d356d165aed7d76a3ea811b1d24ed0a05ac90d4 in GnuPG's upstream
      git repo contains this mention:
      
      +    {
      +#if GPGRT_VERSION_NUMBER < 0x011900 /* 1.25 */
      +      /* In older gpg-error versions gpgrt_yield is buggy for use with
      +       * nPth and thus we need to resort to a sleep call.  */
      +      npth_usleep (1000); /* 1ms */
      +#else
      +      gpgrt_yield ();
      +#endif
      +    }
      
      This is a build-time decision, and we want it to map to a runtime
      decision, so that when it's built against a newer version of
      libgpg-error, it can't accidentally be installed against an older
      version.
      
      This change should help that happen within debian.
      8d6ed033
  14. 17 Jan, 2017 1 commit
    • Werner Koch's avatar
      build: Modernize autogen.sh. · 66275ac5
      Werner Koch authored
      
      
      * autogen.sh: Update from GnuPG.
      * autogen.rc (version_parts): New.
      * configure.ac: Change to use autogen.sh --find-version helper.
      * Makefile.am (dist-hook): Do not create VERSION
      (EXTRA_DIST): Add VERSION.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      66275ac5
  15. 10 Jan, 2017 1 commit
    • Daniel Kahn Gillmor's avatar
      doc,configure: Be consistent about preferring --with-libgpg-error-prefix · 19de4cef
      Daniel Kahn Gillmor authored
      
      
      * doc/gpgrt.texi: Say "--with-libgpg-error-prefix" instead of
        "--with-gpg-error-prefix".
      * src/gpg-error.m4: When warning about library locations, warn with
        the preferred "--with-libgpg-error-prefix" name.
      
      --
      
      in src/gpg-error.m4, it already says:
      
      >  dnl --with-libgpg-error-prefix=PFX is the preferred name for this option,
      >  dnl since that is consistent with how our three siblings use the directory/
      >  dnl package name in --with-$dir_name-prefix=PFX.
      
      so this is an attempt to live up to that expectation.
      
      Signed-off-by: Daniel Kahn Gillmor's avatarDaniel Kahn Gillmor <dkg@fifthhorseman.net>
      19de4cef
  16. 03 Jan, 2017 2 commits
  17. 24 Dec, 2016 5 commits
  18. 22 Dec, 2016 1 commit
    • Werner Koch's avatar
      Merge branch 'release-1.26' · 8d844f6c
      Werner Koch authored
      --
      
      The 1.26 release was accidently not pushed to git.gnupg.org master.
      Instead the supposed to be local wk-master branch made it to that
      server.  The new relealse-1.26 branch tries to fix that problem.
      8d844f6c
  19. 21 Dec, 2016 4 commits