aboutsummaryrefslogtreecommitdiffstats
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2005-09-082005-09-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-0/+7
* assuan-pipe-connect.c (assuan_pipe_connect2): Add missing declaration of PID.
2005-08-09* mkerrors: Include config.h into assuan-errors.c. This isWerner Koch5-104/+272
required so that assuan.h knows about the W32 macro. * assuan.h [_ASSUAN_EXT_SYM_PREFIX]: New. * assuan-io.c [_ASSUAN_NO_PTH]: New. * assuan-pipe-connect.c (fix_signals) [_ASSUAN_NO_FIXED_SIGNALS]: New. (assuan_pipe_connect2) [_ASSUAN_USE_DOUBLE_FORK]: Use double fork. (fix_signals) [_ASSUAN_USE_DOUBLE_FORK]: Do not wait..
2005-06-20Preparing for 0.6.10libassuan-0-6-10Werner Koch2-3/+3
2005-05-22* assuan-util.c (assuan_set_flag, assuan_get_flag): New.Werner Koch5-7/+74
* assuan-defs.h (struct assuan_context_s): New field flags. * assuan.h (assuan_flag_t): New with one flag value ASSUAN_NO_WAITPID for now. * assuan-pipe-connect.c (do_finish): Take care of the no_waitpid flag.
2005-04-04(_assuan_calloc): Avoid integer overflow.Werner Koch2-3/+18
2005-03-22(struct assuan_io): Renamed elements READ andWerner Koch5-5/+19
WRITE to READFNC and WRITEFNC to avoid problems with read defined as macros. Changed callers. Noted by Ville Skytt��.
2004-12-22Switched to automake 1.9.libassuan-0-6-9Werner Koch2-21/+8
2004-12-20(assuan_socket_connect): Allow for aWerner Koch2-2/+13
drive letter in the path.
2004-12-19(assuan_init_pipe_server) [W32]: Map fileWerner Koch2-2/+21
descriptors using _get_osfhandle.
2004-12-192004-12-19 Moritz Schulte <[email protected]>Moritz Schulte2-1/+6
* assuan-pipe-connect.c (assuan_pipe_connect2): Removed "`" character at beginning of line 532.
2004-12-18More W32 fixesWerner Koch2-17/+21
2004-12-18* autogen.sh: Add Option --build-w32.Werner Koch6-28/+363
* assuan-logging.c (_assuan_w32_strerror): New. * assuan-defs.h (w32_strerror): new. * assuan-pipe-connect.c (assuan_pipe_connect2, fix_signals): Factored signal code out to new function. (build_w32_commandline, create_inheritable_pipe): New. Taken from gnupg 1.9. (assuan_pipe_connect2) [W32]: Implemented for W32.
2004-12-07* configure.ac: Define HAVE_W32_SYSTEM and HAVE_DOSISH_SYSTEM.Werner Koch11-28/+53
Add -lwsock2 to the config lib flags for W32. * assuan-logging.c, assuan-io.c: Include config.h * assuan-pipe-connect.c (assuan_pipe_connect2) [_WIN32]: Return error Not Imlemented.
2004-11-27include/sys/types.hWerner Koch2-0/+6
2004-11-26Avoid warnings about unknown pragmas.Werner Koch3-9/+17
2004-11-24* assuan-logging.c (_assuan_log_printf): New.Werner Koch6-49/+71
* assuan-domain-connect.c (LOG): Removed and replaced all callers by _assuan_log_printf. This is needed for C89 and gcc 2.95 which both don't have C99 style variable arg macros. * assuan-pipe-connect.c (LOG): Ditto. * assuan-socket-connect.c (LOG): Ditto. * assuan-socket.c[!_WIN32]: Fixed includes.
2004-11-24Small API update and Windows fixesWerner Koch4-11/+23
2004-11-242004-11-23 Timo Schulz <[email protected]>Timo Schulz18-106/+391
* assuan-socket.c (_assuan_sock_connect): Get local port from the sun_path[] file. (_assuan_sock_bind): Write local port to the sun_path[] file. * assuan-socket-connect.c (assuan_socket_connect): Use DIRSEP_C for a better portability. (assuan-defs.h): Define DIRSEP_C. 2004-11-22 Timo Schulz <[email protected]> * assuan-io.c (_assuan_simple_read, _assuan_simple_write): W32 support. * assuan-socket.c (_assuan_close): New. (_assuan_sock_new): New. (_assuan_sock_bind): New.
2004-11-16* assuan-socket-connect.c (LOG): Fixed macro to print not only theWerner Koch4-10/+15
prefix. * assuan-domain-connect.c, assuan-socket-connect.c (LOG): Ditto.
2004-10-02* assuan-socket-connect.c: Define SUN_LEN, AF_LOCAL and PF_LOCALWerner Koch3-2/+39
if they are not available. * assuan-domain-connect.c: Define PF_LOCAL and AF_LOCAL if needed.
2004-06-232004-06-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-0/+7
* configure.ac: Check for <sys/uio.h>. src/ 2004-06-23 Marcus Brinkmann <[email protected]> * assuan-domain-connect.c [HAVE_SYS_UIO_H]: Include <sys/uio.h>.
2004-05-11* assuan-listen.c (assuan_set_hello_line, assuan_accept): AllowWerner Koch4-27/+96
for multi line hello strings. * assuan-buffer.c (_assuan_write_line): New with parts of .. (assuan_write_line): .. factored out.
2004-04-29* assuan-socket-connect.c: Include string.h.Werner Koch4-1/+8
* assuan-logging.c: Ditto.
2004-04-222004-04-22 Marcus Brinkmann <[email protected]>Marcus Brinkmann2-1/+5
* libassuan.m4: Quote first argument to AC_DEFUN.
2004-04-21* assuan-socket-server.c (accept_connection_bottom): Save the pidWerner Koch7-13/+41
of the peer if it is available. * assuan-socket-connect.c (assuan_socket_connect): Do not save the dummy SERVED_PID arg. * assuan-pipe-connect.c (do_finish): Don't wait if the pid is 0. (assuan_pipe_connect2): Store the parents pid in the environment of the child. * assuan-pipe-server.c (assuan_init_pipe_server): Initialize the peer's pid from the environment. * assuan-connect.c (assuan_get_pid): Do not return 0 as a PID.
2004-04-19* assuan-socket-server.c, assuan-socket-connect.c: IncludesWerner Koch5-2/+16
sys/types.h. Reported by Michael Nottebrock. * assuan-domain-connect.c: Ditto.
2004-03-14Include <errno.h>. Reported by Bernd Kuhls.Werner Koch2-0/+5
2004-02-20About to release 0.6.4libassuan-0-6-4Werner Koch2-6/+4
2004-02-18(assuan_get_data_fp): Fail with ENOSYS if weWerner Koch2-0/+10
can't implement this.
2004-02-15(memrchr): Fixed implementation. Taken from gpgme.Werner Koch2-6/+14
2004-02-13Removed the unneeded alloca.h.Werner Koch2-1/+4
2004-01-24(assuan_pipe_connect2): New as anWerner Koch3-16/+31
extension of assuan_pipe_connect. Made the latter call this one.
2004-01-14(_assuan_cookie_write_data): Return theWerner Koch3-4/+16
requested size to indicate successful operation. Fixes a spurious bug we previously fixed using fflush().
2003-12-18Last typo fix.Werner Koch1-1/+1
2003-12-18Getting ready for a new releaseWerner Koch2-22/+38
2003-12-16* assuan-buffer.c: Changed formatting of the debug output prefix.Werner Koch6-22/+73
* assuan-util.c (assuan_set_log_stream): Set global log stream if it has not been done yet. * assuan-logging.c (_assuan_set_default_log_stream): New. (assuan_set_assuan_log_prefix): New.
2003-12-11* funopen.c (_assuan_funopen): Renamed from funopen, to keep theWerner Koch3-12/+40
name space clean and avoid duplicate definitions if another library uses the same replacement. * assuan-defs.h (funopen): Renamed prototype and add a macro.
2003-12-08doc typo fixesWerner Koch2-1/+5
2003-11-12(process_request): Kludge to print better errorWerner Koch4-59/+109
messages for gpg-error enabled programs.
2003-11-112003-11-11 Moritz Schulte <[email protected]>Moritz Schulte2-3/+8
* assuan-socket-connect.c (assuan_socket_connect): Fix computation of socket address length.
2003-08-13(assuan_inquire): Increase length of cmdbuf toWerner Koch2-2/+7
the Assuan limit.
2003-08-06* lgpl.texi: New.libassuan-0-6-0Werner Koch1-1/+1
* gpl.texi: Removed. * assuan.texi: Dropped requirement vor invariant sections, front- and back-cover texts. Include lgpg.texi.
2003-07-03 * mkerrors: Kludge to print libgpg-error values in an easierWerner Koch3-3/+18
readable way.
2003-04-29* libassuan.m4: New. Based on libgrypt.m4.Werner Koch6-53/+142
* Makefile.am (m4data_DATA): New. * assuan.h (AssuanCommand): Removed. * assuan-handler.c: Remove the cmd_id element, (assuan_register_command): Likewise. Note that semantics changed. (_assuan_register_std_commands): Adjusted.
2003-02-222003-02-22 Neal H. Walfield <[email protected]>Neal Walfield2-1/+5
* Makefile.am (bin_SCRIPTS): Renamed from bin_PROGRAMS.
2003-02-18/Neal Walfield6-0/+150
2003-02-18 Neal H. Walfield <[email protected]> * configure.ac: Fix typo. (AC_CONFIG_FILES): Remove common/Makefile.am. * common: Remove directory. src/ 2003-02-18 Neal H. Walfield <[email protected]> * Makefile.am (libassuan_a_LIBADD): New variable. * funopen.c: Move from ../common. * isascii.c: Likewise. * memrchr.c: Likewise. * putc_unlocked.c: Likewise.
2003-02-18/Neal Walfield2-27/+11
2003-02-18 Neal H. Walfield <[email protected]> * common: New directory. * Makefile.am (SUBDIRS): Add common. * configure.ac: Check for funopen. If not present, check for fopencookie and implement it in terms of that. Otherwise, fail. (AC_CONFIG_FILES): Add common/Makefile. src/ 2003-02-18 Neal H. Walfield <[email protected]> * assuan-handler.c (_IO_cookie_io_functions_t): Remove. (cookie_io_functions_t): Remove. (fopencookie): Remove prototype. (assuan_get_data_fp): Use funopen, not fopencookie. common/ 2003-02-18 Neal H. Walfield <[email protected]> * Makefile.am: New file. * funopen.c: New file. * isascii.c: Imported from newpg. * memrchr.c: Likewise. * putc_unlocked.c: Likewise.
2003-02-18/Neal Walfield3-0/+120
2003-02-18 Neal H. Walfield <[email protected]> * configure.ac (AC_CONFIG_FILES): Add src/libassuan-config. (LIBASSUAN_CONFIG_LIBS, LIBASSUAN_CONFIG_CFLAGS): New variables. AC_SUBST them. src/ 2003-02-18 Neal H. Walfield <[email protected]> * libassuan-config.in: New file. * Makefile.am (bin_PROGRAMS): New variable.
2003-02-182003-02-17 Neal H. Walfield <[email protected]>Neal Walfield2-0/+5
* .cvsignore: New file.
2003-02-182003-02-17 Neal H. Walfield <[email protected]>Neal Walfield12-208/+232
* Makefile.am (lib_LIBRARIES): Use this instead of . . . (noinst_LIBRARIES): . . . this. (include_HEADERS): New variable. (libassuan_a_SOURCES): Remove assuan.h, add assuan-logging.c. * assuan.h (assuan_set_assuan_log_stream): New prototype. (assuan_get_assuan_log_stream): Likewise. (assuan_get_assuan_log_prefix): Likewise. * assuan-logging.c: New file. * assuan-buffer.c [HAVE_JNLIB_LOGGIN]: Do not include "../jnlib/logging.h". (my_log_prefix): Remove function. (_assuan_read_line): Use assuan_get_assuan_log_prefix in lieu of my_log_prefix. (assuan_write_line): Likewise. (_assuan_cookie_write_data): Likewise. (_assuan_cookie_write_flush): Likewise. * assuan-domain-connect.c (LOGERROR, LOGERROR1, LOGERROR2, LOGERRORX): Remove. (LOG): New macro. (domain_reader): Use it. (domain_writer): Likewise. (domain_sendfd): Likewise. (domain_receivefd): Likewise. (_assuan_domain_init): Likewise. (assuan_domain_connect): Likewise. * assuan-pipe-connect.c [HAVE_JNLIB_LOGGIN]: Do not include "../jnlib/logging.h". (LOGERROR, LOGERROR1, LOGERROR2, LOGERRORX): Remove. (LOG): New macro. (assuan_pipe_connect): Use it. * assuan-socket-connect.c [HAVE_JNLIB_LOGGIN]: Do not include "../jnlib/logging.h". (LOGERROR, LOGERROR1, LOGERROR2, LOGERRORX): Remove. (LOG): New macro. (assuan_socket_connect): Use it. (socket_reader): Remove dead code. (socket_writer): Likewise. * assuan-util.c [HAVE_JNLIB_LOGGIN]: Do not include "../jnlib/logging.h". (_assuan_log_sanitized_string): Use assuan_get_assuan_log_stream, not jnlib.