Werner Koch
9c8608f702
Release 1.3.2.
...
* configure.ac: Bump LT version to C19/A8/R1.
* configure.ac (GITLOG_TO_CHANGELOG): Define.
* Makefile.am (gen-ChangeLog): Use it.
2012-05-02 11:18:24 +02:00
Werner Koch
295dd3f238
Remove unused pth stuff from gpgme-config.
...
* src/gpgme-config.in: Remove unused pth stuff.
2012-05-02 10:43:22 +02:00
Werner Koch
475640a527
Fix minor documentation problem.
...
--
Fixes bug#1404.
(There is mentioned data field “recipient”, but actual data field
name is “recipients”.)
2012-05-02 10:35:47 +02:00
Werner Koch
d6402b888f
Update signature summary for the case of missing X.509 keys.
...
* src/verify.c (gpgme_op_verify_result): Update summary field.
--
This is actually a hack to solve the problem that GPGME currently does
not emit ERRSIG for a missing public key.
2012-05-02 10:30:09 +02:00
Werner Koch
1a21574b48
Fix timestamp parsing for y2038 hack.
...
* src/conversion.c (_gpgme_parse_timestamp): Set ENDP before year 2038
check.
2012-04-30 17:46:15 +02:00
Werner Koch
22de98b7a6
Remove trailing white space
...
--
2012-04-30 17:42:53 +02:00
W. Trevor King
4cb408d33e
.gitignore: flesh out rules and add subdirectory-.gitignores.
2012-04-20 16:05:11 +02:00
W. Trevor King
62bbe58280
status-table.c: include string.h for strcmp.
...
* status-table.c: include string.h to avoid `warning: implicit
declaration of function 'strcmp'`.
2012-04-13 10:02:39 +02:00
W. Trevor King
c318e69d8f
gpgme-tool: add help messages for a number of commands.
...
* src/gpgme-tool.c (hlp_engine, hlp_sub_protocol, hlp_armor, hlp_textmode,
hlp_include_certs, hlp_keylist_mode, hlp_input, hlp_output, hlp_message,
hlp_recipient, hlp_signer, hlp_signers_clear, hlp_decrypt, hlp_decrypt_verify,
hlp_encrypt, hlp_sign_encrypt, hlp_sign, hlp_verify, hlp_import): New strings.
(hlp_protocol): Fix typo.
(register_commands): Add documentation strings.
(doc): Mention Assuan.
2012-04-03 15:20:27 +02:00
W. Trevor King
bb62104adf
uiserver.texi: fix decryption -> encryption typo in PREP_ENCRYPT discussion.
...
* doc/uiserver.texi (PREP_ENCRYPT): Fix documentation.
2012-04-03 15:15:05 +02:00
W. Trevor King
6ec9e21dd1
Update Werner Koch's distribution signing key in the README.
...
* README: Update signing key.
2012-04-03 15:10:52 +02:00
Marcus Brinkmann
ff0a640a18
Do not rely on glibc name of syscall.
...
* src/ath.c (ath_self): Use __NR_gettid, not SYS_gettid.
2012-03-12 16:37:26 +01:00
Marcus Brinkmann
ced1ad01ae
Update config.guess and config.sub to latest version.
...
* config.guess, config.sub: Update to latest version.
2012-03-12 16:00:29 +01:00
Marcus Brinkmann
885243e054
Rework status table to be less dynamically generated.
...
* src/Makefile.am (EXTRA_DIST): Remove mkstatus.
(BUILT_SOURCE, MOSTLYCLEANFILES): Remove.
(main_sources): Remove status-table.h, extra-stati.h.
Add status-table.c.
(status-table.h): Remove rules for built source.
* src/decrypt.c: Don't include extra-stati.h.
* src/engine-gpg.c: Don't include status-table.h.
(status_cmp): Remove function.
(read_status): Use _gpgme_parse_status.
* src/engine-gpgsm.c: Don't include status-table.h.
(status_cmp, parse_status): Remove function.
(gpgsm_assuan_simple_command, status_handler): Use _gpgme_parse_status.
* src/engine-uiserver.c: Don't include status-table.h.
(status_cmp, parse_status): Remove function.
(uiserver_assuan_simple_command, status_handler): Use
_gpgme_parse_status.
* src/gpgme.h.in (gpgme_status_code_t): Add
GPGME_STATUS_DECRYPTION_INFO.
* src/util.h (_gpgme_status_init,_gpgme_parse_status): New declaration.
* src/status-table.c: New file.
* src/extra-stati.h, src/mkstatus: Files removed.
* version.c (do_subsystem_inits): Call _gpgme_status_init.
2012-02-14 13:34:44 +01:00
Marcus Brinkmann
dae3073aaa
Use gpgme interface for error handling to avoid linking with gpg-error.
...
* tests/t-data.c, tests/run-export.c, tests/run-keylist.c,
tests/run-support.h, tests/run-verify.c, tests/gpg/t-decrypt-verify.c,
tests/gpg/t-edit.c, tests/gpg/t-eventloop.c, tests/gpg/t-keylist-sig.c,
tests/gpg/t-keylist.c, tests/gpg/t-support.h, tests/gpg/t-trustlist.c,
tests/gpg/t-verify.c, tests/gpg/t-wait.c, tests/gpgsm/cms-decrypt.c,
tests/gpgsm/cms-keylist.c, tests/gpgsm/t-keylist.c,
tests/gpgsm/t-support.h, tests/gpgsm/t-verify.c,
tests/opassuan/t-command.c: Use gpgme interface for gpg-error functions.
2012-02-08 15:26:17 +01:00
Marcus Brinkmann
0052a72f89
Link the thread test to pthread.
...
* tests/gpg/Makefile.am (t_thread1_LDADD): Add -lpthread.
2012-02-08 15:19:33 +01:00
Marcus Brinkmann
3f03897cbd
Link gpgme-tool directly to libassuan, as it uses its interface.
...
* src/Makefile.am (gpgme_tool_LDADD): Add @LIBASSUAN_LIBS@.
2012-02-08 15:18:11 +01:00
Werner Koch
24a10a4af9
Support the mingw-w64 toolchain.
...
* autogen.sh (build-w32): Add i686-w64-mingw32 to the toolprefix.
2012-01-19 18:44:39 +01:00
Werner Koch
2f304957f5
Fix Solaris problems with ttyname_r.
...
* m4/gnupg-ttyname.m4: New. Based on ttyname_r from gnulib.
* src/ttyname_r.c (_gpgme_ttyname_r): Rename from ttyname_r.
Implement hacks required for Solaris and possible other non-fully
Posix systems.
* src/util.h: Include unistd.h. Redefine ttyname_r depending on
REPLACE_TTYNAME_R and put it into the gpgme name space.
--
Unfortunately we cant not use the ttyname_r replacement from gnulib
because we want to keep GPGME LGPLv2+.
2012-01-19 18:43:10 +01:00
Werner Koch
c96778297f
Try to make configure.ac a bit smaller.
...
* configure.ac: Move header checks.
2012-01-19 16:05:31 +01:00
Werner Koch
574b087e84
For W32 use a build number instead of abbreviated commit id.
...
We would need to use a shortened commit id so that it fits into an 16
bit Windows variable. Further it is a random number and not something
increasing. Thus a build number made up from the day of the year and
the hour is much more useful to describe a build number for a specific
revision.
* configure.ac [W32]: Replace BUILD_REVISION by BUILD_NUMBER.
* src/versioninfo.rc.in: Ditto.
2012-01-19 16:04:19 +01:00
Werner Koch
a0149630ce
Adjust configure.ac for modern autoconf.
...
* configure.ac: Minor cleanups.
2012-01-19 15:57:09 +01:00
Werner Koch
4cfddadcd0
Update to libtool 2.4.2
...
* ltmain.sh, m4/libtool.m4, m4/ltoptions.m4, m4/ltversion.m4,
* m4/lt~obsolete.m4: Update.
2012-01-19 15:30:52 +01:00
Werner Koch
3ef528b636
Add ttyname_r check macro from gnulib.
...
* m4/gnupg-ttyname.m4: New. Taken from current gnulib.
2012-01-19 14:58:40 +01:00
Werner Koch
a4c4ee1aae
Generate the ChangeLog from commit logs.
...
* build-aux/gitlog-to-changelog: New script. Taken from gnulib.
* build-aux/git-log-fix: New file.
* build-aux/git-log-footer: New file.
* build-aux/git-hook/commit-msg: New script.
* doc/HACKING: New file.
* ChangeLog: New file.
* Makefile.am (EXTRA_DIST): Add new files.
(gen-ChangeLog): New.
(dist-hook): Run gen-ChangeLog.
* autogen.sh: Install commit-msg hook for git.
Rename all ChangeLog files to ChangeLog-2011.
2011-12-02 11:36:37 +01:00
Marcus Brinkmann
3ddf4c3d40
Remove support for libgpgme-pth.
2011-10-25 18:59:26 +02:00
Marcus Brinkmann
86a439d1d1
Post-release.
2011-07-04 20:45:15 +02:00
Marcus Brinkmann
547aca0b24
Release 1.3.1
2011-06-16 14:38:59 +02:00
Marcus Brinkmann
b34add3fe4
Check context pointers for null pointer on entry points.
2011-05-26 16:01:26 +02:00
Marcus Brinkmann
5f3de0bfff
Fix I/O callback example.
2011-05-12 14:45:46 +02:00
Marcus Brinkmann
f61abeb0cf
Correct key-gen example.
2011-05-12 14:42:18 +02:00
Marcus Brinkmann
d11500a77e
Clean up the tests correctly.
2011-05-11 02:32:20 +02:00
Marcus Brinkmann
6e32f8f0c1
Update NEWS file.
2011-05-06 17:46:03 +02:00
Marcus Brinkmann
90bdbd4aaa
Remove complus support.
2011-05-06 17:07:35 +02:00
Marcus Brinkmann
f1ea0d9e38
Remove complus (10 years unused).
2011-05-06 13:28:11 +02:00
Marcus Brinkmann
08ab0a5cdf
Remove unused macro GNUPG_FIX_HDR_VERSION.
2011-05-06 13:26:58 +02:00
Marcus Brinkmann
c79d8ad818
Make sure an existing agent doesn't interfere with test suite generation.
2011-05-06 02:11:40 +02:00
Marcus Brinkmann
470899e3a7
Improve import tests for GnuPG 2.1.
2011-05-04 00:52:11 +02:00
Marcus Brinkmann
43f38db1af
Update GPGME test suite for use with GnuPG 2.1.
2011-04-27 18:03:46 +02:00
Werner Koch
7929e89093
Require autoconf 1.11
...
This is because AM_SUBST_NOTMAKE is only offically supported since
this version of automake.
2011-04-14 19:23:04 +02:00
Werner Koch
3bd6538bf5
Add an AC_SUBST_NOTMAKE
...
Without that the multiline INSERT__TYPEDEFS_FOR_GPGME_H would be
expanded in the Makefiles and mess them up.
2011-04-06 20:57:23 +02:00
Werner Koch
cdefec02b3
gpgme-config cleanups and --host option
...
gpgme-config.in: Add option --host. Change options --cflags and
--libs to collapse duplicate include and lib dirs. Try to put extra
libs at the end.
Note that gpgme.m4 has not yet been extended.
2011-04-06 20:10:45 +02:00
Werner Koch
e54fe47db8
Update gpg-error.m4
2011-04-06 14:33:16 +02:00
Werner Koch
7e547d87d2
Insert platform dependent typedefs into gpgme.h
...
We already modify gpgme.h per playform and thus we can also get rid of
some #ifdefs. The change does not change anything for current
platforms but should do the right think for W64.
Note that as per MS specs ssize_t is to be defined as LONG_PTR which
translates to a long on 32 bit platforms and to __int64 on 64 bit
Windows platforms. We already used long in the past. There seems to
be a problem with some versions of mingw32 which includes a ssize_t
type typedefed to int. O(n 32 bit W32 platforms int and long are
identically.
2011-04-06 13:45:15 +02:00
Werner Koch
b001a8df68
Merge branch 'master' of git+ssh://playfair.gnupg.org/git/gpgme
2011-02-03 20:51:36 +01:00
Werner Koch
55ad4d80e2
Add support for non-API GnuPG status codes.
...
As an example stub code for DECRYTPION_INFO has been added. Note
that the status codes in gpgme.h do only make sense for the edit
interactor interface and thus certain codes don't need to be part of
the public interface.
2011-02-03 20:49:41 +01:00
Marcus Brinkmann
2bdbe88822
Fix socket implementation on Windows.
...
2011-02-03 Marcus Brinkmann <marcus@g10code.com>
* w32-io.c (_gpgme_io_socket): Return fd, not res.
2011-02-03 12:38:28 +01:00
Marcus Brinkmann
129741d2f7
Fix Windows port (spawn and assuan engine).
...
2011-02-02 Marcus Brinkmann <mb@g10code.com>
* configure.ac (NEED_LIBASSUAN_VERSION): Bump to 2.0.2 for system hooks.
src/
2011-02-02 Marcus Brinkmann <mb@g10code.com>
* assuan-support.c (my_socket, my_connect): New functions.
(_gpgme_assuan_system_hooks): Add my_Socket, my_connect.
* priv-io.h (_gpgme_io_socket): New prototype.
* w32-io.c (pid_to_handle, handle_to_oid, fd_to_handle): Remove macros.
(is_socket): Remove function.
(_gpgme_io_spawn) [HAVE_W32CE_SYSTEM]: Remove some dead code.
(_gpgme_io_spawn): Translate handles before DuplicateHandle them.
2011-02-02 14:11:18 +01:00
Marcus Brinkmann
de287a7996
Merge commit 'a2b9adafe46c55a2c26dd46163055bbdf3526835'
2011-02-02 13:51:42 +01:00
Marcus Brinkmann
a2b9adafe4
2011-02-02 Marcus Brinkmann <mb@g10code.com>
...
* w32-util.c (mkstemp): Don't use CreateFile instead of open (the
function is not used on Windows CE, and the callers were not
adjusted).
2011-02-02 13:47:53 +01:00