| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
--
|
| |
|
|
|
|
| |
--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/Makefile.am (pre_mkheader_cmds): Avoid make diagnostic about
failed but ignored command. This confuses Emacs' compiler job parser.
* tests/t-lock.c [W32]: Include time.h.
* src/init.c: Reorganize Windows only code.
(wchar_to_utf8, utf8_to_wchar): Remove unused functions.
(_gpg_err_set_errno): Use only one copy for all platforms.
--
Note that there is a still a problem for W64 pertaining to the use of
an int to store a HANDLE. This will be fixed when we add a full
abstraction layer for Windows file objects.
|
|
|
|
|
|
| |
* src/posix-lock.c: Add assert calls.
Signed-off-by: Werner Koch <[email protected]>
|
|
|
|
|
|
| |
--
Forwarded: http://lists.gnupg.org/pipermail/ \
gnupg-i18n/2014-November/000348.html
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/Makefile.am: Add -P to the C preprocessor when building
mkerrcodes.h, to avoid a noisy intermediate pipeline.
--
With gcc 5 without this patch, we see many errors like the following:
gcc -I. -I. -o mkerrcodes ./mkerrcodes.c
In file included from ./mkerrcodes.c:26:0:
./mkerrcodes.h:9:5: error: expected expression before ‘,’ token
{ , "GPG_ERR_E2BIG" },
^
./mkerrcodes.h:10:5: error: expected expression before ‘,’ token
{ , "GPG_ERR_EACCES" },
^
This patch cleans up the generated mkerrcodes.h by making the
intermediate stage clean for all the versions of gcc i tested (4.x and
5).
Debian-Bug-Id: 777374
Signed-Off-By: Daniel Kahn Gillmor <[email protected]>
|
|
|
|
|
|
| |
* src/gpg-error.c (main): Add option --help and --defines.
Signed-off-by: Werner Koch <[email protected]>
|
|
|
|
|
|
|
| |
* src/err-codes.h.in: Add error codes.
* doc/ldap2gpgerr.c: New.
Signed-off-by: Werner Koch <[email protected]>
|
|
|
|
|
|
|
|
| |
* src/estream.c (fname_set_internal): Remove useless condition.
* src/mkheader.c (main): Ditto.
--
Detected by Stack 0.3.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/Makefile.am (lock_obj_pub): Rename i586-pc-linux-gnu to
i686-pc-linux-gnu. Remove i486-pc-linux-gnu.
* src/mkheader.c (canon_host_triplet): New.
(main): Use it.
--
config.sub does not map i{4,5,6}86-pc-linux-gnu to one common triplet.
However, they all use the same ABI and thus we do not need several
versions of the syscfg files.
Signed-off-by: Werner Koch <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
* src/gpg-error.w32-manifest.in: New.
* src/Makefile.am (EXTRA_DIST): Add it.
(versioninfo.lo): Depend on it.
* src/versioninfo.rc.in: Add it.
* configure.ac (AC_CONFIG_FILES): Add it.
(BUILD_VERSION): New.
Signed-off-by: Werner Koch <[email protected]>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/Makefile.am (extra_ltoptions): New.
(libgpg_error_la_LDFLAGS): Use it.
--
Since gcc 4.8 there is a regression in that plain C programs may link
to libgcc_s.a which has a dependency on libgcc_s_sjlj.dll. This is
for example triggered by using long long arithmetic on a 32 bit
Windows (e.g symbol __udivdi3).
As usual the gcc maintainers don't care about backward compatibility
and declare that as some kind of compatibility fix and not as
regression from 4.7 and all earlier versions.
Signed-off-by: Werner Koch <[email protected]>
|
|
|
|
| |
--
|
|
|
|
| |
* configure.ac: Set LT version to C14/A14/R0.
|
|
|
|
| |
--
|
| |
|
|
|
|
| |
--
|
|
|
|
|
|
|
| |
--
Taken from
http://translationproject.org/latest/libgpg-error/hu.po
|
|
|
|
|
|
| |
--
Debian-Bug-Id: 770983
|
|
|
|
| |
--
|
|
|
|
| |
--
|
|
|
|
| |
--
|
|
|
|
|
| |
--
Proofread-By: Aputsiaĸ Niels Janussen
|
|
|
|
| |
--
|
|
|
|
| |
--
|
| |
|
|
|
|
| |
* src/gpg-error.c (get_err_from_str): Init SAVED_CHAR.
|
|
|
|
|
| |
* po/Makefile.in.in (MSGMERGE): Remove --previous.
* po/Makevars (MSGMERGE_OPTIONS): Add --previous.
|
|
|
|
|
|
|
| |
* configure.ac (AM_INIT_AUTOMAKE): Add serial-tests.
* tests/Makefile.am (INCLUDES): Replace by AM_CPPFLAGS.
Signed-off-by: Werner Koch <[email protected]>
|
| |
|
|
|
|
|
|
|
| |
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New.
(AUTOMAKE_OPTIONS): Move options to ...
* configure.ac (AM_INIT_AUTOMAKE): .. here.
(BUILD_DOC): Fix commit 754a987.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am (doc) [!BUILD_DOC]: Do not recurse into doc/.
* configure.ac (BUILD_DOC): New am_conditional and new option.
--
We have this option already for GnuPG and should use it for all
projects. Embedded platforms usually do not require documentation and
being able to disable the building avoids a lot of build dependencies.
Suggested-by: Hans-Christoph Steiner <[email protected]>
|
| |
|
| |
|
| |
|
|
|
|
| |
--
|
|
|
|
| |
--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/syscfg/lock-obj-pub.mips64el-unknown-linux-gnuabi64.h: New.
* src/Makefile.am (lock_obj_pub): Add.
--
native lock obj header for 64-bit little-endian MIPS, taken from
debian mips64el port buildd, see:
http://mips64el.debian.net/debian/buildlog/libg/libgpg-error_1.16-2/libgpg-error_1.16-2_mips64el-20140928-1753.build
Debian-Bug-Id: 766135
|
|
|
|
| |
--
|
|
|
|
|
|
|
|
|
|
|
| |
* src/syscfg/lock-obj-pub.or1k-unknown-linux-gnu.h: new
--
This architecture-specific header information was sourced from
<http://wannabuild.cmd.nu/fetch.php?pkg=libgpg-error
arch=or1k&ver=1.13-2&stamp=1407320768>
* Add to Makefile. -wk
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/sysconfig/lock-obj-pub.i586-pc-linux-gnu.h: New.
--
Helmut Grohne writes:
Observe that the detected GNU triplet is now i586-pc-linux-gnu (gcc
bumped it from i486-pc-linux-gnu recently), so the corresponding lock
obj header in the syscfg folder needs to be moved or linked.
Debian-Bug-Id: 764881
|
|
|
|
| |
--
|
|
|
|
| |
* configure.ac: Set LT version to C13/A13/R0.
|
|
|
|
| |
--
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/gpgrt.texi: New. Just a start for now.
* doc/gpl.texi, doc/lgpl.texi: New. Take from Libgcrypt.
* doc/yat2m.c: New. Take from GnuPG master.
* doc/Makefile.am: New.
* configure.ac (AC_CONFIG_FILES): Add doc/Makefile.
* Makefile.am (SUBDIRS): Add doc/.
* build-aux/mdate-sh, build-aux/texinfo.tex: New.
Signed-off-by: Werner Koch <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac (FORCE_USE_SYSCFG): New am_conditional.
* src/Makefile.am: Use new conditional to decide whether to build the
native lock object header.
--
This should help to build using msys2 and mingw.
GnuPG-bug-id: 1717
Signed-off-by: Werner Koch <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/gpg-error.h.in (gpgrt_pending): Change to a macro.
(gpgrt_pending_unlocked): Change to a macro.
(_gpgrt_pending, _gpgrt_pending_unlocked): New private functions.
* src/visibility.c, src/visibility.h: Change accordingly.
* src/gpg-error.vers, src/gpg-error.def.in: Ditto.
* src/estream.c (_gpgrt_pending_unlocked): Rename to
_gpgrt__pending_unlocked.
(_gpgrt_pending): Rename to _gpgrt__pending.
--
The function are supposed to be used with gprt_getc and thus we need
to avoid the function call overhead. We may want to change them to
inline functions, though.
gpgrt_pending is changed to a macro with the idea that we eventually
can export the samestream flags and thus avoid the function call
overhead in the samethread case too.
|
|
|
|
| |
* src/estream.c (es_func_w32_read): Fix var name.
|