Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * timegm.c: New replacement function. Removes the need for setenv.c and | David Shaw | 2004-05-21 | 4 | -109/+76 |
| | | | | | | | | | unsetenv.c. * setenv.c: Removed. * unsetenv.c: Removed. | ||||
* | * iobuf.c (block_filter): Remove the old gpg indeterminate length mode. | David Shaw | 2004-03-04 | 2 | -84/+13 |
| | | | | | (iobuf_set_block_mode, iobuf_in_block_mode): Removed as superfluous. | ||||
* | * iobuf.c (block_filter): Properly handle a partial body stream that ends | David Shaw | 2004-03-01 | 2 | -1/+13 |
| | | | | | with a 5-byte length that happens to be zero. | ||||
* | * unsetenv.c: Fixed debugging typo. | David Shaw | 2004-02-28 | 2 | -1/+5 |
| | |||||
* | (lock_pool) [_AIX]: Also set errno. | Werner Koch | 2004-02-24 | 2 | -1/+6 |
| | |||||
* | * miscutil.c (hextobyte): Moved here from g10/misc.c so I can use it in | David Shaw | 2004-02-21 | 2 | -0/+30 |
| | | | | | the keyserver helpers. | ||||
* | * mkdtemp.c: New (moved from g10/), setenv.c: New, unsetenv.c: New. | David Shaw | 2004-02-20 | 5 | -2/+217 |
| | | | | | * Makefile.am: Include @LIBOBJS@ for replacement functions. | ||||
* | * argparse.c (default_strusage): Update copyright date. (initialize): | David Shaw | 2004-01-16 | 3 | -24/+48 |
| | | | | | | | | | Avoid a number of -Wformat-nonliteral warnings. These aren't actual problems, but the warnings bothered me. * miscutil.c (print_string2): New variation on print_string that allows two delimiters. (print_string): Call print_string2 to do work. | ||||
* | * g10u.c: Dead code. Remove. | David Shaw | 2003-12-30 | 4 | -41/+11 |
| | | | | | | | | * Makefile.am: Don't compile g10u.c. * iobuf.c (block_filter): Properly handle a partial body stream that ends with a 5-byte length. | ||||
* | * http.c (send_request, http_open_document, http_open): Pass the http | David Shaw | 2003-12-28 | 2 | -29/+22 |
| | | | | | proxy from outside rather than pulling it from the evironment. | ||||
* | cleaned up RISC OS code and removed lots of unnecessary stuff | Stefan Bellon | 2003-12-28 | 3 | -15/+33 |
| | |||||
* | * http.c (send_request): Add a Host: header for virtual hosts. | David Shaw | 2003-12-06 | 2 | -5/+7 |
| | |||||
* | * miscutil.c (answer_is_yes_no_default, answer_is_yes_no_quit): Don't use | David Shaw | 2003-12-05 | 2 | -5/+12 |
| | | | | | | alternate strings when not needed so we don't have to re-translate them. Hopefully the comment will be enough to indicate multiple match strings. | ||||
* | * miscutil.c (match_multistr): New. Match against each segment in a | David Shaw | 2003-11-21 | 2 | -16/+50 |
| | | | | | | | string with tokens separated by |. (answer_is_yes_no_default, answer_is_yes_no_quit, answer_is_okay_cancel): Use it here to enable alternate translations. | ||||
* | * http.c (connect_server): Differentiate between generic "can't connect" | David Shaw | 2003-11-01 | 2 | -4/+18 |
| | | | | | | errors and the more specific "host not found". Suggested by Samuel Tardieu. | ||||
* | * cardglue.c (open_card): Ask for card insertion. | Werner Koch | 2003-10-29 | 2 | -0/+39 |
| | | | | | | | | | | | | (check_card_serialno): New. (agent_scd_pksign, agent_scd_pkdecrypt): Use it here. * cardglue.c (open_card): Issue insertion status message. * status.h, status.c (STATUS_CARDCTRL): New. * status.c (cpr_get_answer_okay_cancel): New. * miscutil.c (answer_is_okay_cancel): New. | ||||
* | Replaced INTLLIBS by LIBINTL. | Werner Koch | 2003-10-25 | 2 | -2/+6 |
| | |||||
* | (lock_pool) [_AIX]: Don't use plock. | Werner Koch | 2003-10-23 | 2 | -0/+15 |
| | |||||
* | * srv.c: OSX 10.2.8/Darwin 6.8 seems to have some #include ordering | David Shaw | 2003-10-13 | 2 | -1/+6 |
| | | | | | issues? Move sys/types.h up higher to work around. | ||||
* | (tty_print_string, tty_print_utf8_string2) | Werner Koch | 2003-10-08 | 2 | -3/+8 |
| | | | | | (tty_print_utf8_string): Made string arg const. | ||||
* | 2003-09-28 Timo Schulz <[email protected]> | Timo Schulz | 2003-09-28 | 2 | -1/+17 |
| | | | | | * strgutil.c [WIN32] (asprintf): New. | ||||
* | (tty_fprintf): New. | Werner Koch | 2003-09-28 | 2 | -0/+51 |
| | |||||
* | 2003-09-21 Timo Schulz <[email protected]> | Timo Schulz | 2003-09-21 | 3 | -2/+10 |
| | | | | | | * http.c [WIN32]: Define MB_CUR_MAX. (connect_server): use unsigned long since W32 does not have in_addr_t. | ||||
* | * dotlock.c, http.c, iobuf.c, simple-gettext.c, srv.c, srv.h, strgutil.c, | David Shaw | 2003-08-28 | 10 | -35/+48 |
| | | | | | | | | | ttyio.c, w32reg.c: s/__MINGW32__/_WIN32/ to help building on native Windows compilers. Requested by Brian Gladman. From Werner on stable branch. * http.c (connect_server): Oops - forgot to freeaddrinfo(). | ||||
* | * http.c (connect_server): Try and use getaddrinfo if it is available. | David Shaw | 2003-08-25 | 2 | -51/+81 |
| | | | | | | Try for IPv6 via getaddrinfo() or a IPv6-ized gethostbyname(). Suggested by Jun-ichiro itojun Hagino. | ||||
* | * iobuf.c (check_special_filename): Replaced is isdigit by digitp | David Shaw | 2003-07-10 | 4 | -9/+21 |
| | | | | | | | | | to avoid passing negative values and potential locale problems. Problem noted by Christian Biere. * strgutil.c (strlwr,strcasecmp,strncasecmp): Make sure we don't pass a negative value. * miscutil.c (scan_isodatestr): Ditto. | ||||
* | * srv.h, srv.c: Include windows.h with MINGW32. | David Shaw | 2003-05-31 | 3 | -1/+13 |
| | |||||
* | * argparse.c, dotlock.c, fileutil.c, iobuf.c, miscutil.c, | David Shaw | 2003-05-24 | 12 | -278/+277 |
| | | | | | | | | simple-gettext.c, errors.c, http.c, memory.c, secmem.c, ttyio.c: Edit all preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it. | ||||
* | * fileutil.c (is_file_compressed): Fixed checking for "-" filename. | Werner Koch | 2003-05-21 | 2 | -2/+6 |
| | |||||
* | * srv.c (main): Test against wwwkeys.pgp.net. | David Shaw | 2003-04-13 | 3 | -2/+10 |
| | | | | | | * srv.h: Grr. The RH7.3 Linux man page defines the fourth arg of dn_expand as unsigned char*, but it is really char* according to resolv.h. | ||||
* | * argparse.c (default_strusage): Change copyright date. | David Shaw | 2003-03-23 | 2 | -2/+11 |
| | |||||
* | * srv.h, srv.c (getsrv): Use unsigned char rather than char. Noted by | David Shaw | 2003-03-15 | 2 | -6/+8 |
| | | | | | Stefan Bellon. | ||||
* | * http.c (connect_server): Use DNS SRV to get a server list. Fail over to | David Shaw | 2003-03-11 | 5 | -55/+387 |
| | | | | | | | A records if necessary. * Makefile.am, srv.h, srv.c: New DNS SRV handling code. | ||||
* | * ttyio.c (tty_print_utf8_string, tty_print_utf8_string2): Use 0 to | David Shaw | 2003-02-22 | 2 | -3/+10 |
| | | | | | | indicate a string with no maximum size. This prevents early truncation of strings that contain control chars which are expanded into \xXX form. | ||||
* | * iobuf.c (iobuf_flush): Only print debug info if debugging is on. | David Shaw | 2002-12-26 | 2 | -1/+6 |
| | |||||
* | * secmem.c (lock_pool) [__CYGWIN__]: Don't print secmem warning. From | David Shaw | 2002-11-13 | 2 | -1/+6 |
| | | | | | Werner on stable branch. | ||||
* | * ttyio.c (TERMDEVICE): Removed. | Werner Koch | 2002-11-09 | 2 | -14/+46 |
| | | | | | | (tty_get_ttyname): New. (init_ttyfp): Use it here instead of the TERMDEVICE macro. | ||||
* | * w32reg.c (read_w32_registry_string): Fixed expanding of the environment | David Shaw | 2002-11-06 | 5 | -12/+31 |
| | | | | | | | | | | | | | | buffer; didn't worked at all. Reported by Thijmen Klok. From Werner on stable branch. * secmem.c (secmem_free, secmem_term): Use wipememory2() instead of memset() to overwrite secure memory * iobuf.c (direct_open): Handle mode 'b' if O_BINARY is available. From Werner on stable branch. * fileutil.c: Comment from stable branch. | ||||
* | added RISC OS module loading support | Stefan Bellon | 2002-10-31 | 4 | -30/+115 |
| | |||||
* | tidied RISC OS filetype support | Stefan Bellon | 2002-10-29 | 3 | -19/+56 |
| | |||||
* | filetype support for RISC OS | Stefan Bellon | 2002-10-28 | 3 | -17/+46 |
| | |||||
* | * Makefile.am, regcomp.c, regex.c, regex_internal.c, regex_internal.h, | David Shaw | 2002-10-19 | 7 | -0/+8658 |
| | | | | | regexec.c: Add new regex files from glibc 2.3.1. | ||||
* | * http.c (connect_server): Try all A records for names with multiple | David Shaw | 2002-10-17 | 2 | -66/+81 |
| | | | | | addresses until one answers for both MINGW32 and not MINGW32. | ||||
* | * http.c (connect_server): Properly handle a single A record that fails | David Shaw | 2002-10-11 | 2 | -3/+9 |
| | | | | | connect(). | ||||
* | * logger.c (g10_log_warning, log_set_strict): Add new log_warning logger | David Shaw | 2002-10-03 | 2 | -0/+36 |
| | | | | | | command which can be switched between log_info and log_error via log_set_strict. | ||||
* | * http.c (connect_server): Try all A records for names with multiple | David Shaw | 2002-09-24 | 2 | -4/+22 |
| | | | | | addresses until one answers (not MINGW32). | ||||
* | * w32reg.c (read_w32_registry_string): Fallback to HLM. | Werner Koch | 2002-09-16 | 2 | -3/+13 |
| | |||||
* | updated RISC OS stuff | Stefan Bellon | 2002-09-12 | 3 | -0/+14 |
| | |||||
* | * simple-gettext.c: Disable charset mappings. We do it now whenV1-2-2 | Werner Koch | 2002-09-11 | 2 | -8/+16 |
| | | | | | installing the files. | ||||
* | * w32reg.c (read_w32_registry_string): Handle REG_EXPAND_SZ. | Werner Koch | 2002-09-10 | 4 | -12/+110 |
| | | | | | | | Suggested by Ryan Malayter. * strgutil.c (ascii_strcasecmp): Replaced by code from gnulib. (ascii_strncasecmp): New. |