aboutsummaryrefslogtreecommitdiffstats
path: root/util (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * miscutil.c (hextobyte): Moved here from g10/misc.c so I can use it inDavid Shaw2004-02-212-0/+30
| | | | | the keyserver helpers.
* * mkdtemp.c: New (moved from g10/), setenv.c: New, unsetenv.c: New.David Shaw2004-02-205-2/+217
| | | | | * Makefile.am: Include @LIBOBJS@ for replacement functions.
* * argparse.c (default_strusage): Update copyright date. (initialize):David Shaw2004-01-163-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 Shaw2003-12-304-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 httpDavid Shaw2003-12-282-29/+22
| | | | | proxy from outside rather than pulling it from the evironment.
* cleaned up RISC OS code and removed lots of unnecessary stuffStefan Bellon2003-12-283-15/+33
|
* * http.c (send_request): Add a Host: header for virtual hosts.David Shaw2003-12-062-5/+7
|
* * miscutil.c (answer_is_yes_no_default, answer_is_yes_no_quit): Don't useDavid Shaw2003-12-052-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 aDavid Shaw2003-11-212-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 Shaw2003-11-012-4/+18
| | | | | | errors and the more specific "host not found". Suggested by Samuel Tardieu.
* * cardglue.c (open_card): Ask for card insertion.Werner Koch2003-10-292-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 Koch2003-10-252-2/+6
|
* (lock_pool) [_AIX]: Don't use plock.Werner Koch2003-10-232-0/+15
|
* * srv.c: OSX 10.2.8/Darwin 6.8 seems to have some #include orderingDavid Shaw2003-10-132-1/+6
| | | | | issues? Move sys/types.h up higher to work around.
* (tty_print_string, tty_print_utf8_string2)Werner Koch2003-10-082-3/+8
| | | | | (tty_print_utf8_string): Made string arg const.
* 2003-09-28 Timo Schulz <[email protected]>Timo Schulz2003-09-282-1/+17
| | | | | * strgutil.c [WIN32] (asprintf): New.
* (tty_fprintf): New.Werner Koch2003-09-282-0/+51
|
* 2003-09-21 Timo Schulz <[email protected]>Timo Schulz2003-09-213-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 Shaw2003-08-2810-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 Shaw2003-08-252-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 digitpDavid Shaw2003-07-104-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 Shaw2003-05-313-1/+13
|
* * argparse.c, dotlock.c, fileutil.c, iobuf.c, miscutil.c,David Shaw2003-05-2412-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 Koch2003-05-212-2/+6
|
* * srv.c (main): Test against wwwkeys.pgp.net.David Shaw2003-04-133-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 Shaw2003-03-232-2/+11
|
* * srv.h, srv.c (getsrv): Use unsigned char rather than char. Noted byDavid Shaw2003-03-152-6/+8
| | | | | Stefan Bellon.
* * http.c (connect_server): Use DNS SRV to get a server list. Fail over toDavid Shaw2003-03-115-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 toDavid Shaw2003-02-222-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 Shaw2002-12-262-1/+6
|
* * secmem.c (lock_pool) [__CYGWIN__]: Don't print secmem warning. FromDavid Shaw2002-11-132-1/+6
| | | | | Werner on stable branch.
* * ttyio.c (TERMDEVICE): Removed.Werner Koch2002-11-092-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 environmentDavid Shaw2002-11-065-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 supportStefan Bellon2002-10-314-30/+115
|
* tidied RISC OS filetype supportStefan Bellon2002-10-293-19/+56
|
* filetype support for RISC OSStefan Bellon2002-10-283-17/+46
|
* * Makefile.am, regcomp.c, regex.c, regex_internal.c, regex_internal.h,David Shaw2002-10-197-0/+8658
| | | | | regexec.c: Add new regex files from glibc 2.3.1.
* * http.c (connect_server): Try all A records for names with multipleDavid Shaw2002-10-172-66/+81
| | | | | addresses until one answers for both MINGW32 and not MINGW32.
* * http.c (connect_server): Properly handle a single A record that failsDavid Shaw2002-10-112-3/+9
| | | | | connect().
* * logger.c (g10_log_warning, log_set_strict): Add new log_warning loggerDavid Shaw2002-10-032-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 multipleDavid Shaw2002-09-242-4/+22
| | | | | addresses until one answers (not MINGW32).
* * w32reg.c (read_w32_registry_string): Fallback to HLM.Werner Koch2002-09-162-3/+13
|
* updated RISC OS stuffStefan Bellon2002-09-123-0/+14
|
* * simple-gettext.c: Disable charset mappings. We do it now whenV1-2-2Werner Koch2002-09-112-8/+16
| | | | | installing the files.
* * w32reg.c (read_w32_registry_string): Handle REG_EXPAND_SZ.Werner Koch2002-09-104-12/+110
| | | | | | | Suggested by Ryan Malayter. * strgutil.c (ascii_strcasecmp): Replaced by code from gnulib. (ascii_strncasecmp): New.
* * strgutil.c (set_native_charset): Allow NULL as argument to useWerner Koch2002-09-022-3/+27
| | | | | nl_langinfo for selection. Mapped latin-15 to latin-1.
* * iobuf.c (block_filter): Removed the assert, so that one can passWerner Koch2002-08-302-13/+15
| | | | | | the first character of a message and use the block filter for non partial length encoded packets.
* tidying up RISC OS stuffStefan Bellon2002-08-063-99/+59
|
* RISC OS changes because of dynload removalStefan Bellon2002-08-032-2/+7
|
* RISC OS changes due to dynload removalStefan Bellon2002-08-031-1/+1
|