Commit Graph

11 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
9f2dd3a199 Fix spelling issues found by ka7/misspell_fixer
* include/wget/wget.h: Fix typo
* libwget/base64.c: Likewise
* libwget/http.c: Likewise
* src/wget.c: Likewise
2017-04-19 11:29:55 +02:00
ec396c577f Fix URLs to HTTPS where possible 2017-02-28 15:31:30 +01:00
315c8f7516 base46: Use size_t as string length param 2017-01-20 16:23:02 +01:00
9568b0c87e Rename include/libwget.h to include/wget/wget.h+wgetver.h 2016-09-30 09:47:32 +02:00
9457348d2d Fix compiler warnings
* include/libwget.h.in: Declare wget_tcp_get_protocol as PURE
* libwget/base64.c (wget_base64_decode, wget_base64_encode): Fix
  warning about missing switch() default
* libwget/http.c (_on_header_callback): Add switch default case,
  (wget_http_request_to_buffer): Remove unused variable 'use_proxy'
* libwget/ssl_gnutls.c (_print_info): Add switch default case
* libwget/vector.c (wget_vector_findext): Replace switch by if/else
* src/wget.c (_get_body): Check EAGAIN != EWOULDBLOCK via cpp
2016-06-15 17:01:48 +02:00
51053c2b4e Add docs for Atom and Sitemap URL extraction functions
* libwget/atom_url.c: Add Doxygen docs
* libwget/sitemap_url.c: Add Doxygen docs
* docs/Makefile.am: Add rules for man pages
* libwget/base64.c: Fix text
2016-04-09 23:42:29 +02:00
f8dca985c2 Add docs for base64 functions
* libwget/base64.c: Add Doxygen docs
* docs/Makefile.am: Add rule for man page
2016-04-09 22:48:36 +02:00
31f0fc0190 Added printf-style functions
* libwget/printf.c: New file
* docs/libwget/Makefile.am: Add libwget-printf.3
* docs/libwget/libwget-docs.sgml: Add printf section
* docs/libwget/libwget-sections.txt: Add SECTION libwget-printf
* include/libwget.h.in: Add function prototypes
* libwget/Makefile.am: Add printf.c
* libwget/base64.c, libwget/http.c, libwget/iri.c, libwget/logger.c,
  libwget/md5.c, libwget/vector.c, src/options.c:
  Use new functions instead of asprintf/vasprintf
2016-01-13 13:33:51 +01:00
0f8e49128a Transfer copyright to Free Software Foundation, Inc. 2015-09-22 11:50:06 +02:00
c6b0e461a1 Transform Mget into Wget 2015-09-19 22:54:38 +02:00