aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2002-06-04 Marcus Brinkmann <[email protected]>gpgme-0-3-7Marcus Brinkmann2002-06-043-3/+12
| | | | | | | | | | Released 0.3.7. * configure.ac (AC_INIT): Set version to 0.3.7. (LIBGPGME_LT_REVISION): Add one. * README: Document version requirement correctly.
* Updates.Marcus Brinkmann2002-06-042-4/+10
|
* 2002-06-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-06-042-9/+36
| | | | | * gpgme.texi (Multi Threading): Document new autodetection.
* 2002-06-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-06-042-0/+6
| | | | | * Makefile.am (DISTCLEANFILES): New variable.
* 2002-06-04 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-06-042-1/+4
| | | | | * Makefile.am (libgpgme_la_SOURCES): Remove mutex.h.
* 2002-06-03 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-06-022-9/+28
| | | | | | | | * key.c: Include <ctype.h>. (_gpgme_key_append_name): Skip one more char when processing escaped char. Submitted by Marc Mutz <[email protected]>. Handle hexadecimal encodings. Also reported by Marc. Thanks!
* 2002-06-02 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-06-026-41/+3757
| | | | | | | | | | | | | | | | | * acinclude.m4: Fix Pth check so that it doesn't error out if pth is not found. gpgme/ 2002-06-02 Marcus Brinkmann <[email protected]> * ath.h: Enable the _gpgme_ prefix. Fix all those prefix macros. * posix-sema.c: Use that prefix here. * posix-io.c: Include "ath.h". (_gpgme_io_read): Use _gpgme_ath_read instead read. (_gpgme_io_write): Use _gpgme_ath_write instead write. (_gpgme_io_waitpid): Use _gpgme_ath_waitpid instead waitpid. (_gpgme_io_select): Use _gpgme_ath_select instead select.
* 2002-06-02 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-06-0211-179/+907
| | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Add checks for Pth and pthreads. * acinclude.m4: Add slightly hacked check for pth (seems to be an autoconf version problem). gpgme/ 2002-06-02 Marcus Brinkmann <[email protected]> * Makefile.am (ath_components): New variable. (ath_components_pthread): Likewise. (ath_components_pth): Likewise. (system_components): Add ath_componentes. * ath.h: New file. * ath.c: Likewise. * ath-pthread.c: Likewise. * ath-pth.c: Likewise. * posix-sema.c (_gpgme_sema_cs_enter): Rework to use the ATH interface. * mutex.h: Remove file.
* sync our cryptplug.h with the version in KDE/libkdenetwork/ that was ↵Karl-Heinz Zimmer2002-06-011-4/+4
| | | | corrected my Marc Mutz.
* more cert infoSteffen Hansen2002-05-312-2/+353
|
* Bugfix: use fingerprint as found in "fpr" only if no key was found by ↵Karl-Heinz Zimmer2002-05-311-12/+3
| | | | gpgme_get_sig_key()
* Matze's patch for showing colored bars at S/MIME messages as well as at ↵Karl-Heinz Zimmer2002-05-312-378/+95
| | | | OpenPGP messages.
* more error handlingKarl-Heinz Zimmer2002-05-311-21/+111
|
* small fixSteffen Hansen2002-05-302-25/+9
|
* * key.c (gpgme_key_get_string_attr): Return NULL when asking forWerner Koch2002-05-302-1/+6
| | | | | an issuer with IDX > 0. We don't support altIssuerNames for now.
* * cryptplug.h, gpgmeplug.c: Added certificate info listing functions.Steffen Hansen2002-05-303-15/+379
| | | | | | Not yet complete. Converted more C99 style comments to "classic" style.
* 2002-05-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-05-262-15/+19
| | | | | * gpgme.texi: Some typographical correctons throughout.
* 2002-05-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-05-262-4/+10
| | | | | | | | | * gpg/Makefile.am (all-local): Remove dependency on ./secring.gpg. (./secring.gpg): Remove target, and move all rules for this target to ... (./pubring.gpg): ... here. This was necessary because GnuPG 1.0.7 does create an empty secring.gpg file when importing public keys.
* * engine-gpgsm.c (_gpgme_gpgsm_op_keylist_ext): Aehmm, addedWerner Koch2002-05-221-0/+5
| | | | | missing variable definition. Oohh - Marcus was faster.
* 2002-05-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-05-222-1/+6
| | | | | * engine-gpgsm.c (_gpgme_gpgsm_op_keylist_ext): Fix last change.
* * engine-gpgsm.c (_gpgme_gpgsm_op_keylist)Werner Koch2002-05-214-1/+25
| | | | | | | (_gpgme_gpgsm_op_keylist_ext): Pass the keylist mode to gpgsm. * configure.ac (NEED_GPGSM_VERSION): We need gpgsm 0.3.7.
* * key.h (gpgme_key_s): Add OTRUST.Werner Koch2002-05-104-2/+39
| | | | | | | | * keylist.c (set_ownertrust): New. (keylist_colon_handler): Get the ownertrust value * key.c (gpgme_key_get_string_attr,gpgme_key_get_ulong_attr): Return that value.
* 2002-05-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-05-093-7/+48
| | | | | * gpgme.texi (Using Automake): New section.
* Bump version numbers in requirements.Marcus Brinkmann2002-05-091-2/+2
|
* 2002-05-09 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-05-092-4/+8
| | | | | * gpgme.texi (Multi Threading): Escape { and }.
* doc/Marcus Brinkmann2002-05-0913-639/+878
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-09 Marcus Brinkmann <[email protected]> * gpgme.texi (Overview): Replace note about thread-safeness. (Multi Threading): New section. gpgme/ 2002-05-08 Marcus Brinkmann <[email protected]> * w32-util.c: New static variable GET_PATH_LOCK. (_gpgme_get_gpg_path): Remove superfluous NULL initializer. Take lock while determining path. (_gpgme_get_gpgsm_path): Likewise. * version.c (do_subsystem_inits): Set DONE to 1 after initialization. (gpgme_get_engine_info): New variable ENGINE_INFO_LOCK. Take lock while determining engine info. * rungpg.c (_gpgme_gpg_get_version): New variable GPG_VERSION_LOCK. Take the lock while determining the program version. * posix-io.c: Include "sema.h". (_gpgme_io_spawn): New variable FIXED_SIGNALS_LOCK. Take the lock while fixing the signals. (_gpgme_io_select): Make READFDS and WRITEFDS non-static. * key.c: Include "sema.h". New globals KEY_CACHE_LOCK and KEY_REF_LOCK. (capabilities_to_string): Make STRINGS very const. (_gpgme_key_cache_add): Lock the key cache. (_gpgme_key_cache_get): Likewise. (gpgme_key_ref, gpgme_key_release): Lock the key_ref_lock. * import.c (append_xml_impinfo): Make IMPORTED_FIELDS and IMPORT_RES_FIELDS very const. Make FIELD and FIELD_NAME a litle const. * engine.c (_gpgme_engine_get_info): New variable ENGINE_INFO_LOCK. Take lock while determining engine info. * engine-gpgsm.c: Include "sema.h". (_gpgme_gpgsm_get_version): New variable GPGSM_VERSION_LOCK. Take lock while getting program version.
* revoce the previous commit, this was done erroneouslyKarl-Heinz Zimmer2002-05-081-0/+4
|
* Include the protocol parameter of multipart/.. content-type messages into ↵Karl-Heinz Zimmer2002-05-083-8/+28
| | | | double quotes to fullify requirements of the german government (see BSI document Technische Grundlagen - Tailoring MTTv2, page 60)
* Add some items and comments.Marcus Brinkmann2002-05-081-2/+8
|
* 2002-05-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-05-081-0/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * debug.h: New file. * Makefile.am (libgpgme_la_SOURCES): Add debug.h. * util.h: Removed all prototypes and declarations related to debugging. Include "debug.h". * debug.c (debug_level): Comment variable and remove superfluous zero initializer. (errfp): Likewise. (_gpgme_debug_enabled): Function removed. (struct debug_control_s): Definition removed. (_gpgme_debug_level): Function removed. (_gpgme_debug_begin): Rewritten to use vasprintf. Accept a pritnf-style format specification and a variable number of arguments. (_gpgme_debug_add): Rewritten using vasprintf. Expect that format starts out with "%s" for simplicity. (_gpgme_debug_end): Rewritten using vasprintf. Do not accept a TEXT argument anymore. * posix-io.c (_gpgme_io_select): Use new level argument for DEBUG_BEGIN instead explicit if construct. * debug.c (debug_init): Remove superfluous zero initializer, remove volatile flag of INITIALIZED. Do not use the double-checked locking algorithm, it is fundamentally flawed and will empty your fridge (on a more serious note, despite the volatile flag it doesn't give you the guarantee you would expect, for example on a DEC Alpha or an SMP machine. The volatile only serializes accesses to the volatile variable, but not to the other variables).
* 2002-05-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-05-085-222/+171
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * debug.h: New file. * Makefile.am (libgpgme_la_SOURCES): Add debug.h. * util.h: Removed all prototypes and declarations related to debugging. Include "debug.h". * debug.c (debug_level): Comment variable and remove superfluous zero initializer. (errfp): Likewise. (_gpgme_debug_enabled): Function removed. (struct debug_control_s): Definition removed. (_gpgme_debug_level): Function removed. (_gpgme_debug_begin): Rewritten to use vasprintf. Accept a pritnf-style format specification and a variable number of arguments. (_gpgme_debug_add): Rewritten using vasprintf. Expect that format starts out with "%s" for simplicity. (_gpgme_debug_end): Rewritten using vasprintf. Do not accept a TEXT argument anymore. * posix-io.c (_gpgme_io_select): Use new level argument for DEBUG_BEGIN instead explicit if construct. * debug.c (debug_init): Remove superfluous zero initializer, remove volatile flag of INITIALIZED. Do not use the double-checked locking algorithm, it is fundamentally flawed and will empty your fridge (on a more serious note, despite the volatile flag it doesn't give you the guarantee you would expect, for example on a DEC Alpha or an SMP machine. The volatile only serializes accesses to the volatile variable, but not to the other variables).
* 2002-05-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-05-082-3/+38
| | | | | | | * gpgsm/t-verify.c (validity_string): New. (print_sig_stat): Print expire time and validity. (status_string): Add new exipred stati.
* Bugfix don't use binary signatures for OpenPGPKarl-Heinz Zimmer2002-05-071-1/+1
|
* Bumbed version number to *-cvsWerner Koch2002-05-032-1/+8
|
* released 0.3.6V0-3-6Werner Koch2002-05-034-12/+21
|
* * gpgme.texi (Manipulating Data Buffers): Changed some data typesWerner Koch2002-05-034-2/+68
| | | | | | | | to void*. (Protocol Selection): Added gpgme_get_protocol. (Verify): Updated to include the new attribute fucntions and status codes.
* * engine-gpgsm.c (_gpgme_gpgsm_new): Redirect any gpgsm errorWerner Koch2002-05-036-7/+31
| | | | | | | | | | | | | | | | | | | | | | output to /dev/null. * verify.c (gpgme_get_sig_key): Set the protocol of the listctx. * gpgme.c (gpgme_get_protocol): New. * data.c (gpgme_data_write): Changed type of BUFFER to void*. (gpgme_data_read): Ditto. * verify.c (_gpgme_verify_status_handler): Handle TRUST_* status lines so that a claim can be made without looking up the key. (gpgme_get_sig_string_attr): New. (gpgme_get_sig_ulong_attr): New. * gpgme.h (GpgmeAttr): Added GPGME_ATTR_SIG_STATUS. * gpgme.h (GpgmeSigStat): Add _GOOD_EXP and _GOOD_EXPKEY. * verify.c (_gpgme_verify_status_handler, finish_sig): Handle these new status codes. Store the expiration time
* * assuan-pipe-connect.c (assuan_pipe_connect2): New to extendWerner Koch2002-05-033-2/+41
| | | | | | assuan_pipe_connect with some flags. Implemented a bitbucket for stderr.
* * gpg/t-verify.c (validity_string): New.Werner Koch2002-05-032-3/+38
| | | | | | (print_sig_stat): Print expire time and validity. (status_string): Add new exipred stati.
* * verify.c (_gpgme_verify_status_handler): Handle TRUST_* statusWerner Koch2002-05-036-12/+166
| | | | | | | | | | | | | | | | lines so that a claim can be made without looking up the key. (gpgme_get_sig_string_attr): New. (gpgme_get_sig_ulong_attr): New. * gpgme.h (GpgmeAttr): Added GPGME_ATTR_SIG_STATUS. * rungpg.h: Add new status codes from gpg 1.0.7 and formatted the list to align with the status.h file from gnupg. * gpgme.h (GpgmeSigStat): Add _GOOD_EXP and _GOOD_EXPKEY. * verify.c (_gpgme_verify_status_handler, finish_sig): Handle these new status codes. Store the expiration time
* * gpgme.texi (Manipulating Data Buffers): New type GpgmeDataEncoding.Werner Koch2002-04-272-0/+50
|
* * gpgme.h (GpgmeData_Encoding): New.Werner Koch2002-04-277-7/+73
| | | | | | | * data.c (gpgme_data_get_encoding,gpgme_data_set_encoding): New. * engine-gpgsm.c (map_input_enc): New. Use it in all local functions where the INPUT command gets send.
* 2002-04-27 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-04-272-1/+8
| | | | | | | * engine-gpgsm.c (_gpgme_gpgsm_op_verify): Close the output descriptor only when we don't need it anymore. Close the message descriptor if we don't need it.
* allow checking of Opaque Signed message dataKarl-Heinz Zimmer2002-04-272-8/+50
|
* * Makefile.am: Create libtool libraries.Werner Koch2002-04-267-6/+18
| | | | | | | * Makefile.am (libgpgme_la_LIBADD): Use libtool libraries. * Makefile.am: Create libtool libraries
* 2002-04-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-04-253-1/+8
| | | | | | * rungpg.c (_gpgme_gpg_release): Call gpgme_data_release on GPG->cmd.cb_data, not xfree.
* 2002-04-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-04-242-101/+211
| | | | | | * engine-gpgsm.c (_gpgme_gpgsm_new): Set the display, ttyname, ttytype, lc_ctype and lc_messages options in the server.
* 2002-04-24 Marcus Brinkmann <[email protected]>Marcus Brinkmann2002-04-242-2/+16
| | | | | * engine-gpgsm.c (map_assuan_error): Add new error codes.
* Update assuan and jnlib to 20020424 from newpg.Marcus Brinkmann2002-04-2415-38/+342
|
* * key.c (gpgme_key_get_ulong_attr): Swapped use of can_encrypt andWerner Koch2002-04-232-2/+7
| | | | | can_certify to return the requested values.