summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create branchsvn-import/pre-new-assuan-branchRepo Admin2002-11-100-0/+0
| | | | 'pre-new-assuan-branch'.
* Be more generous in typing equal signs and better watch out forNEWPG-0-9-4NEWPG-0-9-3Werner Koch2002-11-101-1/+1
| | | | | compiler suggestions. Ah well, actually test before commiting.
* * assuan-pipe-connect.c (assuan_pipe_connect): Changed the orderWerner Koch2002-11-102-35/+40
| | | | | | of the dups to handle cases where we have already used fd 2 for other things.
* 2002-10-31 Neal H. Walfield <neal@g10code.de>Neal Walfield2002-10-312-28/+74
| | | | | | | | | * assuan-util.c: Include <ctype.h>. (_assuan_log_print_buffer): Elide the magic numbers preferring the standard isfoo functions. Use putc_unlocked where possible. (_assuan_log_sanitized_string): Rewrite to use putc_unlocked and the isfoo functions.
* 2002-09-05 Neal H. Walfield <neal@g10code.de>Neal Walfield2002-10-298-43/+97
| | | | | | | | | | | | | | | | | | | | | | | | | * assuan-defs.h (_assuan_read_wrapper): Depreciated. * assuan-util.c (_assuan_read_wrapper): Removed. * assuan-defs.h (_assuan_write_wrapper): Depreciated. * assuan-util.c (_assuan_write_wrapper): Removed. * assuan.h (assuan_set_io_fun): Depreciated. * assuan-util.c (assuan_set_io_fun): Removed. * assuan-defs.h (_assuan_read): New function. (_assuan_write): Likewise. * assuan-io.c: New file. * assuan-buffer.c (writen): Use _assuan_write rather than doing the work here. (readline): Likewise for _assuan_read. * Makefile.am (libassuan_a_SOURCES): Add assuan-io.c. 2002-09-05 Neal H. Walfield <neal@cs.uml.edu> * gpg-agent.c (main) [USE_GNU_PTH]: No need to call assuan_set_io_func as assuan is smart.
* * assuan.h: Renamed Bad_Certificate_Path to Bad_Certificate_Chain.V0-9-2V0-9-1V0-9-0NEWPG-0-9-2NEWPG-0-9-1NEWPG-0-9-0MERGE-TO-GNUPG-STARTWerner Koch2002-08-162-1/+5
|
* Changed the lincese for Assuan to LGPL.V0-3-10NEWPG-0-3-10Werner Koch2002-07-3016-195/+224
|
* * gpgsm.c (main): Use GNUPG_DEFAULT_HOMEDIR constant.V0-3-9NEWPG-0-3-9Werner Koch2002-06-272-12/+37
| | | | | | | | | | | | | * call-agent.c (start_agent): Create and pass the list of FD to keep in the child to assuan. * call-dirmngr.c (start_dirmngr): Ditto. * scdaemon.c (main): Use GNUPG_DEFAULT_HOMEDIR constant. * assuan-pipe-connect.c (assuan_pipe_connect): No special handling for the log_fd and stderr. Connect stderr to /dev/null if it should not be retained.
* * assuan-buffer.c (assuan_write_line): Make sure we neverWerner Koch2002-06-262-5/+18
| | | | | accidently print an extra LF.
* * assuan-util.c (assuan_set_io_func): New.V0-3-8V0-3-7NEWPG-0-3-8NEWPG-0-3-7Werner Koch2002-05-237-35/+97
| | | | | | | | | * assuan-buffer.c (writen, readline): Use the new functions instead of pth. * assuan-socket-server.c (accept_connection): Don't use the pth_accept - using the assuan included accept code would be a bad idea within Pth so we don't need a replacement function.
* * assuan-buffer.c (my_log_prefix): New. Use it for all i/o debug output.V0-3-6V0-3-5NEWPG-0-3-6NEWPG-0-3-5Werner Koch2002-04-092-8/+28
|
* * assuan-client.c (_assuan_read_from_server): Detect END.V0-3-4V0-3-3V0-3-2NEWPG-0-3-4NEWPG-0-3-3NEWPG-0-3-2Werner Koch2002-03-062-0/+24
| | | | | (assuan_transact): Pass it to the data callback.
* Minor fixes; about to release 0.3.1V0-3-1NEWPG-0-3-1Werner Koch2002-03-041-0/+3
|
* * assuan-client.c (assuan_transact): Add 2 more arguments toWerner Koch2002-02-284-4/+42
| | | | | | | support status lines. Passing NULL yields the old behaviour. * assuan-handler.c (process_request): Flush data lines send without using the data fp.
* A bunch of new features. Allow empty responses on an inquiry.Werner Koch2002-02-186-18/+62
|
* * assuan-buffer.c (writen,readline) [USE_GNU_PT]: Use pth_read/write.Werner Koch2002-02-123-1/+23
| | | | | * assuan-socket-server.c (accept_connection) [USE_GNU_PTH]: Ditto.
* 2002-02-01 Marcus Brinkmann <marcus@g10code.de>V0-3-0NEWPG-0-3-0Marcus Brinkmann2002-02-012-0/+5
| | | | | * Makefile.am (MOSTLYCLEANFILES): New variable.
* * assuan-socket-connect.c (LOGERRORX): and removed typo.Werner Koch2002-01-232-1/+5
|
* 2002-01-22 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2002-01-222-1/+5
| | | | | * assuan-socket-connect.c (LOGERRORX): Reverse arguments to fputs.
* * assuan-connect.c: Move all except assuan_get_pid to...Werner Koch2002-01-219-222/+546
| | | | | | | | | | | | | | | | | * assuan-pipe-connect.c: this. (assuan_pipe_disconnect): Removed. (do_finish, do_deinit): New (assuan_pipe_connect): and set them into the context. * assuan-socket-connect.c: New. * assuan-util.c (_assuan_log_sanitized_string): New. * assuan-pipe-server.c (assuan_init_pipe_server): Factored most code out to ... (_assuan_new_context): new func. (_assuan_release_context): New * assuan-connect.c (assuan_pipe_connect): Use the new functions.
* * assuan.h: Added Invalid Option error code.Werner Koch2002-01-204-2/+105
| | | | | | | | | * assuan-handler.c (std_handler_option): New. (std_cmd_tbl): Add OPTION as standard command. (assuan_register_option_handler): New. (dispatch_command): Use case insensitive matching as a fallback. (my_strcasecmp): New.
* * assuan-buffer.c (_assuan_read_line): Add output logging.Werner Koch2002-01-1911-19/+311
| | | | | | | | | | | | | | | | | | | (assuan_write_line): Ditto. (_assuan_cookie_write_data): Ditto. (_assuan_cookie_write_flush): Ditto. * assuan-util.c (_assuan_log_print_buffer): New. (assuan_set_log_stream): New. (assuan_begin_confidential): New. (assuan_end_confidential): New. * assuan-defs.h: Add a few handler variables. * assuan-pipe-server.c (assuan_deinit_pipe_server): Removed. (deinit_pipe_server): New. (assuan_deinit_server): New. Changed all callers to use this. * assuan-listen.c (assuan_accept): Use the accept handler. * assuan-handler.c (process_request): Use the close Handler. * assuan-socket-server.c: New.
* * maperror.c: Add mapping for Not_Trusted.Werner Koch2002-01-151-0/+1
|
* * assuan-client.c (_assuan_read_from_server): Skip spaces afterWerner Koch2002-01-142-0/+11
| | | | | the keyword.
* new error codesWerner Koch2002-01-111-0/+2
|
* * assuan-handler.c (assuan_set_okay_line): New.Werner Koch2002-01-106-5/+56
| | | | | (process_request): And use it here.
* The last log had an incorrect changelog entry, and was missing a fix.Marcus Brinkmann2001-12-192-6/+4
| | | | | | | | | 2001-12-14 Marcus Brinkmann <marcus@g10code.de> * assuan-connect.c (assuan_pipe_connect): New argument FD_CHILD_LIST. Don't close those fds. * assuan.h: Likewise for prototype.
* assuan/Marcus Brinkmann2001-12-192-3/+20
| | | | | | | | | | | | | | | | | | | 2001-12-14 Marcus Brinkmann <marcus@g10code.de> * assuan-buffer.c (_assuan_read_line): New variable ATTICLEN, use it to save the length of the attic line. Rediddle the code a bit to make it more clear what happens. agent/ 2001-12-19 Marcus Brinkmann <marcus@g10code.de> * query.c (start_pinentry): Add new argument to assuan_pipe_connect. sm/ 2001-12-19 Marcus Brinkmann <marcus@g10code.de> * call-agent.c (start_agent): Add new argument to assuan_pipe_connect.
* * assuan-listen.c (assuan_close_input_fd): New.V0-0-0NEWPG-0-0-0Werner Koch2001-12-144-0/+40
| | | | | | | | (assuan_close_output_fd): New. * assuan-handler.c (std_handler_reset): Always close them after a reset command. (std_handler_bye): Likewise.
* * util.h (digitp, hexdigitp): New ctype like macros.Werner Koch2001-12-141-1/+2
| | | | | | | | (atoi_1,atoi_2,atoi_4,xtoi_1,xtoi_2): New. * command.c: Removed the conversion macros as they are now in ../common/util.h.
* Change history, doubleplusgood.Marcus Brinkmann2001-12-141-1/+1
|
* 2001-12-14 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2001-12-142-12/+22
| | | | | | | * assuan-buffer.c (_assuan_read_line): New variable ATTICLEN, use it to save the number of bytes left over after the complete line. Rediddle the code a bit to make it more clear what happens.
* assuan/Marcus Brinkmann2001-12-133-2/+8
| | | | | | | | | | | | | | | | | | | | | 2001-12-14 Marcus Brinkmann <marcus@g10code.de> * assuan-defs.h (LINELENGTH): Define as ASSUAN_LINELENGTH. assuan.h: Define ASSUAN_LINELENGTH. agent/ 2001-12-14 Marcus Brinkmann <marcus@g10code.de> * query.c (LINELENGTH): Removed. (agent_askpin): Use ASSUAN_LINELENGTH, not LINELENGTH. sm/ 2001-12-14 Marcus Brinkmann <marcus@g10code.de> * call-agent.c (LINELENGTH): Removed. (gpgsm_agent_pksign): Use ASSUAN_LINELENGTH, not LINELENGTH. (gpgsm_agent_pkdecrypt): Likewise.
* 2001-12-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-12-133-2/+16
| | | | | | | | | | | * assuan-buffer.c (assuan_read_line): Fix order of execution to get correct return values. 2001-12-13 Werner Koch <wk@gnupg.org> * assuan-handler.c (assuan_get_active_fds): Fixed silly bug, pretty obvious that nobody ever tested this function.
* Fixed INPUT/OUTPUT commandWerner Koch2001-12-131-3/+4
|
* * assuan-connect.c (assuan_pipe_connect): Implemented the initalWerner Koch2001-12-1210-44/+135
| | | | | | | | | | | | | | | handshake. * assuan-client.c (read_from_server): Renamed to (_assuan_read_from_server): this and made external. * assuan-listen.c (assuan_set_hello_line): New. (assuan_accept): Use a custom hello line is available. * assuan-buffer.c (assuan_read_line): New. (assuan_pending_line): New. (_assuan_write_line): Renamed to .. (assuan_write_line): this, made public and changed all callers.
* new error codesWerner Koch2001-12-111-0/+1
|
* assuan-connect.c (assuan_pipe_connect): Add more error reporting.Werner Koch2001-12-0510-16/+605
| | | | | | | assuan-client.c: New. assuan-inquire.c: New. assuan-handler.c (process_request): Check for nested invocations.
* * assuan-handler.c (assuan_register_input_notify): New.Werner Koch2001-11-274-1/+36
| | | | | (assuan_register_output_notify): New.
* More error codesWerner Koch2001-11-261-1/+1
|
* * assuan.h: Added more status codes.Werner Koch2001-11-262-0/+17
|
* (assuan_process): Moved bulk of function to ..Werner Koch2001-11-253-49/+121
| | | | | | | | (process_request): .. new. (assuan_process_next): One shot version of above. (assuan_get_active_fds): New. NOTE - this has not been tested yet.
* * assuan-handler.c (assuan_register_bye_notify)Werner Koch2001-11-254-2/+55
| | | | | | | (assuan_register_reset_notify) (assuan_register_cancel_notify): New and call them from the standard handlers.
* Add a copyright note to the bottomWerner Koch2001-11-241-0/+14
|
* * assuan-connect.c (assuan_get_pid): New - actually done by Marcus in gpgme.Werner Koch2001-11-244-1/+13
| | | | | Set the line length back to the old value.
* * assuan-buffer.c (_assuan_read_line): Deal with reads of moreWerner Koch2001-11-243-8/+41
| | | | | | than a line. * assuan-defs.h: Add space in the context for this.
* Signing does now work. There is no secret key management yet, so youWerner Koch2001-11-241-0/+1
| | | | | | should set GPGSM_FAKE_KEY=1 before you try to verify a signature created by gpgsm --sign or the SIGN server command.
* * assuan.h: Prototype assuan_pipe_connect and assuan_pipe_disconnect.Marcus Brinkmann2001-11-201-0/+5
|
* * assuan-connect.c (assuan_pipe_connect): Require NAME to be set.Marcus Brinkmann2001-11-191-6/+2
| | | | | Using ARGV[0] automatically is bad mojo.
* Added code for data lines. For ease of implementation we need glibcWerner Koch2001-11-194-16/+155
| | | | | (custom streams).