1
2002-08-16 Werner Koch <wk@gnupg.org>
3
* assuan.h: Renamed Bad_Certificate_Path to Bad_Certificate_Chain.
5
2002-07-30 Werner Koch <wk@gnupg.org>
7
Changed the license from GPL to LGPL.
9
2002-07-23 Werner Koch <wk@gnupg.org>
11
* assuan-handler.c (_IO_cookie_io_functions_t): Define it here if
14
2002-06-27 Werner Koch <wk@gnupg.org>
16
* assuan-pipe-connect.c (assuan_pipe_connect): No special handling
17
for the log_fd and stderr. Connect stderr to /dev/null if it
18
should not be retained.
20
2002-06-26 Werner Koch <wk@gnupg.org>
22
* assuan-buffer.c (assuan_write_line): Make sure we never
23
accidently print an extra LF.
25
2002-05-23 Werner Koch <wk@gnupg.org>
27
* assuan-util.c (assuan_set_io_func): New.
28
* assuan-buffer.c (writen, readline): Use the new functions
30
* assuan-socket-server.c (accept_connection): Don't use the
31
pth_accept - using the assuan included accept code would be a bad
32
idea within Pth so we don't need a replacement function.
34
2002-05-22 Werner Koch <wk@gnupg.org>
36
* assuan-socket-server.c (assuan_init_connected_socket_server): New.
37
(accept_connection): Factored most code out to..
38
(accept_connection_bottom): .. new function.
40
2002-04-04 Werner Koch <wk@gnupg.org>
42
* assuan-buffer.c (my_log_prefix): New. Use it for all i/o debug
45
2002-03-06 Werner Koch <wk@gnupg.org>
47
* assuan-client.c (_assuan_read_from_server): Detect END.
48
(assuan_transact): Pass it to the data callback.
50
2002-02-27 Werner Koch <wk@gnupg.org>
52
* assuan-client.c (assuan_transact): Add 2 more arguments to
53
support status lines. Passing NULL yields the old behaviour.
55
* assuan-handler.c (process_request): Flush data lines send
56
without using the data fp.
58
2002-02-14 Werner Koch <wk@gnupg.org>
60
* assuan-inquire.c (assuan_inquire): Check for a cancel command
61
and return ASSUAN_Canceled. Allow for non-data inquiry.
63
* assuan.h: Add a few token specific error codes.
65
2002-02-13 Werner Koch <wk@gnupg.org>
67
* assuan-defs.h (assuan_context_s): New var CLIENT_PID.
68
* assuan-pipe-server.c (_assuan_new_context): set default value.
69
* assuan-socket-server.c (accept_connection): get the actual pid.
71
2002-02-12 Werner Koch <wk@gnupg.org>
73
* assuan-buffer.c (writen,readline) [USE_GNU_PT]: Use pth_read/write.
74
* assuan-socket-server.c (accept_connection) [USE_GNU_PTH]: Ditto.
76
2002-02-01 Marcus Brinkmann <marcus@g10code.de>
78
* Makefile.am (MOSTLYCLEANFILES): New variable.
80
2002-01-23 Werner Koch <wk@gnupg.org>
82
* assuan-socket-connect.c (LOGERRORX): and removed typo.
84
2002-01-22 Marcus Brinkmann <marcus@g10code.de>
86
* assuan-socket-connect.c (LOGERRORX): Reverse arguments to fputs.
88
2002-01-21 Werner Koch <wk@gnupg.org>
90
* assuan-connect.c: Move all except assuan_get_pid to...
91
* assuan-pipe-connect.c: this.
92
(assuan_pipe_disconnect): Removed.
93
(do_finish, do_deinit): New
94
(assuan_pipe_connect): and set them into the context.
95
* assuan-socket-connect.c: New.
97
* assuan-util.c (_assuan_log_sanitized_string): New.
99
* assuan-pipe-server.c (assuan_init_pipe_server): Factored most
101
(_assuan_new_context): new func.
102
(_assuan_release_context): New
103
* assuan-connect.c (assuan_pipe_connect): Use the new functions.
105
2002-01-20 Werner Koch <wk@gnupg.org>
107
* assuan.h: Added Invalid Option error code.
109
* assuan-handler.c (std_handler_option): New.
110
(std_cmd_tbl): Add OPTION as standard command.
111
(assuan_register_option_handler): New.
112
(dispatch_command): Use case insensitive matching as a fallback.
113
(my_strcasecmp): New.
115
2002-01-19 Werner Koch <wk@gnupg.org>
117
* assuan-buffer.c (_assuan_read_line): Add output logging.
118
(assuan_write_line): Ditto.
119
(_assuan_cookie_write_data): Ditto.
120
(_assuan_cookie_write_flush): Ditto.
121
* assuan-util.c (_assuan_log_print_buffer): New.
122
(assuan_set_log_stream): New.
123
(assuan_begin_confidential): New.
124
(assuan_end_confidential): New.
126
* assuan-defs.h: Add a few handler variables.
127
* assuan-pipe-server.c (assuan_deinit_pipe_server): Removed.
128
(deinit_pipe_server): New.
129
(assuan_deinit_server): New. Changed all callers to use this.
130
* assuan-listen.c (assuan_accept): Use the accept handler.
131
* assuan-handler.c (process_request): Use the close Handler.
132
* assuan-socket-server.c: New.
134
2002-01-14 Werner Koch <wk@gnupg.org>
136
* assuan-client.c (_assuan_read_from_server): Skip spaces after
139
2002-01-03 Werner Koch <wk@gnupg.org>
141
* assuan-handler.c (assuan_set_okay_line): New.
142
(process_request): And use it here.
144
2002-01-02 Werner Koch <wk@gnupg.org>
146
* assuan-inquire.c (init_membuf,put_membuf,get_membuf): Apply a
147
hidden 0 behind the buffer so that the buffer can be used as a
148
string in certain contexts.
150
2001-12-14 Marcus Brinkmann <marcus@g10code.de>
152
* assuan-connect.c (assuan_pipe_connect): New argument
153
FD_CHILD_LIST. Don't close those fds.
154
* assuan.h: Likewise for prototype.
156
2001-12-14 Werner Koch <wk@gnupg.org>
158
* assuan-listen.c (assuan_close_input_fd): New.
159
(assuan_close_output_fd): New.
160
* assuan-handler.c (std_handler_reset): Always close them after a
162
(std_handler_bye): Likewise.
164
2001-12-14 Marcus Brinkmann <marcus@g10code.de>
166
* assuan-buffer.c (_assuan_read_line): New variable ATTICLEN, use
167
it to save the length of the attic line.
168
Rediddle the code a bit to make it more clear what happens.
170
2001-12-14 Marcus Brinkmann <marcus@g10code.de>
172
* assuan-defs.h (LINELENGTH): Define as ASSUAN_LINELENGTH.
173
assuan.h: Define ASSUAN_LINELENGTH.
175
2001-12-13 Marcus Brinkmann <marcus@g10code.de>
177
* assuan-buffer.c (assuan_read_line): Fix order of execution to
178
get correct return values.
180
2001-12-13 Werner Koch <wk@gnupg.org>
182
* assuan-handler.c (assuan_get_active_fds): Fixed silly bug,
183
pretty obvious that nobody ever tested this function.
185
2001-12-12 Werner Koch <wk@gnupg.org>
187
* assuan-connect.c (assuan_pipe_connect): Implemented the inital
189
* assuan-client.c (read_from_server): Renamed to
190
(_assuan_read_from_server): this and made external.
192
* assuan-listen.c (assuan_set_hello_line): New.
193
(assuan_accept): Use a custom hello line is available.
195
* assuan-buffer.c (assuan_read_line): New.
196
(assuan_pending_line): New.
197
(_assuan_write_line): Renamed to ..
198
(assuan_write_line): this, made public and changed all callers.
200
2001-12-04 Werner Koch <wk@gnupg.org>
202
* assuan-connect.c (assuan_pipe_connect): Add more error reporting.
203
* assuan-client.c: New.
205
* assuan-inquire.c: New.
206
* assuan-handler.c (process_request): Check for nested invocations.
208
2001-11-27 Werner Koch <wk@gnupg.org>
210
* assuan-handler.c (assuan_register_input_notify): New.
211
(assuan_register_output_notify): New.
213
2001-11-26 Werner Koch <wk@gnupg.org>
215
* assuan.h: Added more status codes.
217
2001-11-25 Werner Koch <wk@gnupg.org>
219
* assuan-handler.c (assuan_register_bye_notify)
220
(assuan_register_reset_notify)
221
(assuan_register_cancel_notify): New and call them from the
223
(assuan_process): Moved bulk of function to ..
224
(process_request): .. new.
225
(assuan_process_next): One shot version of above.
226
(assuan_get_active_fds): New.
228
2001-11-24 Werner Koch <wk@gnupg.org>
230
* assuan-connect.c (assuan_get_pid): New.
232
* assuan-buffer.c (_assuan_read_line): Deal with reads of more
234
* assuan-defs.h: Add space in the context for this.
237
***********************************************************
238
* Please note that Assuan is maintained as part of GnuPG. *
239
* You may find it source-copied in other packages. *
240
***********************************************************
242
Copyright 2001, 2002 Free Software Foundation, Inc.
244
This file is free software; as a special exception the author gives
245
unlimited permission to copy and/or distribute it, with or without
246
modifications, as long as this notice is preserved.
248
This file is distributed in the hope that it will be useful, but
249
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
250
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.