Debian Codegraph @

ChangeLog

raw
1 2025-02-18 Werner Koch <[email protected]>
2
3 Release 3.0.2.
4 + commit 0f84595a4bc706d3afb969d59618244c7db3b59f
5
6
7 Put full commit id into VERSION.
8 + commit 27b58fd6674c58405a3acc162b21a03931227174
9 * autogen.sh: Update from current libgpg-error.
10 * configure.ac: Append commit id to the VERSION file.
11 (BUILD_REVISION): New ac_define.
12 * src/sysutils.c (_assuan_sysutils_blurb): Replace revision by full
13 commit id.
14
15 2024-12-16 NIIBE Yutaka <[email protected]>
16
17 w32: Enable "w32_error" for assuan_sock_get_flag.
18 + commit 70d454e1ff48d5fe5765645a7bec1c27b3b8ad38
19 * src/assuan-defs.h (struct assuan_context_s): Have w32_error field.
20 (_assuan_sock_wsa2errno): Supply CTX argument.
21 * src/assuan-socket.c (_assuan_sock_wsa2errno): Put ERR to the field
22 in CTX argument.
23 (_assuan_sock_get_flag): Support "w32_error" string.
24 (_assuan_sock_accept, _assuan_sock_bind): Follow the change.
25 * src/assuan-uds.c (uds_reader, uds_writer): Likewise.
26 * src/system-w32.c (__assuan_close, __assuan_socket): Likewise.
27 (__assuan_connect): Likewise.
28
29 2024-12-13 NIIBE Yutaka <[email protected]>
30
31 w32: Fix errno for assuan_sock_bind failure.
32 + commit cc6c29735d59e832be67f487e0c74e049ceaea94
33 * src/assuan-socket.c (_assuan_sock_bind): Use WSAGetLastError and the
34 mapping to set ERRNO.
35
36 2024-09-16 Ben Kibbey <[email protected]>
37
38 Fix FreeBSD to set the pid of assuan_peercred_t.
39 + commit dfa5e6532d7eecc25841666010004d278e9e4542
40 * configure.ac: Check for struct xucred.cr_pid.
41 * src/assuan-socket-server.c (accept_connection_bottom): Obtain the pid
42 via LOCAL_PEERCRED.
43
44 2024-07-11 NIIBE Yutaka <[email protected]>
45
46 Use socklen_t for the length of socket address.
47 + commit 69a703446b61d9e139e693dbcc22d2d80083a788
48 * src/assuan-defs.h (_assuan_sock_connect): Use socklen_t.
49 (_assuan_sock_bind, _assuan_sock_get_nonce): Likewise.
50 * src/assuan-socket.c (_assuan_sock_connect): Likewise.
51 (_assuan_sock_bind, _assuan_sock_get_nonce, assuan_sock_connect)
52 (assuan_sock_bind, assuan_sock_get_nonce): Likewise.
53 * src/assuan.h.in (assuan_sock_connect, assuan_sock_bind)
54 (assuan_sock_get_nonce): Likewise.
55
56 Fix typo in assuan.h.
57 + commit b8148b4f5735e1215eb72f208e1ae2891213247e
58 * src/assuan.h.in (ASSUAN_NO_NPTH_SYSTEM_HOOKS_ANY_MORE): Fix.
59
60 2024-07-07 Ben Kibbey <[email protected]>
61
62 libassuan.m4: Fix AC_DEFINE variable expansion.
63 + commit b9b7f1cf3fd0228fd31cb62a144628ee8ad26953
64 * src/libassuan.m4 (_AM_PATH_LIBASSUAN_COMMON): Use AC_DEFINE_UNQUOTED()
65 to expand $req_libassuan_api.
66
67 2024-06-25 Werner Koch <[email protected]>
68
69 Remove an declaration for an unused function.
70 + commit 69069bc63e6b1152e34e39bc322132fd4fd7284d
71 * src/assuan-defs.h (putc_unlocked): Remove declaration.
72
73 2024-06-24 Werner Koch <[email protected]>
74
75 Release 3.0.1.
76 + commit c9e902705a50abaf532c9d24347dfd1f3b5779fb
77 * src/libassuan.vers: Change to LIBASSUAN_2.0.
78
79 2024-06-18 Werner Koch <[email protected]>
80
81 Release 3.0.0.
82 + commit 0351ecfa4f35ad44684075abec153574986b11bd
83 * configure.ac: Set LT age to zero because we really have an API
84 change. Note that Current was already bumped up.
85
86 Add new socket flags "linger" and "reuseaddr".
87 + commit 87f92fe962ae77045d8ddea3ae88d57234c04533
88 * src/assuan-socket.c (_assuan_sock_set_flag): Add new flags.
89 (_assuan_sock_get_flag): Ditto.
90
91 2024-06-14 NIIBE Yutaka <[email protected]>
92
93 Spell fix in gpg-error.m4 from GnuPG.
94 + commit 24f05d64f47523e40b6936f2fd208d34516ff9d5
95
96
97 2024-06-13 NIIBE Yutaka <[email protected]>
98
99 m4: Update gpg-error.m4.
100 + commit 577c1cd80665989be2fee393148487d3dfef4278
101 * m4/gpg-error.m4: Update from gpg-error master.
102
103 libassuan.m4: Fix setting/using GPG_ERROR_CONFIG.
104 + commit db27c9489791baa8b2036191dce35e12f76af85d
105 libassuan.m4 (_AM_PATH_GPGRT_CONFIG): Don't set GPG_ERROR_CONFIG and
106 gpg_error_config_version.
107
108 2024-06-07 Werner Koch <[email protected]>
109
110 Always append the process identification to hello line.
111 + commit ee9167cc3501021761f91f3f00cab57b5719ecc0
112 * src/assuan-listen.c (assuan_accept): Always append "process %i".
113
114 2024-05-14 NIIBE Yutaka <[email protected]>
115
116 Fix the previous commit.
117 + commit c1bbbe8a26957db43a20e28cf28cfa8e147ef1f6
118
119
120 m4: Include _AM_PATH_GPGRT_CONFIG definition.
121 + commit 1c27538e4626348b050e95c6f40c023850d41e58
122 * src/libassuan.m4: Find gpgrt-config.
123
124 2023-10-28 Andre Heinecke <[email protected]>
125
126 tests: Cleanup mention of removed variable.
127 + commit 6756482d2627f67437afb05d88a22f03c6bad07c
128 * tests/Makefile.am (noinst_PROGRAMS): Remove w32cetools.
129
130 2023-09-01 NIIBE Yutaka <[email protected]>
131
132 build: Change the default for --with-libtool-modification.
133 + commit 76816b1350c093ef98365db5a66ddb364d27dc28
134 * configure.ac (--with-libtool-modification): default=never.
135
136 2023-08-16 NIIBE Yutaka <[email protected]>
137
138 build: Update libtool-patch.sed from libgpg-error.
139 + commit d63bf50dfe494114fd410153a3cba73a1dfd7503
140 * build-aux/libtool-patch.sed: Fail with exit code 1,
141 when it doesn't go well.
142
143 2023-08-08 NIIBE Yutaka <[email protected]>
144
145 build: New configure option --with-libtool-modification.
146 + commit 9bb7a2a1a066b20022714b21ca2ae5ccb9d19d55
147 * Makefile.am (EXTRA_DIST): Add build-aux/libtool-patch.sed.
148 * build-aux/libtool-patch.sed: New.
149 * configure.ac (--with-libtool-modification): New.
150 * build-aux/ltmain.sh: Revert our own local modification.
151
152 2023-08-04 NIIBE Yutaka <[email protected]>
153
154 Fix for v2 support: ASSUAN_REALLY_REQUIRE_V2_NPTH_SYSTEM_HOOKS.
155 + commit b975f9a3cc63ccd35a16a7d9465228e122462a8e
156 * src/assuan.h.in (ASSUAN_REALLY_REQUIRE_V2_NPTH_SYSTEM_HOOKS):
157 Rename.
158
159 2023-08-02 NIIBE Yutaka <[email protected]>
160
161 New function: assuan_control.
162 + commit bb7aa0ebed7379275eba6ad1eec62da34505c7e4
163 * src/assuan.c (assuan_control): New.
164 * src/assuan.h.in (ASSUAN_CONTROL_REINIT_SYSCALL_CLAMP): New.
165 (assuan_control): New.
166 * src/libassuan.def (assuan_control): Add.
167 * src/libassuan.vers (assuan_control): Add.
168
169 2023-07-26 NIIBE Yutaka <[email protected]>
170
171 libassuan.m4: Allow use of libassuan 3 for API of version 2.
172 + commit 9ce1b41cc1fe94baf16a32bb444d4aa4fe2d58a3
173 * src/libassuan.m4: API 3 is backward compatible to API 2.
174
175 2023-07-24 NIIBE Yutaka <[email protected]>
176
177 Add new pipe functions to control its server process.
178 + commit bf25d0e39bdcff28dc690722b8defc21bebeeed3
179 * src/assuan-pipe-connect.c (assuan_pipe_wait_server_termination)
180 (assuan_pipe_kill_server): New.
181 * src/assuan.h.in: Add new functions.
182 * src/libassuan.def: Add symbols for those functions.
183 * src/libassuan.vers: Likewise.
184 * src/system-posix.c (__assuan_waitpid): Extend the semantics for
185 OPTIONS.
186 * src/system-w32.c (__assuan_waitpid): Likewise.
187
188 socket: Don't call pre/post_syscall for bind.
189 + commit c14409b6b4eb7b914c41c7d7f67137e315c935d9
190 * src/assuan-socket.c (_assuan_sock_bind): Don't call
191 _assuan_pre_syscall and _assuan_post_syscall.
192
193 build: Prepare release with API change.
194 + commit dd7e0c57e48c21b79ab553c38cfad9155f6ef7fb
195 * configure.ac (LIBASSUAN_CONFIG_API_VERSION): Increment.
196 (LIBASSUAN_LT_CURRENT): Increment for adding new interface.
197 (LIBASSUAN_LT_AGE): Likewise.
198 (LIBASSUAN_LT_REVISION): Reset to 0.
199
200 2023-07-21 NIIBE Yutaka <[email protected]>
201
202 Update NEWS.
203 + commit c4687dbe1c2b99f96a315d8b2907ecac4fef6cbb
204
205
206 2023-07-20 NIIBE Yutaka <[email protected]>
207
208 Expose assuan_sock_accept function.
209 + commit 782d5f8971eafdeeb7fdf6cc147482342b90f3b9
210
211
212 Add _assuan_pre_syscall / _assuan_post_syscall to _assuan_sock_*.
213 + commit 703b4100a4162216314d3489fa9d3160c3aadeb5
214 * src/assuan-socket.c (_assuan_sock_accept): Add _assuan_pre_syscall /
215 _assuan_post_syscall.
216 (_assuan_sock_bind): Likewise.
217
218 2023-07-19 NIIBE Yutaka <[email protected]>
219
220 Support larger greeting message.
221 + commit 5de577417af189b65bc0b78e7274a0510421b2b5
222 * src/assuan-listen.c (assuan_accept): Update the size.
223
224 2023-06-15 Werner Koch <[email protected]>
225
226 Flush data before clearing the confidential flag.
227 + commit 049b8001f163ebae1a44056989f06f489c59349d
228 * src/context.c (assuan_end_confidential): Flush data.
229
230 2023-06-06 NIIBE Yutaka <[email protected]>
231
232 w32: Fix closing for non-socket HANDLE.
233 + commit 2f0232b15fdc5071e13a0f3595141cf813f4bfdf
234 * src/system-w32.c (__assuan_close): Revert the change.
235
236 2023-06-01 NIIBE Yutaka <[email protected]>
237
238 w32: Fix hello_line parsing for fd passing.
239 + commit 592f6bb89ad160d81e5a658e45df590120df8b60
240 * tests/fdpassing.c (server_socket): Test with comma in the hello
241 line.
242
243 2023-05-31 NIIBE Yutaka <[email protected]>
244
245 w32: Always include process information in HELLO.
246 + commit c69578bc248ee18d3a35d33e0d18d17bebbe99b4
247 * src/assuan-listen.c (assuan_accept): Supply process information
248 when ctx->hello is avaliable, too.
249
250 w32: Fix error return for sending fd.
251 + commit efccdb36ec338f3739e1ef3bb2ce0d2a04219566
252 * src/system-w32.c (get_file_handle): Have a CTX to compose an error.
253 (w32_fdpass_send): Check PROCESS_ID.
254 Compose an error with _assuan_error.
255
256 2023-05-24 NIIBE Yutaka <[email protected]>
257
258 Allow use of global system hooks with API version 2.
259 + commit 8d83aea214a17c8fff32bfb90eaa9870ea9630e2
260 * src/libassuan.m4 (LIBASSUAN_API_REQUESTED): New.
261 * src/assuan.h.in (ASSUAN_NO_GLOBAL_SYSTEM_HOOKS_ANY_MORE): New.
262 (ASSUAN_SYSTEM_NPTH_IMPL, ASSUAN_SYSTEM_NPTH): Relax the condition.
263
264 2023-05-17 NIIBE Yutaka <[email protected]>
265
266 doc: Update documentation for the method spawn and waitpid.
267 + commit af34d84651b684bb771501f8c493e193e5e65dbc
268
269
270 w32: File handle passing to server is now supported.
271 + commit 316fae4401975e26d6b7e6b89534133c7b3df25c
272 * configure.ac: Fix for MinGW.
273 * src/assuan-buffer.c (assuan_sendfd): Fix runtime check.
274
275 Don't use ASSUAN_INVALID_PID for assuan_pid_t value.
276 + commit 5d1cdaaa03c664fddbaff16c68e79fc6a248c59b
277 * src/assuan.c (assuan_new_ext): Use -1.
278 * src/client.c (_assuan_client_finish): Likewise.
279
280 w32: Cleaner semantics for PID and Process handle.
281 + commit 6350f796fdd1c7519c35a9cd71b33b6dafc5ed3a
282 * src/assuan-defs.h (struct assuan_context_s): Introduce SERVER_PROC
283 member. Clarify the use of PROCESS_ID and PID.
284 Introduce assuan_pid_t for internal use of process id or handle.
285 * src/assuan.h.in: Follow the change.
286 * src/assuan.c (assuan_new_ext): Likewise.
287 * src/client.c (_assuan_client_finish): Likewise.
288 * src/assuan-pipe-connect.c (pipe_connect): Likewise.
289 * src/server.c (_assuan_server_finish): Likewise.
290 * src/system-posix.c: Likewise.
291 * src/system-w32.c: Likewise.
292 * src/system.c: Likewise.
293 * src/assuan-pipe-server.c (assuan_init_pipe_server)
294 [HAVE_W32_SYSTEM]: Exclude the use of _assuan_pipe_connect_pid.
295 * src/assuan-socket-server.c (accept_connection_bottom)
296 [HAVE_W32_SYSTEM]: Exclude the use of the member peercred.pid.
297 * src/assuan-socket.c (_assuan_sock_check_nonce): Support Cygwin
298 Unix domain emulation for having valid client process ID.
299 * src/context.c (assuan_get_pid): Clarify the use cases.
300 * src/posix-types.inc.h, src/w32-types.inc.h: Introduce assuan_pid_t.
301
302 2023-05-16 NIIBE Yutaka <[email protected]>
303
304 Fix wrong return type for functions.
305 + commit 18edc4f89f9aa46a669031925176f241fd8d637f
306 * src/system.c (_assuan_recvmsg, _assuan_sendmsg): Fix to int.
307 (_assuan_waitpid): Fix to pid_t.
308
309 2023-05-12 NIIBE Yutaka <[email protected]>
310
311 tests: Use -no-fast-install LDFLAGS for Windows.
312 + commit 69578137570956a31eaa5a9559dbcfbe6d9d9f23
313 * tests/Makefile.am [HAVE_W32_SYSTEM] (AM_LDFLAGS): Conditionalize.
314
315 2023-05-11 NIIBE Yutaka <[email protected]>
316
317 Deprecate ASSUAN_SYSTEM_NPTH.
318 + commit 9ecbd8e60c6904e72f7a22963dffb0016eab69b4
319 * src/assuan.h.in: Introduce new configuration with
320 ASSUAN_REALLY_REQUIRE_OLD_WAY_OF_SYSTEM_NPTH.
321
322 Allow NULL for system_hooks.
323 + commit 1eb66efbdd7b0fd09fadbdd5d5650e6c2eae032e
324 * src/system.c (_assuan_system_hooks_copy): Do nothing with SRC=NULL.
325
326 Fix the previous commit.
327 + commit 620acf6fe3aa22f7b3c50734aade29a2dbe4ef6e
328 * src/assuan.c (_assuan_pre_syscall): Call the pre_syscall_func
329 function after get it.
330
331 Fix calling gpgrt_get_syscall_clamp.
332 + commit 223cc95c188a9bbb97affb506116fcdd4ef312a2
333 * src/assuan.c (assuan_new_ext): Move gpgrt_get_syscall_clamp to...
334 (_assuan_pre_syscall): ... here.
335
336 tests: Fix for POSIX machine.
337 + commit fb5d02d7660254d9b80aa64270f08f34693bed67
338 * modified tests/pipeconnect.c (cmd_cat): Ifdef-out W32.
339
340 2023-05-10 NIIBE Yutaka <[email protected]>
341
342 w32: Fix test header file for 64-bit Windows.
343 + commit 7191c125aca1c8cbaadf7a167b09035b9d8301ec
344 * tests/common.h: Add for HAVE_W64_SYSTEM.
345
346 w32: Fix pipeconnect test program for Windows.
347 + commit f2d829e3db0241fef527135c5d92540fa758f8dd
348 * tests/pipeconnect.c: Fix for input_fd and output_fd.
349
350 w32: Minor fixes for ifdef/endif for W32 and W64.
351 + commit 295e33465eaefaf4c79e9ee2128d8ad821bf7ec5
352 * src/assuan-defs.h: Fix.
353 * src/assuan-pipe-connect.c: Likewise.
354 * src/assuan-socket-connect.c: Likewise.
355
356 w32: Fix the semantics of sending FD, it's Windows HANDLE.
357 + commit 17055e1c995367e60f45ee73fa1a39e7a09efd59
358 * src/assuan-handler.c (w32_handler_sendfd): It's Windows HANDLE.
359 * src/system-w32.c (get_file_handle, w32_fdpass_send): Likewise.
360 * tests/fdpassing.c (cmd_echo): Received FD is Windows HANDLE.
361 (client): Use Windows HANDLE for assuan_sendfd.
362
363 2023-05-08 NIIBE Yutaka <[email protected]>
364
365 Implement timeout in assuan_sock_connect_byname.
366 + commit 9110945ce625e4a668eeed6a00252b7851e6d4b6
367 * src/assuan-socket.c (socks5_connect): Add new argument TIMEOUT in
368 milliseconds.
369 (_assuan_sock_connect): Follow the change.
370 (_assuan_sock_connect_byname): Fourth argument is now TIMEOUT.
371 (assuan_sock_connect_byname): Likewise.
372
373 2023-04-05 NIIBE Yutaka <[email protected]>
374
375 build: Update gpg-error.m4.
376 + commit 3d8195ebc5e3f48c004b3a7ec473e66166c58fe7
377 * m4/gpg-error.m4: Update from libgpg-error master.
378
379 2023-01-04 NIIBE Yutaka <[email protected]>
380
381 w32: Fix assuan_socket_connect.
382 + commit e4e54fb4ba1b82f1cd08ea44ad4c48db4c236311
383 * src/assuan-socket-connect.c (_assuan_connect_finalize): Don't set
384 flags.is_socket here, since it's too late.
385 (assuan_socket_connect_fd): Set flags.is_socket.
386 (assuan_socket_connect): Set flags.is_socket, before _assuan_sock_new.
387
388 2022-11-18 Andre Heinecke <[email protected]>
389
390 Fix make dist target.
391 + commit a720b6cc443a7d62a200c5ca3950098dad487361
392 * tests/Makefile.am (EXTRA_DIST): Add fdpassing-socket.sh
393
394 2022-11-15 NIIBE Yutaka <[email protected]>
395
396 w32: Fix confusion between process ID and process HANDLE.
397 + commit 523e3cbfe29f5665ebfac205f1a6d88bf7a3df87
398 * src/assuan-defs.h (struct assuan_context_s): Rename to process_id.
399 * src/assuan-pipe-connect.c (initial_handshake): Fix variable name
400 and access to the member field.
401 * src/assuan-socket-connect.c (_assuan_connect_finalize): Likewise.
402 * src/system-w32.c (get_file_handle): Likewise.
403 (w32_fdpass_send): Likewise.
404
405 2022-11-09 NIIBE Yutaka <[email protected]>
406
407 w32: Have PROCESS_HANDLE in struct assuan_context_s.
408 + commit ba84b780df973ba7ca7f7c51fbd1b6d1a69b8c01
409 * src/assuan-defs.h (struct assuan_context_s): Add process_handle
410 field. It's "int" instead of DWORD, because of getpid function.
411 * src/assuan-pipe-connect.c (initial_handshake): Set ->process_handle,
412 not override ->pid.
413 * src/assuan-socket-connect.c (assuan_connect_finalize): Likewise.
414 * src/system-w32.c (w32_fdpass_send): Use ->process_handle.
415
416 tests: Use common code for Windows.
417 + commit 7e6f3f007d64b6b6b402c8459c8ba6b39289f4ff
418 * tests/fdpassing.c (main): Get program name from ARGV.
419
420 2022-11-08 NIIBE Yutaka <[email protected]>
421
422 tests: Add fdpassing-socket.sh script.
423 + commit 8962c1e774e716cde1a7afeaca86558e48960ab1
424 * tests/Makefile.am (TESTS_ENVIRONMENT): Export EXEEXT.
425 (test_programs): New. Run pipeconnect for Windows, too.
426 (check_SCRIPTS): New.
427 (TESTS): Now, it's test_programs and check_SCRIPTS.
428 (noinst_PROGRAMS): Not including check_SCRIPTS.
429 (tests/fdpassing-socket.sh): New, to test socket connection.
430 * tests/fdpassing.c: Include socket connection test.
431 * tests/pipeconnect.c: Fix for Windows.
432
433 2022-11-07 NIIBE Yutaka <[email protected]>
434
435 w32: Support fd passing through socket.
436 + commit 3297e453aa0e371e14fd26e53f4a6f84e20c21d3
437 * src/assuan-socket-connect.c (_assuan_connect_finalize): Use
438 w32_fdpass_send. Get peer's PID from the initial connection.
439 * src/assuan-socket-server.c (assuan_init_socket_server): Use
440 w32_fdpass_recv.
441
442 w32: Support fd passing through pipe.
443 + commit a1f480468a3b41f3843833654c0b56c33552519c
444 * src/assuan-pipe-connect.c (initial_handshake): Get peer's PID
445 from the initial interaction.
446 * src/assuan-pipe-server.c (assuan_init_pipe_server): Handle the case
447 of FILEDES == NULL on Windows.
448 * tests/Makefile.am [HAVE_W32_SYSTEM] (TESTS): Add fdpassing.
449 * tests/fdpassing.c: Remove including sys/socket.h and sys/wait.h.
450 (cmd_echo): Output to stder, as stdout is /dev/null.
451 (main): Support Windows.
452
453 Show the pid of listening process in the hello line.
454 + commit 07adf41f0f49233cc4842bad1e6d2fdc9dc431af
455 * src/assuan-listen.c (assuan_accept): Use getpid instead of
456 assuan_get_pid.
457
458 2022-11-04 NIIBE Yutaka <[email protected]>
459
460 w32: Support sendfd/recvfd through pipe connection.
461 + commit 870fdcf92e5991c0bb2e349a951aa8dd93b0e22f
462 * src/assuan-defs.h (w32_fdpass_send, w32_fdpass_recv): New.
463 * src/assuan-pipe-connect.c [HAVE_W32_SYSTEM] (pipe_connect): Set
464 w32_fdpass_send.
465 [!HAVE_W32_SYSTEM] (assuan_pipe_connect): Use socketpair_connect.
466 * src/assuan-pipe-server.c
467 [HAVE_W32_SYSTEM] (assuan_init_pipe_server): Set w32_fdpass_recv.
468 * src/system-w32.c (get_file_handle): New.
469 (w32_fdpass_send): New, using "SENDFD" internal command.
470 (w32_fdpass_recv): New, using the result of "SENDFD" internal command.
471
472 w32: Add SENDFD internal command.
473 + commit ce794a0a88a8dca11810ac79e6be6bf6b4e5326c
474 * src/assuan-handler.c (w32_handler_sendfd): New.
475 (std_cmd_table): Add the "SENDFD" command.
476
477 client: Only call _assuan_waitpid when it's not socket.
478 + commit 27acee6a04dbc6d2b153387bc89d2f711ded9726
479 * src/client.c (_assuan_client_finish): Check if it's socket.
480
481 2022-11-01 NIIBE Yutaka <[email protected]>
482
483 build: Prefer gpgrt-config when available.
484 + commit d769ec2db2e0a89fe446fb90b3c4be8ec05abebd
485 * src/libassuan.m4: Overriding the decision by
486 --with-libassuan-prefix, use gpgrt-config libassuan when
487 gpgrt-config is available.
488
489 2022-10-25 Andre Heinecke <[email protected]>
490
491 w32: Fix make dist.
492 + commit 62547ec2497105bf95e7755ed88f996353539789
493 * src/Makefile.am (parts_of_assuan_h): Readd w32-includes.h
494
495 2022-10-24 NIIBE Yutaka <[email protected]>
496
497 build: Update gpg-error.m4.
498 + commit 0c22952c71bd44d39f3b91546bec5297be6de071
499 * m4/gpg-error.m4: Update from libgpg-error 1.46.
500
501 2022-10-12 NIIBE Yutaka <[email protected]>
502
503 build: Remove WindowsCE support from mkheader.
504 + commit df6aec566ce450e4e0702e4784569642f2bc6703
505 * src/assuan.h.in (@include:sys/types.h@, @include:unistd.h@): Simply
506 include <sys/types.h> and <unistd.h>.
507 (@include:w32ce-add@): Remove.
508 * src/mkheader.c (write_special): Remove mingw32ce support.
509
510 2022-09-08 NIIBE Yutaka <[email protected]>
511
512 Silence compiler warnings.
513 + commit 6bc8a106c4bd6c1e3a4ad834331eb24431868beb
514 * src/assuan-socket.c (assuan_sock_init): It's no args.
515 (assuan_sock_deinit): Likewise.
516
517 2022-08-31 NIIBE Yutaka <[email protected]>
518
519 Drop WindowsCE support.
520 + commit e3b1e3857e00c6e8216e953b0b38f4dcda00cd53
521 * contrib/*: Remove.
522 * Makefile.am (EXTRA_DIST): Don't include contrib/.
523 * configure.ac (HAVE_W32CE_SYSTEM): Remove.
524 * src/gpgcedev.c: Remove.
525 * src/gpgcedev.def: Remove.
526 * src/gpgcemgr.c: Remove.
527 * src/system-w32ce.c: Remove.
528 * src/w32ce-add.h: Remove.
529 * src/w32ce-fd-t.inc.h: Remove.
530 * src/Makefile.am (EXTRA_DIST, parts_of_assuan_h, common_sources): Fix.
531 * src/assuan-buffer.c [HAVE_W32CE_SYSTEM]: No conditionalize.
532 * src/setenv.c [HAVE_W32CE_SYSTEM]: Likewise.
533 * src/assuan-defs.h [HAVE_W32CE_SYSTEM]: Remove dependent part.
534 * src/assuan-error.c [HAVE_W32CE_SYSTEM]: Likewise.
535 * src/assuan-handler.c [HAVE_W32CE_SYSTEM]: Likewise.
536 * src/assuan-socket.c [HAVE_W32CE_SYSTEM]: Likewise.
537 * src/system.c [HAVE_W32CE_SYSTEM]: Likewise.
538 * src/sysutils.c [HAVE_W32CE_SYSTEM]: Likewise.
539 * tests/Makefile.am (EXTRA_DIST): Fix.
540 (w32cetools): Remove.
541 * tests/common.h [HAVE_W32CE_SYSTEM]: Remove dependent part.
542 * tests/pipeconnect.c [HAVE_W32CE_SYSTEM]: Likewise.
543 * tests/ce-createpipe.c: Remove.
544 * tests/ce-server.c: Remove.
545
546 2022-07-19 NIIBE Yutaka <[email protected]>
547
548 build: Update config.guess, config.sub, and config.rpath.
549 + commit 6da6a3df3c98552c710616d40e245467c3fe675c
550 * build-aux/config.guess: Update from upstream.
551 * build-aux/config.sub: Ditto.
552 * build-aux/config.rpath: Update from gettext 0.21.
553
554 2022-06-28 NIIBE Yutaka <[email protected]>
555
556 build: Update gpg-error.m4.
557 + commit 3156f29a797d91158187353edbafe0c967bd0b6d
558 * m4/gpg-error.m4: Update from libgpg-error.
559
560 2022-06-20 NIIBE Yutaka <[email protected]>
561
562 Don't access NULL by wipememory.
563 + commit 97516d6c24b9266124172276515253aee128a76f
564 * src/assuan-inquire.c (assuan_inquire): Check mb->buf.
565
566 2022-06-08 Jakub Jelen <[email protected]>
567
568 tests: Remove dead code.
569 + commit 2e310bb10e33f655f9b920b94809d40633641961
570 * tests/socks5.c (main): Unsigned value is always larger than 0
571
572 config: Remove 18 years unused variable.
573 + commit 850f404ef079eb5ce7907612ba93ceba784d634b
574 Its use was removed in 2004 in 9096d0adb448330b5b197579bd57d942635d7021
575
576 * src/libassuan-config.in: Remove unused variable
577
578 tests: Avoid leaking file descriptors on errors.
579 + commit 70b465e0bf65c9ac6d1f7e242d2b76a84afaac6a
580 * tests/fdpassing.c (client): Close fp on error
581
582 2022-05-25 NIIBE Yutaka <[email protected]>
583
584 client: Handle inquiry from server with CONFIDENTIAL.
585 + commit 2a5550b7a13ce627ed0e40ab9582478ab5c9b809
586 * src/assuan-defs.h (struct assuan_context_s): Add new flags,
587 in_inq_cb and confidential_inquiry.
588 * src/client.c (assuan_transact): Use the new flags to wipe the
589 outbound buffer for inquiry when CONFIDENTIAL.
590 * src/context.c (assuan_set_flag): When ASSUAN_CONFIDENTIAL is set in
591 inquire callback, set the confidential_inquiry flag.
592
593 struct assuan_context_s: Move boolean fields to flags.
594 + commit aafbde956f88d0e618b661f86041679bf8c5850a
595 * src/assuan-defs.h (struct assuan_context_s): Move is_server,
596 in_inquire, in_process_next, process_complete, in_command into
597 flags.
598 * src/assuan-buffer.c: Follow the change.
599 * src/assuan-handler.c: Likewise.
600 * src/assuan-inquire.c: Likewise.
601 * src/assuan-pipe-server.c: Likewise.
602 * src/assuan-socket-server.c: Likewise.
603
604 client: Wipe the inbound buffer when CONFIDENTIAL.
605 + commit fd1ac5cdf804e15039276855134ecf1c0fb715d4
606 * src/client.c (assuan_transact): Wipe the buffer.
607
608 server,client: Wipe the outbound buffer when CONFIDENTIAL.
609 + commit 89e8f265e37758c3aaaa7dc580d24d96d37cc8a8
610 * src/assuan-buffer.c (assuan_send_data): Wipe the buffer.
611
612 server: Wipe out the memory used by assuan_inquire if CONFIDENTIAL.
613 + commit d812e28af637144d078005887cb7519d7a2d0c58
614 * src/assuan-inquire.c (assuan_inquire): Wipe the memory and
615 inbound buffer.
616
617 2022-04-08 NIIBE Yutaka <[email protected]>
618
619 Add assuan_sock_accept function.
620 + commit 84ae2b1d27ce81e87a8386918e48063dfd173d2e
621 * src/assuan-socket.c (_assuan_sock_accept): New.
622 (assuan_sock_accept): New.
623 * src/assuan.h.in (assuan_sock_accept): New.
624
625 2022-04-06 NIIBE Yutaka <[email protected]>
626
627 w32: Store a flag if it's socket or not in Assuan CTX.
628 + commit c93eb901e58d5b31294c2d452659b5150d95ec59
629 * src/assuan-defs.h (struct assuan_context_s): Add is_socket flag.
630 * src/assuan-socket.c (assuan_sock_init): Set the flag.
631 * src/assuan-socket-connect.c (_assuan_connect_finalize): Likewise.
632 * src/assuan-socket-server.c (assuan_init_socket_server): Likewise.
633 * src/system-w32.c (__assuan_close): Use the flag.
634 (is_socket): Remove.
635 (__assuan_read, __assuan_write): Use the flag.
636
637 2022-04-05 NIIBE Yutaka <[email protected]>
638
639 Fix API break.
640 + commit 5b77d39672aca33416be95c685295e49ecb9f457
641 * src/posix-fd-t.inc.h (assuan_fd_from_posix_fd): Revert.
642 * src/w32-fd-t.inc.h (assuan_fd_from_posix_fd): Revert.
643 * src/system-w32.c (assuan_fd_from_posix_fd): Revert.
644
645 build: Remove unused putc_unlocked.c.
646 + commit 9260fb12509affae190485744fa06c97cbc543bb
647 * src/putc_unlocked.c: Remove.
648 * configure.ac: Remove putc_unlocked replace.
649
650 Take advantage of gpgrt_get_syscall_clamp function.
651 + commit 0fae5823f6e6a9592110ae50dabc6fb248eef998
652 * src/assuan-defs.h (_assuan_pre_syscall, _assuan_post_syscall): New.
653 * src/assuan.c (_assuan_pre_syscall, _assuan_post_syscall): New.
654 (pre_syscall_func, post_syscall_func): New.
655 (_assuan_syscall_func_initialized): New.
656 (assuan_new_ext): Call gpgrt_get_syscall_clamp to get clamp functions.
657 * src/system-posix.c (_assuan_system_hooks): Use version 0.
658 * src/system-w32.c (_assuan_system_hooks): Likewise.
659 * src/system.c (_assuan_usleep): Call clamp functions if no hooks.
660 (_assuan_close, _assuan_close_inheritable, _assuan_read): Likewise.
661 (_assuan_write, _assuan_recvmsg, _assuan_sendmsg): Likewise.
662 (_assuan_waitpid, _assuan_connect): Likewise.
663 (_assuan_pipe): Call __assuan_pipe directly if no hooks.
664 (_assuan_spawn): Call __assuan_spawn directly if no hooks.
665 (_assuan_socketpair): Call __assuan_socketpair directly if no hooks.
666 (_assuan_socket): Call __assuan_socket directly if no hooks.
667
668 build: Fix listing m4 files.
669 + commit a43090e38843126e5026548ff751d139b1e522b0
670 * m4/Makefile.am (EXTRA_DIST): Add ax_cc_for_build.m4 and
671 gpg-error.m4. Remove sys_socket_h.m4.
672
673 2022-04-04 NIIBE Yutaka <[email protected]>
674
675 w32: Fix assuan_socket_connect_fd to be usable.
676 + commit 28a40a298661877e1bbeb3eb9ac58a85bdd85b02
677 * src/assuan.h.in (assuan_socket_connect_fd): Second arg assuan_fd_t.
678 * src/assuan-socket-connect.c (assuan_socket_connect_fd): Second arg
679 should be an object of type SOCKET.
680 * src/posix-fd-t.inc.h (assuan_fd_from_posix_fd): Remove.
681 * src/w32-fd-t.inc.h (assuan_fd_from_posix_fd): Move to...
682 * src/system-w32.c (assuan_fd_from_posix_fd): ... here.
683
684 2022-04-01 NIIBE Yutaka <[email protected]>
685
686 build: Better cross build support.
687 + commit a054a0a7cfb086e2cd80c64043a8694c3c1f525d
688 * configure.ac: Use AX_CC_FOR_BUILD.
689 * src/Makefile.am: Use EXEEXT_FOR_BUILD.
690 * m4/ax_cc_for_build.m4: New from libgpg-error.
691
692 2022-03-31 NIIBE Yutaka <[email protected]>
693
694 Fix internal socket API to be consistent for SOCKET.
695 + commit a8125eba05beb33823657f095acc72191543b07f
696 * src/assuan-defs.h (_assuan_socket): Return value has type assuan_fd_t.
697 (_assuan_connect): Second argument has type assuan_fd_t.
698 [HAVE_W64_SYSTEM] (SOCKET2HANDLE): Revert the change before.
699 * src/assuan-socket.c (_assuan_sock_new): No type coercion for
700 _assuan_socket.
701 (socks5_connect): No type coercion for _assuan_connect.
702 (_assuan_sock_connect): Likewise.
703 * src/assuan.h.in (struct assuan_system_hooks): Fix method signature
704 of socket for return value type and of connect for the second
705 argument.
706 (__assuan_socket): Return value has type assuan_fd_t.
707 (__assuan_connect): Second argument has type assuan_fd_t.
708 (ASSUAN_SYSTEM_NPTH_IMPL): Fix for _assuan_npth_connect for its
709 second argument.
710 * src/system-w32.c (__assuan_socket): Return value has type
711 assuan_fd_t.
712 Use SOCKET2HANDLE for type coercion for socket.
713 Use INVALID_SOCKET.
714 (__assuan_connect): Second argument has type assuan_fd_t.
715 Use HANDLE2SOCKET for type coercion for sock.
716 * src/system.c (_assuan_socket): Return value has type assuan_fd_t.
717 (_assuan_connect): Second argument has type assuan_fd_t.
718
719 build: When no gpg-error-config, not install libassuan-config.
720 + commit 9de02ca16d30a3501a9333e48934b008fcd94f8f
721 * configure.ac (USE_GPGRT_CONFIG): New.
722 * src/Makefile.am [USE_GPGRT_CONFIG]: Conditionalize the install
723 of libassuan-config.
724
725 Remove GNU Pth support.
726 + commit eeda9ac0a71951a2894cd92a366216d2f65c5ad1
727 * src/posix-sys-pth-impl.h: Remove.
728 * src/w32-sys-pth-impl.h: Remove.
729 * src/Makefile.am: Follow the change.
730 * src/assuan.h.in (ASSUAN_SYSTEM_PTH_IMPL, ASSUAN_SYSTEM_PTH): Remove.
731 * src/mkheader.c (write_special): Remove Pth support.
732
733 2022-03-29 NIIBE Yutaka <[email protected]>
734
735 w32: Fix definition of type to be generated into assuan.h.
736 + commit 564e0d94f21f9c2cd8cadf2846163871352f1a92
737 * src/w32-types.inc.h: Distinguish the case of _WIN64.
738
739 2021-12-22 NIIBE Yutaka <[email protected]>
740
741 build: Update for newer autoconf.
742 + commit 66d5fe281c8dcbbbc13edc8630aaf631b6cb5e85
743 * configure.ac (AC_PREREQ): Require >= 2.69.
744 (AC_HEADER_STDC): Remove.
745 * m4/sys_socket_h.m4: Remove.
746
747 2021-12-17 NIIBE Yutaka <[email protected]>
748
749 build,w32: Update configure script.
750 + commit 576fbb033805b077ffe2270cb8a17c3f2dc830ae
751 * configure.ac: Don't use gl_HEADER_SYS_SOCKET, but check winsock2.h.
752
753 2021-11-10 NIIBE Yutaka <[email protected]>
754
755 libtool: Link without -flat_namespace for macOS.
756 + commit e342b58b6230d22c1225ed680f05e9d134a8f657
757 * m4/libtool.m4: Not setting 10.0 to MACOSX_DEPLOYMENT_TARGET when not
758 defined. Only specify -flat_namespace to linker for specific
759 (older) versions and hosts.
760
761 2021-08-05 NIIBE Yutaka <[email protected]>
762
763 build: Simplify configure.ac.
764 + commit 669c76ee28c0b10c418bb47f95b1401631478c5a
765 * configure.ac (AC_CHECK_HEADERS): Remove string.h.
766
767 2021-05-27 NIIBE Yutaka <[email protected]>
768
769 build: _DARWIN_C_SOURCE should be 1.
770 + commit 335030e3d204afe33873df83c29302ff1caa0217
771 * configure.ac (*-apple-darwin*): Set _DARWIN_C_SOURCE 1.
772
773 2021-04-21 NIIBE Yutaka <[email protected]>
774
775 build: Update gpg-error.m4.
776 + commit 8ec3e9f1dd88e14f42f31e8692a8664bd894226b
777 * m4/gpg-error.m4: Update from libgpg-error.
778
779 2021-03-22 Werner Koch <[email protected]>
780
781 Release 2.5.5.
782 + commit f8cfb565ee461946901ae3bc573abc0023d821b5
783
784
785 2021-03-09 Werner Koch <[email protected]>
786
787 Support Unicode when starting servers on Windows.
788 + commit 9264c2710b64e565982d77410169a3253563a647
789 * src/assuan-socket.c (utf8_to_wchar): Rename to
790 (_assuan_utf8_to_wchar): this and give global scope.
791 * src/system-w32.c (__assuan_spawn): Use CreateProcessW.
792
793 2020-11-17 NIIBE Yutaka <[email protected]>
794
795 m4: Update with newer autoconf constructs.
796 + commit 05535d9863cfc4656554fa5fd8df2f4fbe695178
797 * src/libassuan.m4: Replace AC_HELP_STRING to AS_HELP_STRING.
798
799 build: Update to newer autoconf constructs.
800 + commit 12fd96a61033a587482be150a0f955615083ad43
801 * configure.ac: Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER.
802 Use AC_USE_SYSTEM_EXTENSIONS instead of AC_GNU_SOURCE.
803 Use AS_HELP_STRING instead of AC_HELP_STRING.
804 (AC_TYPE_SIGNAL): Remove.
805 (AC_DECL_SYS_SIGLIST): Remove.
806 * m4/Makefile.am (EXTRA_DIST): Update.
807 * m4/gnupg-pth.m4: Remove.
808 * m4/onceonly.m4: Remove.
809 * m4/socklen.m4: Update from gnulib.
810 * m4/libtool.m4: Update from libgpg-error.
811 * m4/gpg-error.m4: Update from libgpg-error.
812
813 2020-11-12 Ben Kibbey <[email protected]>
814
815 Fix crash when logging.
816 + commit 0dd8ffbd32fe62b8e4bf565cbd7a9272a2891d01
817 * src/assuan-logging.c (_assuan_log_control_channel): Use gpgrt_malloc.
818
819 2020-10-23 Werner Koch <[email protected]>
820
821 Post release updates.
822 + commit 103c1e7f86de3f40c4f49e67b14376aad58ef81b
823
824
825 Release 2.5.4.
826 + commit e368b400f276d5d9868832e7a652ab250dd57555
827
828
829 2020-10-20 Werner Koch <[email protected]>
830
831 Support Unicode socket file names under Windows.
832 + commit 397316e9d0fb7c6a0daf163bf252edb996ffba46
833 * src/assuan-socket.c [W32]: Always use CreateFileW. Drop support for
834 Windows-CE
835 (read_port_and_nonce): Use gpgrt_fopen.
836
837 2020-02-25 NIIBE Yutaka <[email protected]>
838
839 build: Use Requires.private and Libs.private.
840 + commit 034e5450cdd5d886d9f333ef3872d4263b435dbb
841 * configure.ac (LIBASSUAN_CONFIG_LIBS): Remove NETLIBS.
842 * src/libassuan.pc.in: Distinguish static link.
843 * tests/Makefile.am: Don't need to link NETLIBS.
844
845 2019-11-27 Werner Koch <[email protected]>
846
847 w32: Fix bad-function-cast warning.
848 + commit 16d3ffa15906037863110f4157ab84e13f579752
849 * src/w32-fd-t.inc.h (assuan_fd_from_posix_fd): Avoid compiler warning.
850
851 2019-08-20 NIIBE Yutaka <[email protected]>
852
853 libassuan.pc: Fix to have -I for Cflags and -L for Libs.
854 + commit 909133baad498ca395a01336f3b49d85322a1d12
855 * src/libassuan.pc.in (Cflags): Add -I flag.
856 (Libs): Add -L flag.
857
858 2019-07-18 Daniel Kahn Gillmor <[email protected]>
859
860 build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper programs.
861 + commit 98d7c7ea3f37cf359f7e90192dedee7b1a791172
862 * src/Makefile.am: pass distinct build flags to CC_FOR_BUILD.
863
864 2019-02-11 Werner Koch <[email protected]>
865
866 Release 2.5.3.
867 + commit 4de3154ea6e6e89e34760b7b9e0eed5123bb81f9
868
869
870 2019-01-25 Werner Koch <[email protected]>
871
872 socks5: Fix compiler warning on Windows.
873 + commit 75770b1131e11075c82031bdb220591154df9e64
874 * src/assuan-socket.c (socks5_connect): Use cast macro to get the
875 hightest socket number.
876
877 2019-01-25 NIIBE Yutaka <[email protected]>
878
879 socks5: Implement timeout to detect bogus service.
880 + commit 5e48116051a476e1dcf5f66d9e21d8003b27ad20
881 * src/assuan-socket.c (TIMEOUT_NOT_WAITING_SOCKS5_FOREVER): New.
882 (socks5_connect): Call 'select' in order to not waiting response
883 forever.
884
885 2019-01-16 NIIBE Yutaka <[email protected]>
886
887 build: With LD_LIBRARY_PATH defined, use --disable-new-dtags.
888 + commit 23bf875954329458c0ac6c31e253cba44db8a648
889 * configure.ac (LDADD_FOR_TESTS_KLUDGE): New for --disable-new-dtags.
890 * tests/Makefile.am (LDADD): Use LDADD_FOR_TESTS_KLUDGE.
891
892 2018-12-13 Werner Koch <[email protected]>
893
894 Release 2.5.2.
895 + commit 86e1d17de081081f9302ca58cc2e07ecde3172f6
896 * configure.ac: Bump LT version to C8/A8/R2.
897
898 2018-11-14 NIIBE Yutaka <[email protected]>
899
900 libassuan.vers: Remove duplicates.
901 + commit eac43aadd7c3a249f35c7cce25eac78f4aaa85db
902
903
904 server: Don't call _assuan_waitpid on server side.
905 + commit 8153608073b7859eed32b8963b4a052243b4858f
906 * src/server.c (_assuan_server_finish): Never call waitpid here.
907 * src/assuan-socket-server.c (accept_connection_bottom): Indentation.
908
909 2018-11-13 NIIBE Yutaka <[email protected]>
910
911 build: Update autogen.rc and autogen.sh.
912 + commit 5e7988d2da3cdc36ebed3b598c0582028f3715ab
913 * autogen.sh: Update from libgpg-error, version 2018-07-10.
914 * autogen.rc: Remove obsolete --with-gpg-error-prefix option.
915
916 2018-11-08 NIIBE Yutaka <[email protected]>
917
918 socket: Use union for sockaddr access.
919 + commit ea69c7126ff25d7d44950bf4a70467d577989a34
920 * src/assuan-socket.c (socks5_connect, use_socks): Use union
921 to access, instead of using cast to the pointer.
922
923 2018-11-02 NIIBE Yutaka <[email protected]>
924
925 build: Update gpg-error.m4 and libassuan.m4.
926 + commit 50ed4f7d5b68e94464df7c0646c3424cee2f47de
927 * m4/gpg-error.m4: Update to 2018-11-02.
928 * src/libassuan.m4: Add AC_MSG_NOTICE.
929
930 2018-10-29 NIIBE Yutaka <[email protected]>
931
932 build: Update gpg-error.m4 and libassuan.m4.
933 + commit e916b1ece87dee254ea7899b01cd5d2c2ff58021
934 * m4/gpg-error.m4: Update to 2018-10-26.
935 * src/libassuan.m4: Follow the change of gpgrt-config.
936
937 2018-10-26 NIIBE Yutaka <[email protected]>
938
939 libassuan.m4: Better backward compatibility support.
940 + commit 882cbafa9444060524ff132d403a76d61f4273a6
941 * m4/gpg-error.m4: Update.
942 * src/libassuan.m4: Don't assume libassuan-config is newer.
943
944 build: Fix libassuan.m4.
945 + commit 0a2a322cb470479cf1f9c8653ba0f943eb30ce0d
946 * src/libassuan.m4: Use AC_PATH_PROG to detect libassuan-config.
947
948 build: Fix previous commit.
949 + commit 24f80c49fde0fa4e9a7c2818c8a922cc5a4abacc
950
951
952 build: Improve libassuan.m4.
953 + commit bb9a89bf5defa793ae9c1939d9476f6dfd46d448
954 * src/libassuan.m4: Don't try gpgrt-config when LIBASSUAN_CONFIG set.
955 Fall back to detecting libassuan-config, when gpgrt-config doesn't
956 work well.
957
958 2018-10-25 NIIBE Yutaka <[email protected]>
959
960 build: Fix previous commit.
961 + commit 0a3192ae33f6b57312cb5bfec0e8fd491c923728
962
963
964 build: Relax requirements.
965 + commit b7922ea7ae2c3d385a7b3b3a5f33987705cfdd2b
966 * m4/gpg-error.m4: Update from libgpg-error 1.33.
967 * src/libassuan.m4: Don't require AM_PATH_GPG_ERROR. Only when
968 gpgrt-config is available and works well, use it.
969 * configure.ac (AM_PATH_GPG_ERROR): No requirement any more.
970
971 build: Use LIBASSUAN_CONFIG_LIBS (instead of LIB).
972 + commit 1dd2430d8877ffda43bc46f0d5f23fea4801ecf6
973 * configure.ac (LIBASSUAN_CONFIG_LIBS): Rename from *_LIB.
974 (LIBASSUAN_CONFIG_EXTRA_LIBS): Remove.
975 * src/libassuan-config.in: Follow the change.
976 * src/libassuan.pc.in: Likewise.
977
978 build: Require libgpg-error >= 1.33.
979 + commit 27f4671883e3241ac0fdee3935c8707c816686b6
980 * configure.ac (AM_PATH_GPG_ERROR): Require 1.33.
981 * m4/gpg-error.m4: Update from libgpg-error 1.33.
982
983 2018-10-24 NIIBE Yutaka <[email protected]>
984
985 build: Fix libassuan.pc.
986 + commit 25797256e1588db9f3171a050246008ac66c66b3
987 * src/libassuan.pc.in: Fix typo.
988
989 build: Fix previous commit.
990 + commit b9fb02a823f72f97d93344d16d49b73e39a7aaaf
991
992
993 build: Compatibility to pkg-config.
994 + commit 9b1666522f7b748cdbdd65cf7f91a76fdde6623b
995 * src/libassuan-config.in: Support --variable and --modversion.
996
997 build: Make libassuan.m4 use gpg-error-config.
998 + commit f69f4c893f29c1a359cc60f8a87a79d05d9a6c15
999 * src/libassuan.m4: Use gpg-error-config.
1000
1001 build: Provide libassuan.pc, generated by configure.
1002 + commit 9c74661d6f8028c616932b02eb5360a2e3587e81
1003 * configure.ac (PACKAGE, VERSION): Remove.
1004 Generate src/libassuan.pc.
1005 * src/Makefile.am (pkgconfigdir, pkgconfig_DATA): New.
1006 (assuan.h): Use PACKAGE_VERSION and VERSION_NUMBER vars.
1007 * src/libassuan-config.in: Use @PACKAGE_VERSION@.
1008 * src/libassuan.pc.in: New.
1009
1010 build: Update gpg-error.m4 from libgpg-error.
1011 + commit 34fd79ae2af25a2ac9a60a811229ec9d28926f9d
1012 * m4/gpg-error.m4: Update from libgpg-error 1.33.
1013
1014 2018-09-14 Ben Kibbey <[email protected]>
1015
1016 Fix OpenBSD build.
1017 + commit afeae6496f51d28958fd92b04cc933ee6ceb5b61
1018 * configure.ac: Define HAVE_STRUCT_SOCKPEERCRED_PID when found.
1019
1020 2018-03-27 NIIBE Yutaka <[email protected]>
1021
1022 tests: Exclude tests for Windows build.
1023 + commit b270f2ec21b67f5728edae4b2ddf6fe17a0fd25a
1024 * tests/Makefile.am [HAVE_W32_SYSTEM] (TESTS, testtools): Fix.
1025
1026 2018-02-26 NIIBE Yutaka <[email protected]>
1027
1028 Silence two minor warning on Windows.
1029 + commit 6c736325c028647dc3283bf723e2e28199e7f45b
1030 * src/assuan-defs.h [HAVE_W64_SYSTEM] (SOCKET2HANDLE): Care for size
1031 of integer.
1032 * src/stpcpy.c: No K&R anymore.
1033
1034 2018-02-23 NIIBE Yutaka <[email protected]>
1035
1036 Fix previous commit.
1037 + commit 35aad6b5d53b292e8e7c52c4eb90535be0580cd2
1038
1039
1040 2018-02-20 NIIBE Yutaka <[email protected]>
1041
1042 Better credential support for other OSes.
1043 + commit 0ad3aafe2c02cdff21e10a59de56b8a2f9532be3
1044 * configure.ac (HAVE_UCRED_H, HAVE_SYS_UCRED_H): Check these headers
1045 unconditionally.
1046 (HAVE_SO_PEERCRED, HAVE_LOCAL_PEEREID): Remove.
1047 (HAVE_STRUCT_SOCKPEERCRED_PID): New.
1048 (HAVE_GETPEEREID): New.
1049 * src/assuan-socket-server.c (accept_connection_bottom): Add
1050 support for OpenBSD, macOS, and FreeBSD.
1051
1052 2017-12-07 Werner Koch <[email protected]>
1053
1054 Release 2.5.1.
1055 + commit 8fc922c45b66d4e4d1c6c55de617cfeef2c01357
1056
1057
1058 Fix regression in ASSUAN_SYSTEM_NPTH_IMPL.
1059 + commit d38817fd0e24acfd295bd7f81b77254afd0cc6d5
1060 * src/assuan.h.in (ASSUAN_SYSTEM_NPTH_IMPL): A void fucntion can't
1061 assign.
1062
1063 Release 2.5.0.
1064 + commit ec92ef4ee3df1fdca7db19f691f64a2f96dcfc71
1065
1066
1067 2017-12-07 NIIBE Yutaka <[email protected]>
1068 [email protected]
1069
1070 Allow change of system hooks for assuan_sock_...
1071 + commit 90dc81682b13a7cf716a8a26b891051cbd4b0caf
1072 * src/assuan-socket.c (assuan_sock_set_system_hooks): New.
1073 * src/assuan.h.in (assuan_sock_set_system_hooks): New prototype.
1074 * src/libassuan.def: Add new function.
1075 * src/libassuan.vers: Add new function.
1076
1077 2017-12-06 NIIBE Yutaka <[email protected]>
1078
1079 Use wrapped __assuan_usleep for _assuan_npth_usleep.
1080 + commit a627350eed5dc32bac41195462f27dee1987b0f5
1081 * src/assuan.h.in (_assuan_npth_usleep): Wrap __assuan_usleep.
1082
1083 2017-12-01 Werner Koch <[email protected]>
1084
1085 Release 2.4.5.
1086 + commit a70eaa8a3347660cf2f66ada0fa82cf991a1d7a0
1087
1088
1089 2017-11-30 NIIBE Yutaka <[email protected]>
1090
1091 Wrap assuan_close for nPth.
1092 + commit 0b551de6ca57790c511f32755880bbeaa1cacf85
1093 * src/assuan.h.in (_assuan_npth_close): New.
1094 (_assuan_system_npth): Use _assuan_npth_close.
1095
1096 2017-11-20 Ben Kibbey <[email protected]>
1097
1098 tests: Fix build.
1099 + commit a63c4f33d5c10173dd54e2af32b127aa49498bfe
1100 * tests/fdpassing.c: Include config.h to define GPGRT_ENABLE_ES_MACROS.
1101
1102 2017-11-16 Werner Koch <[email protected]>
1103
1104 Release 2.4.4.
1105 + commit 3611db285fda5514c25fe18322bc02a2d257ab9e
1106
1107
1108 2017-11-15 Werner Koch <[email protected]>
1109
1110 Add special check version request \001\001.
1111 + commit 4f5596cf09c9e3e7845aa703f68e49168797fd2a
1112 * src/assuan.c (assuan_check_version): Handle version "\001\001"
1113 * tests/version.c (main): Print extended version info.
1114
1115 Let configure create the VERSION file.
1116 + commit dfb8654f66f8ddeeb048e195a4f98c0aeed9ffb7
1117 * autogen.sh: Update from Libgpg-error
1118 * configure.ac: Create file VERSION.
1119 * Makefile.am (dist-hook): Do not create VERSION.
1120 (EXTRA_DIST): Add VERSION.
1121
1122 Fix last commit.
1123 + commit 4d4c82ae2bbe7c0e08391ecf34e1aaadfdab435f
1124 * src/system-posix.c (__assuan_usleep): Its ysec and usecs
1125
1126 Fix the nanosleep case of __assuan_usleep.
1127 + commit 7b408d356094ab0ef0a07904a3ddf3832a8aa197
1128 * src/system-posix.c (__assuan_usleep): Handle full seconds.
1129
1130 2017-09-06 NIIBE Yutaka <[email protected]>
1131
1132 We can't support fd passing, if the system doesn't support it.
1133 + commit 87c2bb5708ff202651fca81d91d5f1e0c898cb07
1134 * configure.ac (check_descriptor_passing): New.
1135 (use_descriptor_passing): Use check_descriptor_passing.
1136
1137 Define INADDR_LOOPBACK if not defined.
1138 + commit 87473cd29ca9d5e3fb1c3172126c1122472d8b90
1139 * src/assuan-socket.c (INADDR_LOOPBACK): Define.
1140
1141 2017-06-19 Marcus Brinkmann <[email protected]>
1142
1143 configure: Add flag to disable documentation build.
1144 + commit 859f9a9754708572a6289853d7d95b9ee3eae589
1145 * configure.ac: Add new option --disable-doc.
1146 (BUILD_DOC): New automake conditional.
1147 * Makefile.am (SUBDIRS): Make doc optional based on BUILD_DOC.
1148 (DISTCHECK_CONFIGURE_FLAGS): New variable.
1149
1150 Signed-Off-By: Marcus Brinkmann <[email protected]>
1151
1152 2017-05-31 NIIBE Yutaka <[email protected]>
1153
1154 Use gpgrt_free to release memory allocated by gpgrt_asprintf.
1155 + commit 62f3123d3877c8a84961e5f907bf959d4593fa5c
1156 * src/assuan-logging.c (_assuan_log_control_channel): Use gpgrt_free.
1157 * src/debug.c (_assuan_debug, _assuan_debug_add, _assuan_debug_end):
1158 Likewise.
1159
1160 2017-03-08 Justus Winter <[email protected]>
1161
1162 build: Use macOS' compatibility macros to enable all features.
1163 + commit b26b73d04bff10852382113ae361ea5726661510
1164 * configure.ac: On macOS, use the compatibility macros to expose every
1165 feature of the libc. This is the equivalent of _GNU_SOURCE on GNU
1166 libc.
1167
1168 2016-09-04 Ben Kibbey <[email protected]>
1169
1170 EPROTO portability fix.
1171 + commit 8ab3b9273524bd344bdb90dd5d3bc8e5f53ead6e
1172 * src/assuan-socket.c(socks5_connect): Return EPROTONOSUPPORT rather
1173 than EPROTO.
1174
1175 2016-07-14 Werner Koch <[email protected]>
1176
1177 Release 2.4.3.
1178 + commit 316a040452c0956ecab4ce6b5d99d5e75b36879b
1179 * configure.ac: Set LT version to C7/A7/R3.
1180 * Makefile.am (distcheck-hook): New.
1181
1182 2016-07-13 Werner Koch <[email protected]>
1183
1184 build: Update config.{guess,sub} to {2016-05-15,2016-06-20}.
1185 + commit cbf913c5d543163fa29703884bae3676a57a3261
1186 * build-aux/config.guess: Update.
1187 * build-aux/config.sub: Update.
1188
1189 Improve test for inet_pton on Solaris.
1190 + commit c52829e32fe9108fc0e39d478eede24ac5e694ac
1191 * configure.ac (HAVE_INET_PTON): Add a fallback test.
1192
1193 Allow socket redirection with assuan_socket_connect.
1194 + commit 678f6063b53e4a2cc919f5a8b9d8bde743839c54
1195 * src/assuan-socket-connect.c (assuan_socket_connect): Use
1196 set_socketaddr function.
1197
1198 Speedup closing fds before an exec.
1199 + commit e64f9a4af5a379f5a9fde59f0f944cd10ccfc6ea
1200 * src/system-posix.c [__linux__]: Include dirent.h.
1201 (get_max_fds) [__linux__]: Return the actual used highest fd.
1202
1203 2016-07-05 Justus Winter <[email protected]>
1204
1205 Fix distcheck.
1206 + commit 70bb71e51462e9d81eff80ef8308cd8e15ea96ca
1207 * tests/Makefile.am (EXTRA_DIST): Drop compiled test.
1208
1209 2016-06-25 Werner Koch <[email protected]>
1210
1211 Fix minor memory leaks.
1212 + commit d60ef7192ad95ec2ec1aef436742f56e6c750b89
1213 * src/assuan-pipe-connect.c (socketpair_connect): Always free
1214 CHILD_FDS.
1215 * src/assuan-uds.c (uds_sendfd): Clear CONTROL_U to silence Valgrind.
1216 * tests/fdpassing.c (main): Free FNAME.
1217
1218 * src/assuan-handler.c (dispatch_command): Remove dead assignment.
1219
1220 2016-01-15 Werner Koch <[email protected]>
1221
1222 Improve getting of max. number of open fds.
1223 + commit 7101fcbb662220326f2fc786219c1853f27a5298
1224 * configure.ac (AC_CHECK_FUNCS): Add getrlimit.
1225 * src/assuan-pipe-connect.c (MAX_OPEN_FDS): Remove non-used macro.
1226 * src/system.c (MAX_OPEN_FDS): Remove non-used macro.
1227 * src/system-posix.c: Include stdint.h, sys/time.h, sys/resource.h.
1228 (MAX_OPEN_FDS): Remove non-used macro.
1229 (get_max_fds): New. Taken from gnupg/common/exechelp-posix.c.
1230 (__assuan_spawn): Use it here.
1231
1232 2015-12-02 Werner Koch <[email protected]>
1233
1234 Release 2.4.2.
1235 + commit e0516c5bbac23aa2d2a0b59caad67fca00b3183f
1236 * configure.ac: Bump LT version to C7/A7/R2.
1237
1238 2015-11-27 Werner Koch <[email protected]>
1239
1240 New feature to test for SOCKS5 proxy availability.
1241 + commit 05ac2dc5c77fa4b87e98508c1b15fd254806b1ce
1242 * src/assuan-socket.c (socks5_connect): Add special treatment for
1243 empty hostnames.
1244 (_assuan_sock_connect_byname): Add feature to test for proxy
1245 availibility.
1246 * tests/socks5.c (main): Add option --have-proxy.
1247
1248 2015-11-26 Werner Koch <[email protected]>
1249
1250 Protect connect system hook against blocking (nPth).
1251 + commit 18ca1593c62d62bb72b4e7e14347cd221c187138
1252 * src/assuan.h.in (ASSUAN_SYSTEM_NPTH_IMPL): Add wrapper for connect.
1253
1254 Do not use size_t with _assuan_read.
1255 + commit 9f24377f9f19983926233af8b475328bb7fe9e65
1256 * src/assuan-socket.c (do_readn): Use ssize_t for N.
1257
1258 2015-11-23 Werner Koch <[email protected]>
1259
1260 Release 2.4.1.
1261 + commit add6953a916dafa93ae152bffc937a93ab5b55f8
1262 * configure.ac: Bump LT version to C7/A7/R1.
1263
1264 Make socks5 test case a bit more robust.
1265 + commit 429ff31fe72db8afedaad3f2d089c9c3b5dae41e
1266 * tests/socks5.c (main): Call gpgrt_init. Check for write and read
1267 errors. Allow building of some parts even w/o getaddrinfo.
1268
1269 2015-11-21 Werner Koch <[email protected]>
1270
1271 Also try port 9150 in Tor mode.
1272 + commit 5b927b3dcffa2918e6b503c4907923aadbad0865
1273 * src/assuan-socket.c (TOR_PORT2): New.
1274 (_assuan_sock_wsa2errno): Map WSAECONNREFUSED.
1275 (socks5_connect): Fall back to TOR_PORT2.
1276
1277 2015-11-21 Andre Heinecke <[email protected]>
1278
1279 Fix windows build with mingw-w64 2.0.x.
1280 + commit cef28d96debcf94003f94f3ea2181e80aff0b665
1281 * src/assuan-socket.c: Add errno values not defined by mingw-w64 2.0
1282
1283 2015-11-03 Werner Koch <[email protected]>
1284
1285 Release 2.4.0.
1286 + commit 0beb1784e7b72e31ecec441ee0a8ba4cef63d853
1287 * configure.ac: Bump LT version to C7/A7/Ro.
1288
1289 w32: Use assuan_fd_t with the new socket functions.
1290 + commit 6034cc02e38cb947800f904f678c4ef5ff9c2050
1291 * src/assuan-socket.c (socks5_connect): Use assuan_fd_t instead of
1292 int.
1293 (_assuan_sock_connect): Ditto.
1294 (_assuan_sock_connect_byname): Ditto.
1295
1296 Use asprintf function from libgpg-error.
1297 + commit 7279c3ce9283723bd7f670051cd8a2087f62cd7f
1298 * configure.ac: Require libgpg-error 1.17.
1299 (vasprintf): Remove ac_replace.
1300 * src/assuan-defs.h [!HAVE_VASPRINTF]: Remove replace wrapper.
1301 * src/assuan-logging.c (_assuan_log_control_channel):
1302 (_assuan_log_control_channel): s/asprintf/gpgrt_asprintf/.
1303 * src/debug.c (_assuan_debug): s/vasprintf/gpgrt_vasprintf/.
1304 (_assuan_debug_begin): Ditto.
1305 (_assuan_debug_add): Ditto. s/asprintf/gpgrt_asprintf/.
1306
1307 2015-10-26 Werner Koch <[email protected]>
1308
1309 Tests: Cope with broken HTTP servers.
1310 + commit dda9c84bc67326a6d2bef1e5c45b5de8b67eeb40
1311 * tests/socks5.c (main): Use GET instead of HEAD
1312
1313 Support hostname based SOCKS5 connection.
1314 + commit 4061ac57ca84a1e0ed779096897a160d49b50c03
1315 * src/assuan.h.in (ASSUAN_SOCK_SOCKS): New.
1316 (ASSUAN_SOCK_TOR): New.
1317 (assuan_sock_connect_byname): New.
1318 * src/libassuan.def, src/libassuan.vers: Add that function.
1319
1320 * src/assuan-socket.c (socks5_connect): Add args socksport,
1321 credentials, hostname, and hostport. Implement user/password
1322 authentication and domainname address type. Change callers
1323 accordingly.
1324 (_assuan_sock_connect_byname): New.
1325 (assuan_sock_connect_byname): New.
1326
1327 * tests/socks5.c (main): Add options --byname, --user, and --pass.
1328
1329 2015-10-18 Werner Koch <[email protected]>
1330
1331 Support SOCKS5 for assuan_sock_connect.
1332 + commit 85ece74a11718338dcd76d6e43ea8100183df02f
1333 * src/assuan-socket.c: Include netinet/in.h and arpa/inet.h.
1334 (SOCKS_PORT, TOR_PORT): New constants.
1335 (tor_mode): New variable.
1336 (_assuan_sock_set_flag): Add flags "tor-mode" and "socks".
1337 (_assuan_sock_get_flag): Ditto.
1338 (do_readn, do_writen): Always build.
1339 (socks5_connect): New.
1340 (use_socks): New.
1341 (_assuan_sock_connect): Divert to socks5_connect if requested.
1342
1343 * tests/socks5.c: New.
1344 * configure.ac (AH_TOP): Define GPGRT_ENABLE_ES_MACROS.
1345 (AC_CHECK_FUNC): Check for getaddrinfo.
1346 * tests/Makefile.am (testtools): New. Add socks5.
1347 (AM_LDFLAGS): Add -no-install for easier debugging.
1348
1349 2015-08-28 Werner Koch <[email protected]>
1350
1351 Post release updates.
1352 + commit 3aec1981cfd0a7b29750965c065a45ad928e66dc
1353
1354
1355 Release 2.3.0.
1356 + commit cdb1e6484d6f094f8e795bfec5b314ec524a90f8
1357 * configure.ac: Set LT version to C6/A6/R0.
1358
1359 Support Cygwin local sockets.
1360 + commit 6d4a8ee2a6c749eec70bd3ae804f21456e375727
1361 * src/assuan-socket.c (cygwin_fdtable, cygwin_fdtable_cs): New.
1362 (is_cygwin_fd, insert_cygwin_fd, delete_cygwin_fd): New.
1363 (assuan_sock_init) [W32]: Init the CS.
1364 (assuan_sock_deinit) [W32]: Deinit the CS.
1365 (read_port_and_nonce): Add arg cygwin and detect Cygwin socket files.
1366 (_assuan_sock_set_flag): Add "cygwin" flag.
1367 (_assuan_sock_get_flag): Ditto.
1368 (do_readn, do_writen): New.
1369 (_assuan_sock_bind): Create a Cygwin socket file depending on a socket
1370 flag.
1371 (_assuan_sock_connect): Handle the cygwin socket protocol.
1372 (_assuan_sock_check_nonce): Ditto.
1373
1374 Read up remaining lines in assuan_inquire after reaching MAXLEN.
1375 + commit 5a52404c704d0e99629a2db79dda17e3b95c9680
1376 * src/assuan-inquire.c (assuan_inquire): Clear return args on error.
1377 Read up remaining lines after MAXLEN has been hit.
1378
1379 2015-08-25 Werner Koch <[email protected]>
1380
1381 Add configure option --enable-build-timestamp.
1382 + commit d4bef26a49879761867ad6d57113341915db6acf
1383 * configure.ac (BUILD_TIMESTAMP): Set to "<none>" by default.
1384
1385 2015-08-07 Werner Koch <[email protected]>
1386
1387 Wipe the context before releasing as an extra safeguard.
1388 + commit b5cbf11ccece653819a782a3e8adbb785fe36d7d
1389 * src/assuan-defs.h (wipememory2, wipememory): New. Taken from GnuPG.
1390 * src/assuan.c (assuan_release): Wipe the context.
1391
1392 2015-06-30 Werner Koch <[email protected]>
1393
1394 Add assuan_sock_set_flag and assuan_sock_get_flag.
1395 + commit 87def94c86d5272c23daf2b5ea446c5553aa1d90
1396 * src/assuan-socket.c (_assuan_sock_set_flag): New.
1397 (assuan_sock_set_flag): New.
1398 (_assuan_sock_get_flag, assuan_sock_get_flag): New.
1399 * src/assuan.h.in (assuan_sock_set_flag): New.
1400 (assuan_sock_get_flag): New.
1401 * src/libassuan.def: Add them.
1402 * src/libassuan.vers: Add them.
1403
1404 2015-06-26 Werner Koch <[email protected]>
1405
1406 Return GPG_ERR_SOURCE_ASSUAN on errors with no CTX.
1407 + commit cd8face27cc96cb0092c920e6e5bdee81a61c420
1408 * src/assuan-defs.h (_assuan_error): Use error source Assuan if no CTX
1409 is given.
1410
1411 Do not segv if NULL is passed for CTX in sendfd and receivefd.
1412 + commit 0da6afa864cfd68333941d6332d762c82928946c
1413 * src/assuan-buffer.c (assuan_sendfd): Check that CTX is not NULL.
1414 (assuan_receivefd): Ditto.
1415
1416 2015-06-01 Neal H. Walfield <[email protected]>
1417
1418 Fix documentation for assuan_inquire.
1419 + commit c6b131949bb6c77392af2cbbbeb8ea1bed129b79
1420 * doc/assuan.texi (assuan_inquire): Fix and improve description of
1421 this function.
1422
1423 2015-05-12 Werner Koch <[email protected]>
1424
1425 Release 2.2.1.
1426 + commit 1f0896c86b0d6b02a71b90f122bf3fa90e75fb9d
1427
1428
1429 2015-05-07 Daniel Kahn Gillmor <[email protected]>
1430
1431 clean up assuan documentation.
1432 + commit e6e51c067181a94d92353f5af2340e75a839c4e3
1433 * doc/assuan.texi: fix documentation
1434
1435 2015-05-07 Neal H. Walfield <[email protected]>
1436
1437 Documentation cleanups.
1438 + commit ccd1811479e9d30dcd207a5031eda07958459fe2
1439
1440
1441 2015-01-30 Werner Koch <[email protected]>
1442
1443 w32: Use -static-libgcc to avoid linking to libgcc_s_sjlj-1.dll.
1444 + commit 5cdc9c457f4e549491fa3f0db75119abd078b070
1445 * src/Makefile.am (extra_ltoptions): New.
1446 (libassuan_la_LDFLAGS): Use it.
1447
1448 2015-01-28 Werner Koch <[email protected]>
1449
1450 Require the use of automake 1.14.
1451 + commit 77dfed442db065ce0c9e0afb8a0f6fd3ae169a64
1452 * configure.ac (AM_INIT_AUTOMAKE): Add serial-tests.
1453 * src/Makefile.am (INCLUDES): Rename to AM_CPPFLAGS and remove the
1454 nonexistent ../include/.
1455
1456 w32: Fix assuan_connect_fd.
1457 + commit 91a98e2c812dccd73c57badd02da7642e0421c8e
1458 * src/assuan-socket-connect.c (assuan_socket_connect_fd): Map fd to
1459 assuan_fd_t.
1460
1461 Fix gcc warning about unused values.
1462 + commit 5e0a01fad54ca16a4cff2c0fc33bf16aac62f417
1463 * src/debug.h: Remove traling ", 0" expression part where not useful.
1464
1465 2015-01-27 Werner Koch <[email protected]>
1466
1467 Fix WSAEADDRINUSE EADDRINUSE mismatch.
1468 + commit ab5264b20f75a4dcc8baf2e672394d3a84c60870
1469 * src/w32-sock-nonce.inc.h (EADDRINUSE): Avoid redefining.
1470 * src/assuan-socket.c (_assuan_sock_bind): Set error to EADDRINUSE.
1471
1472 2014-12-11 Werner Koch <[email protected]>
1473
1474 Release 2.2.0.
1475 + commit 261498de39a10a00d5035f2481d33319c983875f
1476 * configure.ac: Set LT version to C5/A5/R0.
1477 (AM_INIT_AUTOMAKE): Add options.
1478 * Makefile.am (AUTOMAKE_OPTIONS): Remove.
1479
1480 2014-11-28 Werner Koch <[email protected]>
1481
1482 Do not allow LFs in the redirected name.
1483 + commit 0fce017100c5896cf9dc1fcbd4a39053651c3910
1484 * src/assuan-socket.c (eval_redirection): Stop parsing at the first
1485 LF.
1486
1487 Implement socket file redirection.
1488 + commit 1f99031cb55e88840d98dd71381b2bc2618406fc
1489 * configure.ac (AC_CHECK_FUNC): Check for stat.
1490 * src/assuan-socket.c (SUN_LEN): Add.
1491 (eval_redirection): New.
1492 (_assuan_sock_connect) [!W32]: Implement socket file redirection.
1493 (_assuan_sock_set_sockaddr_un): New.
1494 (assuan_sock_set_sockaddr_un): New.
1495
1496 2014-11-07 Werner Koch <[email protected]>
1497
1498 Release 2.1.3.
1499 + commit 3003c5d70febc8d4b6be9c95ca6deda7b033cabc
1500 * configure.ac: Set LT version to C4/A4/R3.
1501
1502 w32: Remove I/O delays due to our 100ms delay after an EAGAIN.
1503 + commit 1023508f210cd136992661c01b55b428de86a182
1504 * src/system-w32.c (__assuan_read): Retry using select. Map
1505 WSAECONNRESET to EPIPE.
1506 (__assuan_write): Retry using select.
1507 * src/assuan-buffer.c (readline) [W32]: Return EOF instead of EPIPE.
1508
1509 2014-08-17 Werner Koch <[email protected]>
1510
1511 Release 2.1.2.
1512 + commit a5d7f4999f4aa844d9446bd4524cb6a47219826c
1513 * configure.ac: Set LT version to C4/A4/R2.
1514
1515 Update build system.
1516 + commit 49a930a613b280fdd55e6d558a2ae414bdbbf66e
1517 * autogen.sh: Add --find-version stuff. Taken from GnuPG.
1518 * configure.ac: Change accordingly
1519
1520 Fix possible segv in a call to _assuan_debug.
1521 + commit b6da2da96780ec270439eba5569a618cabe4da02
1522 * src/context.c (assuan_set_error): Do not pass NULL for %s in the
1523 trace function.
1524
1525 2014-06-30 Werner Koch <[email protected]>
1526
1527 Avoid a vasprintf call if tracing has not been enabled.
1528 + commit 134c045c7d1f93ce61f62193d33af8a6e8825543
1529 * src/debug.c (_assuan_debug): Check wether CAT want to be logged.
1530
1531 2014-04-16 Werner Koch <[email protected]>
1532
1533 Fix NULL deref when tracing is enabled and malloc fails.
1534 + commit 326a2918d645dd3d38dbc928e4452c66cb9757f1
1535 * src/debug.h (TRACE_ERR): Check CTX before a deref.
1536 * src/assuan-defs.h (_assuan_error): Turn into an inline function and
1537 check CTX before a deref.
1538
1539 2014-01-10 Werner Koch <[email protected]>
1540
1541 Use the generic autogen.sh script.
1542 + commit a5a6aea1ef063b9c6801b5f5ff482b7599ec4b2e
1543 * autogen.rc: New.
1544 * Makefile.am (EXTRA_DIST): Add it.
1545 * autogen.sh: Update from GnuPG.
1546
1547 Move helper scripts to build-aux.
1548 + commit a9c9aaca70c770cf5f9d05ce2417343490e45627
1549 * compile, config.guess, config.rpath, config.sub, depcomp, ltmain.sh
1550 * doc/mdate-sh, doc/texinfo.tex, install-sh, missing: Move to
1551 build-aux/.
1552 * Makefile.am (EXTRA_DIST): Remove config.rpath - it is implicitly
1553 distributed.
1554 * configure.ac (AC_CONFIG_AUX_DIR): New.
1555 (AM_SILENT_RULES): New.
1556
1557 2013-12-03 Werner Koch <[email protected]>
1558
1559 Add build support for ppc64le.
1560 + commit 46b6d97b4a396c16df53e82872c3cc772d427623
1561 * config.guess, config.sub: Update to latest version (2013-11-29).
1562 * m4/libtool.m4: Add patches for ppc64le.
1563
1564 2013-06-24 Werner Koch <[email protected]>
1565
1566 Release 2.1.1.
1567 + commit cf1e6f64c83194a42012cc786a0da2814be72883
1568 * configure.ac: Set LT version to C4/A4/R1.
1569
1570 2013-06-19 Werner Koch <[email protected]>
1571
1572 Changes to support W64.
1573 + commit 6ba18ca32c8669fa76cc10de3382f78212ca51a8
1574 * configure.ac (have_dosish_system): Set for W64.
1575 * src/assuan-defs.h (SOCKET2HANDLE, HANDLE2SOCKET): Add versions for
1576 W64.
1577 * src/assuan-handler.c (assuan_command_parse_fd) [W64]: Use strtoull
1578 to parse an FD.
1579
1580 2013-06-17 Werner Koch <[email protected]>
1581
1582 Add hack to have different names for 64 bit Windows DLLs.
1583 + commit f88eb9e98f491b503f46c7d995c9651f1e46b9e9
1584 * ltmain.sh: Prefix the SO number for W64 with a "6".
1585
1586 Support building for w64.
1587 + commit 61f5ca41e9d44bdd266cb4e91abe45fc5f2ddf3e
1588
1589
1590 2013-02-22 Werner Koch <[email protected]>
1591
1592 Release version 2.1.0.
1593 + commit 7d227acff329a921f76cd4c391d7cbae40115672
1594 * configure.ac: Bump LT version to C4/A4/R0.
1595
1596 Add assuan_check_version and ASSUAN_VERSION_NUMBER.
1597 + commit ab2e01598446120dac09e49c63a5c8fc27a1bc32
1598 * src/assuan.c (assuan_check_version): New.
1599 (digitp, parse_version_number, parse_version_string)
1600 (compare_versions): New. Taken from libksba.
1601 * configure.ac (VERSION_NUMBER): New ac_subst.
1602 * src/Makefile.am (assuan.h): Pass VERSION and VERSION_NUMBER to
1603 mkheader.
1604 * src/assuan.h.in (ASSUAN_VERSION, ASSUAN_VERSION_NUMBER): New macros.
1605 (assuan_check_version): New prototype.
1606 * src/libassuan.def, src/libassuan.vers: Add assuan_check_version.
1607 * src/mkheader.c (write_special, main): Support version and
1608 version_number.
1609 * tests/version.c: New.
1610 * tests/Makefile.am (TESTS): Add version.
1611
1612 w32: Fix header inclusion order for newer toolchain.
1613 + commit a4d64a06f9b80ed58cd8f9ca4a68393733c36b1f
1614 * src/system-w32.c: Do not include windows.h here.
1615
1616 Beautify the BUILD_TIMESTAMP and put it into the binary.
1617 + commit c6c80414201a1c58e24220ff9ea214c7164ccc8d
1618 * configure.ac (BUILD_TIMESTAMP): Use an ISO date string on all
1619 platforms and ac_define it.
1620 * src/sysutils.c (_assuan_sysutils_blurb): But revision and build date
1621 into the binary.
1622
1623 w32ce: Adjust to changed API and make it build again.
1624 + commit 3eec7a1f67dc1af2199d91ee017be26b24c389b6
1625 * src/system-w32ce.c (__assuan_write, __assuan_recvmsg)
1626 (__assuan_sendmsg, __assuan_waitpid): Make functions global.
1627 * tests/ce-server.c: Fix syntax error (s/#else/#endif)
1628
1629 w32: Allow overriding a toolchain via ~/.gnupg-autogen.rc.
1630 + commit e321c69006a12577e41408a2e1ea726a19b75c00
1631 * autogen.sh (build-w32): Include {amd64,w32_toolprefixes).
1632
1633 Modernize release version management.
1634 + commit 807d9cd2a27c62ab6c91b9ec1dd11675ec0382d6
1635 * configure.ac: Update to modern git version checking. Remove svn
1636 support.
1637 * src/versioninfo.rc.in: Update copyright years.
1638
1639 Fix --with-{lib,}gpg-error-prefix.
1640 + commit 97ce28a430129ce997783c6196ccfe737f5b3007
1641 * m4/gpg-error.m4: Update from current gpg-error git.
1642
1643 Update helper scripts.
1644 + commit 0884e91324232b4d7dfdc8fad0dea9948519845b
1645 * compile, config.guess, config.rpath, config.sub, depcomp,
1646 * install-sh, mkinstalldirs: Update to current versions from gnulib.
1647
1648 2013-02-07 Werner Koch <[email protected]>
1649
1650 Make assuan_transact more robust against inquiry errors.
1651 + commit f17039b1ece8a8b2c56766f86b002536c7599699
1652 * src/client.c (assuan_transact): Send an CAN after an error return
1653 from the inquiry callback.
1654
1655 2012-11-26 Ben Kibbey <[email protected]>
1656
1657 Check for getpeerucred().
1658 + commit cd96daf5a4ddb4a7e9e373220a7aaead0a97c8cf
1659 * configure.ac: check for getpeerucred() which (Open)Solaris/SunOS
1660 uses.
1661 * src/assuan-socket-server.c (accept_connection_bottom): make use
1662 of getpeerucred().
1663
1664 2012-11-21 Ben Kibbey <[email protected]>
1665
1666 Support LOCAL_PEEREID (NetBSD) and getpeereid() (FreeBSD)
1667 + commit 76ea68c2a77cafe2424fe6bc97403c9d9a6b1e95
1668 * configure.ac: check for LOCAL_PEEREID and getpeereid().
1669 * src/assuan-socket-server.c (accept_connection_bottom): make use of
1670 LOCAL_PEEREID and getpeereid().
1671
1672 2012-11-16 Werner Koch <[email protected]>
1673
1674 Improve parsing of the GIT revision number.
1675 + commit 76ceeb3582bba138227bf76167b451ee017d38fc
1676 * configure.ac (mmm4_revision): Use git rev-parse. Print version
1677 information at the end of a configure run.
1678
1679 Fix non-portable use of chmod in autogen.sh.
1680 + commit e6688eebc03fda7c8c81789c24ad13c06f648a9f
1681 * autogen.sh: Remove option -c from chmod.
1682
1683 2012-06-05 W. Trevor King <[email protected]>
1684
1685 src/assuan-handler.c: add help strings for standard commands.
1686 + commit ca3f8e4b5bbe5549bd7804cf3bff36be21db1b82
1687
1688
1689 2012-04-20 W. Trevor King <[email protected]>
1690
1691 Update example code for pipe server.
1692 + commit 7cf99d04d864fb308159fb928057f59eb4e5a110
1693 * doc/assuan.texi: Fix server example code to use assuan_new.
1694
1695 Wrap reference to END with @code.
1696 + commit f40f8033b21bad8801b43676b486dab80c532397
1697 * doc/assuan.texi: Wrap reference to END with @code{}.
1698
1699 2012-04-20 Werner Koch <[email protected]>
1700
1701 State new contribution rules.
1702 + commit 861d19e028af70c7009640efc98eb485fff546d7
1703 * doc/DCO: New.
1704 * doc/HACKING: Doument new rules. Give examples for commit logs.
1705
1706 2012-01-25 Werner Koch <[email protected]>
1707
1708 Make new functions also visible on non-W32.
1709 + commit 5c00c7cc2901a879927a5756e1bb7ecf49439ebc
1710 * src/system-posix.c (__assuan_read, __assuan_write, __assuan_recvmsg)
1711 (__assuan_sendmsg, __assuan_waitpid): Make functions global.
1712 * src/libassuan.vers: Add above functions.
1713 * configure.ac: Set version to 2.1.0-git.
1714
1715 Require gitlog-to-changelog to be installed.
1716 + commit dbfbc908121afd1cf3177249d9378fc787a9cff7
1717 * Makefile.am (GITLOG_TO_CHANGELOG): New.
1718 (gen-ChangeLog): Use installed version of gitlog-to-changelog.
1719 * build-aux/gitlog-to-changelog: Remove from repo.
1720
1721 2012-01-24 Marcus Brinkmann <[email protected]>
1722
1723 Fix npth port file handle use.
1724 + commit cef55142f2552538714f8296479f58a63d14a239
1725 * assuan.h.in (ASSUAN_SYSTEM_NPTH_IMPL): Use npth_unprotect and
1726 npth_protect with actual assuan functions instead of npth wrappers.
1727 * libassuan.def: Add __assuan_read, __assuan_write, __assuan_sendmsg,
1728 __assuan_recvmsg, __assuan_waitpid exports.
1729 * system-w32.c (__assuan_read, __assuan_write, __assuan_sendmsg,
1730 __assuan_recvmsg, __assuan_waitpid): Make non-static.
1731
1732 2012-01-03 Marcus Brinkmann <[email protected]>
1733
1734 Make assuan portable to NPTH.
1735 + commit e23e6f2bd49f415f4fdca013e4f61e1b17995a51
1736
1737
1738 2011-12-20 Werner Koch <[email protected]>
1739
1740 Post release version number update.
1741 + commit 6ff1083166366b9d627e5e909f245cfb119b27a7
1742
1743
1744 Release version 2.0.3.
1745 + commit 3ebe00d6854f110301a2742041d6d5c3e95d8e6b
1746 * configure.ac: Bump LT version to C3/A3/R0.
1747
1748 Update gitlog-to-changelog to support --tear-off.
1749 + commit 132c70fe697346a1c9f75d51572835f6d4951b3b
1750
1751
1752 2011-12-13 Werner Koch <[email protected]>
1753
1754 Fix assuan_get_pid for pipe servers.
1755 + commit edbe8fdcea1a2c05999861f58d5f67d2e76610e0
1756 At some point in the past we introduced a regression in that the
1757 client of a pipe server received its own pid and not the pid of
1758 the server.
1759
1760 * src/assuan-pipe-connect.c (struct at_pipe_fork)
1761 (struct at_socketpair_fork): Add PARENT_PID.
1762 (at_pipe_fork_cb, at_socketpair_fork): Use PARENT_PID instead of getpid.
1763 (pipe_connect, socketpair_connect): Set PARENT_PID.
1764
1765 vasprintf.c: Improve test code.
1766 + commit ff9a8c2e64ea2345f2ebe85a527b7c43033ba53e
1767 * src/vasprintf.c (checkit): Set flag for a test failure.
1768 (main): Return error on any failure.
1769
1770 2011-12-01 Werner Koch <[email protected]>
1771
1772 Generate the ChangeLog from commit logs.
1773 + commit 165a57d29d2ac84159aa48b171b6098c629bc798
1774 * build-aux/gitlog-to-changelog: New script. Taken from gnulib.
1775 * build-aux/git-log-fix: New file.
1776 * build-aux/git-log-footer: New file.
1777 * doc/HACKING: New file.
1778 * ChangeLog: New file.
1779 * Makefile.am (EXTRA_DIST): Add new files.
1780 (gen-ChangeLog): New.
1781 (dist-hook): Run gen-ChangeLog.
1782 * autogen.sh: Install commit-msg hook for git.
1783
1784 Rename all ChangeLog files to ChangeLog-2011.
1785
1786 2011-12-01 Werner Koch <[email protected]>
1787
1788 NB: Changes done before December 1st, 2011 are described in
1789 per directory files named ChangeLog-2011. See doc/HACKING for
1790 details.
1791
1792 -----
1793 Copyright (C) 2011 Free Software Foundation, Inc.
1794
1795 Copying and distribution of this file and/or the original GIT
1796 commit log messages, with or without modification, are
1797 permitted provided the copyright notice and this notice are
1798 preserved.