Commit Graph

6 Commits

Author SHA1 Message Date
c6ee3d79ad Fix syntax-check 'sc_prohibit_have_config_h'
* cfg.mk: Remove sc_prohibit_have_config_h from local-checks-to-skip
* libwget/*.c: Include <config.h> unconditionally
* src/*.c: Likewise
* tests/*.c: Likewise
2017-04-30 22:01:34 +02:00
6bfd00b75c * libwget/console.c (_reset_color): Do not reset color if stdout is not a TTY 2017-04-12 11:34:26 +02:00
13371152f8 Fix console colors for Windows
* include/wget/wget.h: Add WGET_CONSOLE_COLOR_MAGENTA
* libwget/console.c: Add WGET_CONSOLE_COLOR_MAGENTA
* src/log.c: Add colors to write functions

Reported-by: Gisle Vanem
2017-03-21 12:54:54 +01:00
e41ae5298a * libwget/console.c (wget_console_set_fg_color): Fix WIN32 code 2017-03-21 10:25:34 +01:00
ec396c577f Fix URLs to HTTPS where possible 2017-02-28 15:31:30 +01:00
8248bfecd1 Add console color abstraction
* docs/Makefile.am: Add libwget-console.3
* include/wget/wget.h: Add console routines
* libwget/Makefile.am: Add libwget/console.c
* libwget/console.c: New file with console functions
* src/log.c: Add WIN32 and console function calls
2017-01-06 14:23:37 +01:00