| 1 |
2008-02-14 Werner Koch <[email protected]> |
| 2 |
|
| 3 |
* assuan.h (ASSUAN_Parameter_Error): Add new alias. |
| 4 |
|
| 5 |
2008-01-10 Marcus Brinkmann <[email protected]> |
| 6 |
|
| 7 |
* assuan-handler.c (dispatch_command): Use Syntax_Error instead of |
| 8 |
Invalid_Command. |
| 9 |
* assuan.h (assuan_error_t): Change all error codes to gpg-error |
| 10 |
codes. |
| 11 |
|
| 12 |
2004-12-22 Werner Koch <[email protected]> |
| 13 |
|
| 14 |
* assuan.h (assuan_error_t, assuan_context_t): New aliases. |
| 15 |
* assuan-buffer.c (readline): Renamed EOF to ISEOF to avoid |
| 16 |
compiler warnings. |
| 17 |
|
| 18 |
2004-04-20 Werner Koch <[email protected]> |
| 19 |
|
| 20 |
* mkerrors: Add missing last LF. |
| 21 |
|
| 22 |
2004-01-30 Werner Koch <[email protected]> |
| 23 |
|
| 24 |
* assuan-inquire.c, assuan-connect.c, assuan-client.c |
| 25 |
* assuan-socket-server.c, assuan-pipe-connect.c |
| 26 |
* assuan-socket-connect.c: Removed. |
| 27 |
* assuan-handler.c (assuan_get_data_fp): Removed. |
| 28 |
|
| 29 |
2003-12-23 Werner Koch <[email protected]> |
| 30 |
|
| 31 |
* Makefile.am (EXTRA_DIST): Added Manifest. |
| 32 |
* Manifest: Added. |
| 33 |
|
| 34 |
2003-12-22 Werner Koch <[email protected]> |
| 35 |
|
| 36 |
* assuan.h (ASSUAN_Locale_Problem): Added. |
| 37 |
|
| 38 |
2002-04-04 Werner Koch <[email protected]> |
| 39 |
|
| 40 |
* assuan-buffer.c (my_log_prefix): New. Use it for all i/o debug |
| 41 |
output. |
| 42 |
|
| 43 |
2002-03-06 Werner Koch <[email protected]> |
| 44 |
|
| 45 |
* assuan-client.c (_assuan_read_from_server): Detect END. |
| 46 |
(assuan_transact): Pass it to the data callback. |
| 47 |
|
| 48 |
2002-02-27 Werner Koch <[email protected]> |
| 49 |
|
| 50 |
* assuan-client.c (assuan_transact): Add 2 more arguments to |
| 51 |
support status lines. Passing NULL yields the old behaviour. |
| 52 |
|
| 53 |
* assuan-handler.c (process_request): Flush data lines send |
| 54 |
without using the data fp. |
| 55 |
|
| 56 |
2002-02-14 Werner Koch <[email protected]> |
| 57 |
|
| 58 |
* assuan-inquire.c (assuan_inquire): Check for a cancel command |
| 59 |
and return ASSUAN_Canceled. Allow for non-data inquiry. |
| 60 |
|
| 61 |
* assuan.h: Add a few token specific error codes. |
| 62 |
|
| 63 |
2002-02-13 Werner Koch <[email protected]> |
| 64 |
|
| 65 |
* assuan-defs.h (assuan_context_s): New var CLIENT_PID. |
| 66 |
* assuan-pipe-server.c (_assuan_new_context): set default value. |
| 67 |
* assuan-socket-server.c (accept_connection): get the actual pid. |
| 68 |
|
| 69 |
2002-02-12 Werner Koch <[email protected]> |
| 70 |
|
| 71 |
* assuan-buffer.c (writen,readline) [USE_GNU_PT]: Use pth_read/write. |
| 72 |
* assuan-socket-server.c (accept_connection) [USE_GNU_PTH]: Ditto. |
| 73 |
|
| 74 |
2002-02-01 Marcus Brinkmann <[email protected]> |
| 75 |
|
| 76 |
* Makefile.am (MOSTLYCLEANFILES): New variable. |
| 77 |
|
| 78 |
2002-01-23 Werner Koch <[email protected]> |
| 79 |
|
| 80 |
* assuan-socket-connect.c (LOGERRORX): and removed typo. |
| 81 |
|
| 82 |
2002-01-22 Marcus Brinkmann <[email protected]> |
| 83 |
|
| 84 |
* assuan-socket-connect.c (LOGERRORX): Reverse arguments to fputs. |
| 85 |
|
| 86 |
2002-01-21 Werner Koch <[email protected]> |
| 87 |
|
| 88 |
* assuan-connect.c: Move all except assuan_get_pid to... |
| 89 |
* assuan-pipe-connect.c: this. |
| 90 |
(assuan_pipe_disconnect): Removed. |
| 91 |
(do_finish, do_deinit): New |
| 92 |
(assuan_pipe_connect): and set them into the context. |
| 93 |
* assuan-socket-connect.c: New. |
| 94 |
|
| 95 |
* assuan-util.c (_assuan_log_sanitized_string): New. |
| 96 |
|
| 97 |
* assuan-pipe-server.c (assuan_init_pipe_server): Factored most |
| 98 |
code out to ... |
| 99 |
(_assuan_new_context): new func. |
| 100 |
(_assuan_release_context): New |
| 101 |
* assuan-connect.c (assuan_pipe_connect): Use the new functions. |
| 102 |
|
| 103 |
2002-01-20 Werner Koch <[email protected]> |
| 104 |
|
| 105 |
* assuan.h: Added Invalid Option error code. |
| 106 |
|
| 107 |
* assuan-handler.c (std_handler_option): New. |
| 108 |
(std_cmd_tbl): Add OPTION as standard command. |
| 109 |
(assuan_register_option_handler): New. |
| 110 |
(dispatch_command): Use case insensitive matching as a fallback. |
| 111 |
(my_strcasecmp): New. |
| 112 |
|
| 113 |
2002-01-19 Werner Koch <[email protected]> |
| 114 |
|
| 115 |
* assuan-buffer.c (_assuan_read_line): Add output logging. |
| 116 |
(assuan_write_line): Ditto. |
| 117 |
(_assuan_cookie_write_data): Ditto. |
| 118 |
(_assuan_cookie_write_flush): Ditto. |
| 119 |
* assuan-util.c (_assuan_log_print_buffer): New. |
| 120 |
(assuan_set_log_stream): New. |
| 121 |
(assuan_begin_confidential): New. |
| 122 |
(assuan_end_confidential): New. |
| 123 |
|
| 124 |
* assuan-defs.h: Add a few handler variables. |
| 125 |
* assuan-pipe-server.c (assuan_deinit_pipe_server): Removed. |
| 126 |
(deinit_pipe_server): New. |
| 127 |
(assuan_deinit_server): New. Changed all callers to use this. |
| 128 |
* assuan-listen.c (assuan_accept): Use the accept handler. |
| 129 |
* assuan-handler.c (process_request): Use the close Handler. |
| 130 |
* assuan-socket-server.c: New. |
| 131 |
|
| 132 |
2002-01-14 Werner Koch <[email protected]> |
| 133 |
|
| 134 |
* assuan-client.c (_assuan_read_from_server): Skip spaces after |
| 135 |
the keyword. |
| 136 |
|
| 137 |
2002-01-03 Werner Koch <[email protected]> |
| 138 |
|
| 139 |
* assuan-handler.c (assuan_set_okay_line): New. |
| 140 |
(process_request): And use it here. |
| 141 |
|
| 142 |
2002-01-02 Werner Koch <[email protected]> |
| 143 |
|
| 144 |
* assuan-inquire.c (init_membuf,put_membuf,get_membuf): Apply a |
| 145 |
hidden 0 behind the buffer so that the buffer can be used as a |
| 146 |
string in certain contexts. |
| 147 |
|
| 148 |
2001-12-14 Marcus Brinkmann <[email protected]> |
| 149 |
|
| 150 |
* assuan-connect.c (assuan_pipe_connect): New argument |
| 151 |
FD_CHILD_LIST. Don't close those fds. |
| 152 |
* assuan.h: Likewise for prototype. |
| 153 |
|
| 154 |
2001-12-14 Werner Koch <[email protected]> |
| 155 |
|
| 156 |
* assuan-listen.c (assuan_close_input_fd): New. |
| 157 |
(assuan_close_output_fd): New. |
| 158 |
* assuan-handler.c (std_handler_reset): Always close them after a |
| 159 |
reset command. |
| 160 |
(std_handler_bye): Likewise. |
| 161 |
|
| 162 |
2001-12-14 Marcus Brinkmann <[email protected]> |
| 163 |
|
| 164 |
* assuan-buffer.c (_assuan_read_line): New variable ATTICLEN, use |
| 165 |
it to save the length of the attic line. |
| 166 |
Rediddle the code a bit to make it more clear what happens. |
| 167 |
|
| 168 |
2001-12-14 Marcus Brinkmann <[email protected]> |
| 169 |
|
| 170 |
* assuan-defs.h (LINELENGTH): Define as ASSUAN_LINELENGTH. |
| 171 |
assuan.h: Define ASSUAN_LINELENGTH. |
| 172 |
|
| 173 |
2001-12-13 Marcus Brinkmann <[email protected]> |
| 174 |
|
| 175 |
* assuan-buffer.c (assuan_read_line): Fix order of execution to |
| 176 |
get correct return values. |
| 177 |
|
| 178 |
2001-12-13 Werner Koch <[email protected]> |
| 179 |
|
| 180 |
* assuan-handler.c (assuan_get_active_fds): Fixed silly bug, |
| 181 |
pretty obvious that nobody ever tested this function. |
| 182 |
|
| 183 |
2001-12-12 Werner Koch <[email protected]> |
| 184 |
|
| 185 |
* assuan-connect.c (assuan_pipe_connect): Implemented the inital |
| 186 |
handshake. |
| 187 |
* assuan-client.c (read_from_server): Renamed to |
| 188 |
(_assuan_read_from_server): this and made external. |
| 189 |
|
| 190 |
* assuan-listen.c (assuan_set_hello_line): New. |
| 191 |
(assuan_accept): Use a custom hello line is available. |
| 192 |
|
| 193 |
* assuan-buffer.c (assuan_read_line): New. |
| 194 |
(assuan_pending_line): New. |
| 195 |
(_assuan_write_line): Renamed to .. |
| 196 |
(assuan_write_line): this, made public and changed all callers. |
| 197 |
|
| 198 |
2001-12-04 Werner Koch <[email protected]> |
| 199 |
|
| 200 |
* assuan-connect.c (assuan_pipe_connect): Add more error reporting. |
| 201 |
* assuan-client.c: New. |
| 202 |
|
| 203 |
* assuan-inquire.c: New. |
| 204 |
* assuan-handler.c (process_request): Check for nested invocations. |
| 205 |
|
| 206 |
2001-11-27 Werner Koch <[email protected]> |
| 207 |
|
| 208 |
* assuan-handler.c (assuan_register_input_notify): New. |
| 209 |
(assuan_register_output_notify): New. |
| 210 |
|
| 211 |
2001-11-26 Werner Koch <[email protected]> |
| 212 |
|
| 213 |
* assuan.h: Added more status codes. |
| 214 |
|
| 215 |
2001-11-25 Werner Koch <[email protected]> |
| 216 |
|
| 217 |
* assuan-handler.c (assuan_register_bye_notify) |
| 218 |
(assuan_register_reset_notify) |
| 219 |
(assuan_register_cancel_notify): New and call them from the |
| 220 |
standard handlers. |
| 221 |
(assuan_process): Moved bulk of function to .. |
| 222 |
(process_request): .. new. |
| 223 |
(assuan_process_next): One shot version of above. |
| 224 |
(assuan_get_active_fds): New. |
| 225 |
|
| 226 |
2001-11-24 Werner Koch <[email protected]> |
| 227 |
|
| 228 |
* assuan-connect.c (assuan_get_pid): New. |
| 229 |
|
| 230 |
* assuan-buffer.c (_assuan_read_line): Deal with reads of more |
| 231 |
than a line. |
| 232 |
* assuan-defs.h: Add space in the context for this. |
| 233 |
|
| 234 |
|
| 235 |
************************************************************ |
| 236 |
* Please note that this is a stripped down Assuan version. * |
| 237 |
************************************************************ |
| 238 |
|
| 239 |
Copyright 2001, 2002, 2004 Free Software Foundation, Inc. |
| 240 |
|
| 241 |
This file is free software; as a special exception the author gives |
| 242 |
unlimited permission to copy and/or distribute it, with or without |
| 243 |
modifications, as long as this notice is preserved. |
| 244 |
|
| 245 |
This file is distributed in the hope that it will be useful, but |
| 246 |
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the |
| 247 |
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |