aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add gpgme_set_global_flag to help debuggingWerner Koch2012-09-258-10/+95
| | | | | | | | | | | | | | * src/gpgme.c (gpgme_set_global_flag): New. * src/gpgme.h.in (gpgme_set_global_flag): New. * src/gpgme.def, src/libgpgme.vers: Add new public function. * src/debug.c (envvar_override): New.: (_gpgme_debug_set_debug_envvar): New. (debug_init): Take ENVVAR_OVERRIDE in account. -- On Android envvars can't be used, thus we need another way to enable GPGME debugging. The new function allows this and may be used in the future to implement similar things.
* Remove all trailing whitespace from source filesWerner Koch2012-09-2583-726/+726
| | | | | -- Command used: sed -i 's,[ \t]*$,,' FILE
* Add two recent contributors.Marcus Brinkmann2012-07-281-2/+3
|
* Fix sign error in position calculation for mem_seek.Marcus Brinkmann2012-07-281-1/+1
| | | | * data-mem.c (mem_seek): Fix sign error in position calculation.
* Allow null context on gpgme_set_locale.Marcus Brinkmann2012-07-271-3/+0
| | | | * gpgme.c (gpgme_set_locale): Allow CTX to be a null pointer.
* Do not include the removed file status-table.hWerner Koch2012-07-131-22/+21
| | | | | | | | | * src/engine-uiserver.c: Remove status-table.h which is not anymore built. Fixes bug#1412. -- The file was actually removed from the code by 885243e0 but for unknown reasons the missing file was not reported by "make distcheck".
* Make handling of new conf values more robust (bug#1413).Werner Koch2012-07-131-50/+51
| | | | | | | | | * src/engine-gpgconf.c (arg_to_data): Allow for NULL as value.string. -- I was not able to replicate the problem. However this patch makes the code more robust and tolerates errors by the user. IT should fix the problem at hand.
* Post release updates.Werner Koch2012-05-022-2/+6
| | | | --
* Release 1.3.2.gpgme-1.3.2Werner Koch2012-05-027-44/+63
| | | | | | | * configure.ac: Bump LT version to C19/A8/R1. * configure.ac (GITLOG_TO_CHANGELOG): Define. * Makefile.am (gen-ChangeLog): Use it.
* Remove unused pth stuff from gpgme-config.Werner Koch2012-05-021-6/+0
| | | | * src/gpgme-config.in: Remove unused pth stuff.
* Fix minor documentation problem.Werner Koch2012-05-021-27/+27
| | | | | | | -- Fixes bug#1404. (There is mentioned data field “recipient”, but actual data field name is “recipients”.)
* Update signature summary for the case of missing X.509 keys.Werner Koch2012-05-022-11/+39
| | | | | | | | * 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.
* Fix timestamp parsing for y2038 hack.Werner Koch2012-04-301-2/+3
| | | | | * src/conversion.c (_gpgme_parse_timestamp): Set ENDP before year 2038 check.
* Remove trailing white spaceWerner Koch2012-04-302-49/+49
| | | | --
* .gitignore: flesh out rules and add subdirectory-.gitignores.W. Trevor King2012-04-208-5/+81
|
* status-table.c: include string.h for strcmp.W. Trevor King2012-04-131-0/+1
| | | | | * status-table.c: include string.h to avoid `warning: implicit declaration of function 'strcmp'`.
* gpgme-tool: add help messages for a number of commands.W. Trevor King2012-04-031-23/+137
| | | | | | | | | | * 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.
* uiserver.texi: fix decryption -> encryption typo in PREP_ENCRYPT discussion.W. Trevor King2012-04-031-1/+1
| | | | * doc/uiserver.texi (PREP_ENCRYPT): Fix documentation.
* Update Werner Koch's distribution signing key in the README.W. Trevor King2012-04-031-2/+2
| | | | * README: Update signing key.
* Do not rely on glibc name of syscall.Marcus Brinkmann2012-03-121-1/+1
| | | | * src/ath.c (ath_self): Use __NR_gettid, not SYS_gettid.
* Update config.guess and config.sub to latest version.Marcus Brinkmann2012-03-122-318/+475
| | | | * config.guess, config.sub: Update to latest version.
* Rework status table to be less dynamically generated.Marcus Brinkmann2012-02-1411-173/+183
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Use gpgme interface for error handling to avoid linking with gpg-error.Marcus Brinkmann2012-02-0820-53/+49
| | | | | | | | | | | * 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.
* Link the thread test to pthread.Marcus Brinkmann2012-02-081-1/+1
| | | | * tests/gpg/Makefile.am (t_thread1_LDADD): Add -lpthread.
* Link gpgme-tool directly to libassuan, as it uses its interface.Marcus Brinkmann2012-02-081-1/+1
| | | | * src/Makefile.am (gpgme_tool_LDADD): Add @LIBASSUAN_LIBS@.
* Support the mingw-w64 toolchain.Werner Koch2012-01-191-2/+2
| | | | * autogen.sh (build-w32): Add i686-w64-mingw32 to the toolprefix.
* Fix Solaris problems with ttyname_r.Werner Koch2012-01-194-56/+157
| | | | | | | | | | | | | * 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+.
* Try to make configure.ac a bit smaller.Werner Koch2012-01-191-6/+3
| | | | * configure.ac: Move header checks.
* For W32 use a build number instead of abbreviated commit id.Werner Koch2012-01-192-6/+11
| | | | | | | | | | 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.
* Adjust configure.ac for modern autoconf.Werner Koch2012-01-191-9/+8
| | | | * configure.ac: Minor cleanups.
* Update to libtool 2.4.2Werner Koch2012-01-195-2227/+4115
| | | | | * ltmain.sh, m4/libtool.m4, m4/ltoptions.m4, m4/ltversion.m4, * m4/lt~obsolete.m4: Update.
* Add ttyname_r check macro from gnulib.Werner Koch2012-01-191-0/+101
| | | | * m4/gnupg-ttyname.m4: New. Taken from current gnulib.
* Generate the ChangeLog from commit logs.Werner Koch2011-12-0220-1074/+1724
| | | | | | | | | | | | | | | * 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.
* Remove support for libgpgme-pth.Marcus Brinkmann2011-10-258-682/+16
|
* Post-release.Marcus Brinkmann2011-07-042-1/+7
|
* Release 1.3.1gpgme-1.3.1Marcus Brinkmann2011-06-163-4/+10
|
* Check context pointers for null pointer on entry points.Marcus Brinkmann2011-05-2622-6/+266
|
* Fix I/O callback example.Marcus Brinkmann2011-05-122-7/+14
|
* Correct key-gen example.Marcus Brinkmann2011-05-122-6/+11
|
* Clean up the tests correctly.Marcus Brinkmann2011-05-113-6/+22
|
* Update NEWS file.Marcus Brinkmann2011-05-061-1/+2
|
* Remove complus support.Marcus Brinkmann2011-05-062-7/+3
|
* Remove complus (10 years unused).Marcus Brinkmann2011-05-0620-3156/+5
|
* Remove unused macro GNUPG_FIX_HDR_VERSION.Marcus Brinkmann2011-05-062-26/+4
|
* Make sure an existing agent doesn't interfere with test suite generation.Marcus Brinkmann2011-05-062-0/+9
|
* Improve import tests for GnuPG 2.1.Marcus Brinkmann2011-05-032-1/+10
|
* Update GPGME test suite for use with GnuPG 2.1.Marcus Brinkmann2011-04-278-746/+127
|
* Require autoconf 1.11Werner Koch2011-04-142-1/+5
| | | | | This is because AM_SUBST_NOTMAKE is only offically supported since this version of automake.
* Add an AC_SUBST_NOTMAKEWerner Koch2011-04-061-0/+1
| | | | | Without that the multiline INSERT__TYPEDEFS_FOR_GPGME_H would be expanded in the Makefiles and mess them up.
* gpgme-config cleanups and --host optionWerner Koch2011-04-064-33/+72
| | | | | | | | 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.