2001-09-03 18:41:53 +00:00
|
|
|
|
2001-09-03 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* rungpg.h: Added STATUS_INV_RECP.
|
|
|
|
|
* gpgme.c (_gpgme_release_result): Add support for new
|
|
|
|
|
EncryptResult object.
|
|
|
|
|
* encrypt.c (append_xml_encinfo): New.
|
|
|
|
|
(encrypt_status_handler): Add some status parsing.
|
|
|
|
|
(_gpgme_release_encrypt_result): New.
|
|
|
|
|
|
2001-08-29 10:46:49 +00:00
|
|
|
|
2001-08-29 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
2001-09-03 18:41:53 +00:00
|
|
|
|
* recipient.c (gpgme_recipients_release): Free the list. By Timo.
|
|
|
|
|
|
2001-08-29 10:46:49 +00:00
|
|
|
|
* keylist.c (keylist_colon_handler): Do a finish key if we receive
|
|
|
|
|
an EOF here. This is probably the reason for a lot of bugs
|
|
|
|
|
related to keylisting. It is so obvious. Kudos to Enno Cramer
|
|
|
|
|
for pointing that out.
|
|
|
|
|
|
2001-08-28 11:11:10 +00:00
|
|
|
|
2001-08-28 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* gpgme.c, gpgme.h (gpgme_get_op_info): New.
|
|
|
|
|
(_gpgme_set_op_info): New.
|
|
|
|
|
(_gpgme_release_result): Reset the op_info here.
|
|
|
|
|
* sign.c (append_xml_siginfo): New.
|
|
|
|
|
(sign_status_handler): Store the sig create information.
|
|
|
|
|
|
2001-07-31 15:21:58 +00:00
|
|
|
|
2001-07-31 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* encrypt.c (gpgme_op_encrypt): Hack to detect no valid recipients.
|
|
|
|
|
|
|
|
|
|
2001-07-30 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
2001-08-28 11:11:10 +00:00
|
|
|
|
* gpgme.c (gpgme_get_armor,gpgme_get_textmode): New.
|
2001-07-31 15:21:58 +00:00
|
|
|
|
|
|
|
|
|
* rungpg.c (build_argv): Disable armor comments
|
|
|
|
|
* w32-io.c (build_commandline): Need to add quotes here
|
|
|
|
|
|
|
|
|
|
2001-07-24 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* data.c (gpgme_data_read): Add a a way to return the available bytes.
|
|
|
|
|
|
|
|
|
|
2001-07-23 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* util.c: Removed stpcpy() because we use the version from jnlib.
|
|
|
|
|
|
|
|
|
|
2001-07-19 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* mkstatus: Define the collating sequence for sort.
|
|
|
|
|
|
|
|
|
|
2001-06-26 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* rungpg.h: Add STATUS_UNEXPECTED as suggested by Timo.
|
|
|
|
|
|
2001-06-16 11:08:32 +00:00
|
|
|
|
2001-06-15 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* keylist.c (set_userid_flags): Fixed the assigned values. Kudos
|
|
|
|
|
to Timo for pointing this out.
|
|
|
|
|
|
2001-06-12 07:37:15 +00:00
|
|
|
|
2001-06-01 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* debug.c (_gpgme_debug_begin): Fixed a /tmp race. Noted by
|
|
|
|
|
Johannes Poehlmann.
|
|
|
|
|
|
2001-05-28 17:35:10 +00:00
|
|
|
|
2001-05-28 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* version.c (gpgme_check_engine): Stop version number parsing at
|
|
|
|
|
the opening angle and not the closing one. By Tommy Reynolds.
|
|
|
|
|
|
|
|
|
|
2001-05-01 Jos<6F> Carlos Garc<72>a Sogo <jose@jaimedelamo.eu.org>
|
|
|
|
|
|
|
|
|
|
* encrypt.c (gpgme_op_encrypt_start): Deleted the assert ( !c->gpg )
|
|
|
|
|
line, because it gave an error if another operation had been made
|
|
|
|
|
before using the same context.
|
|
|
|
|
|
|
|
|
|
* decrypt.c (gpgme_op_decrypt_start): The same as above. Also added
|
|
|
|
|
one line to release the gpg object in the context (if any).
|
|
|
|
|
|
|
|
|
|
2001-04-26 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* key.c, key.h (_gpgme_key_cache_init): New.
|
|
|
|
|
(_gpgme_key_cache_add): New.
|
|
|
|
|
(_gpgme_key_cache_get): New.
|
|
|
|
|
* version.c (do_subsystem_inits): Init the cache.
|
|
|
|
|
* keylist.c (finish_key): Put key into the cache
|
|
|
|
|
* verify.c (gpgme_get_sig_key): First look into the cache.
|
|
|
|
|
|
2001-04-19 12:18:40 +00:00
|
|
|
|
2001-04-19 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* keylist.c (parse_timestamp): Adjusted for the changed
|
|
|
|
|
--fixed-list-mode of gpg 1.0.4h.
|
|
|
|
|
|
|
|
|
|
2001-04-05 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* verify.c (gpgme_op_verify_start): Enabled pipemode for detached sigs.
|
|
|
|
|
|
|
|
|
|
2001-04-04 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* w32-io.c (_gpgme_io_select): Don't select on the writer if there
|
|
|
|
|
are still bytes pending. Timo found this not easy to track down
|
|
|
|
|
race condition.
|
|
|
|
|
|
|
|
|
|
2001-04-02 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* gpgme.h: Add GPGME_ATTR_KEY_{EXPIRED,DISABLED}.
|
|
|
|
|
* key.c (gpgme_key_get_ulong_attr): And return those attribs.
|
|
|
|
|
|
|
|
|
|
* verify.c (gpgme_get_sig_key): Set keyliosting mode depending on
|
|
|
|
|
the mode set in the current context. Suggested by Timo.
|
|
|
|
|
|
|
|
|
|
* key.c (gpgme_key_get_ulong_attr): Return can_certify and not
|
|
|
|
|
can_encrypt. By Timo.
|
|
|
|
|
|
2001-04-02 08:40:32 +00:00
|
|
|
|
2001-03-30 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* debug.c (debug_init): Allow to specify a debug file.
|
|
|
|
|
(_gpgme_debug_level): New.
|
|
|
|
|
|
|
|
|
|
* posix-io.c (_gpgme_io_read, _gpgme_io_write): Print output.
|
|
|
|
|
(_gpgme_io_select): Debug only with level > 2.
|
|
|
|
|
|
2001-03-15 13:09:41 +00:00
|
|
|
|
2001-03-15 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* rungpg.c: Included time.h.
|
|
|
|
|
|
|
|
|
|
* key.h: New keyflags for capabilities.
|
|
|
|
|
* keylist.c (set_mainkey_capability, set_subkey_capability): New.
|
|
|
|
|
(keylist_colon_handler): Parse them.
|
|
|
|
|
* gpgme.h: New attribute values for capabilties.
|
|
|
|
|
* key.c (gpgme_key_get_string_attr): Return them.
|
|
|
|
|
(capabilities_to_string): New.
|
|
|
|
|
(gpgme_key_get_ulong_attr): Return the global caps.
|
|
|
|
|
|
|
|
|
|
2001-03-14 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* w32-io.c (destroy_reader,destroy_writer): Fixed syntax error.
|
|
|
|
|
Thanks to Jan Oliver Wagner.
|
|
|
|
|
|
2001-03-13 20:17:22 +00:00
|
|
|
|
2001-03-13 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* context.h: Add invalid and revoke flags to user_id structure.
|
|
|
|
|
* keylist.c (gpgme_op_keylist_start): Use --fixed-list-mode.
|
|
|
|
|
(keylist_colon_handler): Adjust for that.
|
|
|
|
|
(set_userid_flags): New.
|
|
|
|
|
(set_mainkey_trust_info): Handle new key invalid flag
|
|
|
|
|
(set_subkey_trust_info): Ditto.
|
|
|
|
|
* gpgme.h: Add new attributes for key and user ID flags.
|
|
|
|
|
* key.c (_gpgme_key_append_name): Init these flags
|
|
|
|
|
(gpgme_key_get_as_xml): Print them.
|
|
|
|
|
(one_uid_as_xml): New helper for above.
|
|
|
|
|
(gpgme_key_get_string_attr, gpgme_key_get_ulong_attr):
|
|
|
|
|
Return the new attributes. Enhanced, so that subkey information
|
|
|
|
|
can be returned now.
|
|
|
|
|
|
2001-02-28 10:18:38 +00:00
|
|
|
|
2001-02-28 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
2001-04-02 08:40:32 +00:00
|
|
|
|
* w32-io.c (destroy_reader): Set stop_me flag.
|
2001-02-28 10:18:38 +00:00
|
|
|
|
(writer,create_writer,destroy_writer,find_writer,kill_writer): New.
|
|
|
|
|
(_gpgme_io_write): Use a writer thread to avaoid blocking.
|
|
|
|
|
(_gpgme_io_close): Cleanup a writer thread
|
|
|
|
|
(_gpgme_io_select): Repalce tthe faked wait on writing by a real
|
|
|
|
|
waiting which is now possible due to the use of a writer thread.
|
|
|
|
|
|
2001-02-20 13:31:56 +00:00
|
|
|
|
2001-02-20 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* w32-io.c (destroy_reader,kill_reader): New.
|
|
|
|
|
(create_reader, reader): Add a new event to stop the thread.
|
|
|
|
|
(_gpgme_io_close): Kill the reader thread.
|
|
|
|
|
|
|
|
|
|
* posix-io.c (_gpgme_io_select): Handle frozen fds here.
|
|
|
|
|
* 32-io.c (_gpgme_io_select): Ditto. Removed a bunch of unused code.
|
|
|
|
|
|
|
|
|
|
* wait.c: Reworked the whole thing.
|
|
|
|
|
* rungpg.c (_gpgme_gpg_new): Init pid to -1.
|
|
|
|
|
(_gpgme_gpg_release): Remove the process from the wait queue.
|
|
|
|
|
|
2001-02-19 17:22:38 +00:00
|
|
|
|
2001-02-19 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
2001-02-20 13:31:56 +00:00
|
|
|
|
* w32-io.c (_gpgme_io_set_close_notify): New.
|
|
|
|
|
(_gpgme_io_close): Do the notification.
|
|
|
|
|
|
2001-02-19 17:22:38 +00:00
|
|
|
|
* posix-io.c (_gpgme_io_select): Use a 1 sec timeout and not 200
|
|
|
|
|
microseconds.
|
|
|
|
|
|
|
|
|
|
* wait.c (remove_process): Don't close the fd here.
|
|
|
|
|
(do_select): Set the fd to -1 and remove the is_closed flag everywhere.
|
|
|
|
|
(_gpgme_wait_on_condition): Remove the assert on the queue and
|
|
|
|
|
break out if we could not find the queue. The whole thing should
|
|
|
|
|
be reworked.
|
|
|
|
|
|
|
|
|
|
* posix-io.c (_gpgme_io_set_close_notify): New.
|
|
|
|
|
(_gpgme_io_close): Do the notification.
|
|
|
|
|
|
|
|
|
|
* rungpg.c (close_notify_handler): New.
|
|
|
|
|
(_gpgme_gpg_new): Register a callback for the fd.
|
|
|
|
|
(_gpgme_gpg_set_colon_line_handler): Ditto.
|
|
|
|
|
(build_argv): Ditto
|
|
|
|
|
|
2001-02-13 12:46:19 +00:00
|
|
|
|
2001-02-13 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
2001-02-14 19:42:49 +00:00
|
|
|
|
* rungpg.c (struct reap_s): Replaced pid_t by int.
|
|
|
|
|
|
|
|
|
|
* types.h: Add ulong typedef.
|
|
|
|
|
|
2001-02-13 15:00:31 +00:00
|
|
|
|
* rungpg.c (do_reaping,_gpgme_gpg_housecleaning): New.
|
|
|
|
|
(_gpgme_gpg_release): Reap children.
|
|
|
|
|
* io.h, posix-io.c (_gpgme_io_kill): New.
|
|
|
|
|
* w32-io.c (_gpgme_io_kill): New (dummy).
|
|
|
|
|
|
|
|
|
|
* keylist.c (gpgme_op_keylist_start): Cancel a pending request.
|
|
|
|
|
|
2001-02-13 12:46:19 +00:00
|
|
|
|
* posix-io.c (_gpgme_io_read): Add some debug output.
|
|
|
|
|
(_gpgme_io_write): Ditto.
|
|
|
|
|
(_gpgme_io_select): Increased the timeout.
|
|
|
|
|
|
2001-02-12 15:23:29 +00:00
|
|
|
|
2001-02-12 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
Enhanced the signature verification, so that it can how handle
|
|
|
|
|
more than one signature and is able to return more information on
|
|
|
|
|
the signatures.
|
|
|
|
|
* verify.c (gpgme_get_sig_key): New.
|
|
|
|
|
(gpgme_get_sig_status): New.
|
|
|
|
|
|
|
|
|
|
* gpgme.h: Add stdio.h.
|
|
|
|
|
(GpgmeSigStat): New status DIFF.
|
|
|
|
|
|
2001-02-01 09:25:56 +00:00
|
|
|
|
2001-02-01 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* w32-io.c (set_synchronize): Add EVENT_MODIFY_STATE. Add Debug
|
|
|
|
|
code to all Set/ResetEvent().
|
|
|
|
|
|
|
|
|
|
* rungpg.c (read_status): Check for end of stream only if we have
|
|
|
|
|
an r. By Timo.
|
|
|
|
|
|
2001-01-31 12:39:53 +00:00
|
|
|
|
2001-01-31 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
2001-02-01 09:25:56 +00:00
|
|
|
|
* wait.c (_gpgme_wait_on_condition): Removed all exit code processing.
|
2001-01-31 12:39:53 +00:00
|
|
|
|
(propagate_term_results,clear_active_fds): Removed.
|
|
|
|
|
(count_active_fds): Renamed to ..
|
|
|
|
|
(count_active_and_thawed_fds): .. this and count only thawed fds.
|
|
|
|
|
|
|
|
|
|
* rungpg.c (gpg_colon_line_handler): Return colon.eof and not
|
|
|
|
|
status.eof ;-)
|
|
|
|
|
|
2001-01-30 11:01:41 +00:00
|
|
|
|
2001-01-30 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
2001-01-30 17:36:03 +00:00
|
|
|
|
* w32-io.c (_gpgme_io_spawn): Use the supplied path arg.
|
|
|
|
|
|
|
|
|
|
* version.c (get_engine_info): Return better error information.
|
|
|
|
|
|
2001-01-30 16:00:50 +00:00
|
|
|
|
* posix-util.c, w32-util.c: New.
|
|
|
|
|
(_gpgme_get_gpg_path): New, suggested by Jan-Oliver.
|
|
|
|
|
* rungpg.c (_gpgme_gpg_spawn): Use new function to get GPG's path.
|
|
|
|
|
|
2001-01-30 14:18:16 +00:00
|
|
|
|
* signers.c (gpgme_signers_add): Ooops, one should test code and
|
|
|
|
|
not just write it; the newarr was not assigned. Thanks to Jos<6F>
|
|
|
|
|
for pointing this out. Hmmm, still not tested, why shoudl a coder
|
|
|
|
|
test his fix :-)
|
|
|
|
|
|
2001-01-30 11:01:41 +00:00
|
|
|
|
* w32-io.c: Does now use reader threads, so that we can use
|
|
|
|
|
WaitForMultipleObjects.
|
|
|
|
|
* sema.h, posix-sema.c, w32-sema.c: Support for Critcial sections.
|
|
|
|
|
Does currently only work for W32.
|
|
|
|
|
|
|
|
|
|
* debug.c, util.h : New. Changed all fprintfs to use this new
|
|
|
|
|
set of debugging functions.
|
|
|
|
|
|
|
|
|
|
2001-01-23 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* data.c (_gpgme_data_release_and_return_string): Fixed string
|
|
|
|
|
termination.
|
|
|
|
|
|
2001-01-22 20:22:41 +00:00
|
|
|
|
2001-01-22 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* delete.c: New.
|
|
|
|
|
|
|
|
|
|
* signers.c: New.
|
|
|
|
|
* key.c (gpgme_key_ref, gpgme_key_unref): New.
|
|
|
|
|
* sign.c (gpgme_op_sign_start): Allow the use of other keys.
|
|
|
|
|
|
|
|
|
|
* version.c (gpgme_get_engine_info,gpgme_check_engine): New.
|
|
|
|
|
* rungpg.c (_gpgme_gpg_set_simple_line_handler): New.
|
|
|
|
|
|
2001-01-08 20:40:25 +00:00
|
|
|
|
2001-01-05 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
* data.c (gpgme_data_rewind): Allow to rewind data_type_none.
|
2001-04-02 08:40:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Copyright 2001 g10 Code GmbH
|
|
|
|
|
|
|
|
|
|
This file is free software; as a special exception the author gives
|
|
|
|
|
unlimited permission to copy and/or distribute it, with or without
|
|
|
|
|
modifications, as long as this notice is preserved.
|
|
|
|
|
|
|
|
|
|
This file is distributed in the hope that it will be useful, but
|
|
|
|
|
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
|
|
|
|
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
2001-05-28 17:35:10 +00:00
|
|
|
|
|