3688ffb941
Update copyright to 2018
2018-04-30 20:52:11 +02:00
f44de7d125
Rename WGET_HTML_PARSED_RESULT to wget_html_parsed_result_t
...
* examples/check_url_types.c: Likewise
* examples/print_html_urls.c: Likewise
* fuzz/libwget_html_url_fuzzer.c: Likewise
* include/wget/wget.h: Likewise
* libwget/html_url.c: Likewise
* src/wget.c: Likewise
2017-10-22 21:05:15 +02:00
8fb49619b7
Rename WGET_HTML_PARSED_URL to wget_html_parsed_url_t
...
* examples/check_url_types.c: Likewise
* examples/print_html_urls.c: Likewise
* include/wget/wget.h: Likewise
* libwget/html_url.c: Likewise
* src/wget.c: Likewise
2017-10-22 21:03:31 +02:00
4c02e13630
Reduce variable scope
...
* examples/print_html_urls.c: Likewise
* fuzz/libwget_cookie_fuzzer.c: Likewise
* fuzz/main.c: Likewise
* tests/libtest.c: Likewise
* unit-tests/test.c: Likewise
Found by: cppcheck
2017-10-07 13:29:09 +02:00
7c1bebf9a0
Add new function wget_free()
...
* examples/check_url_types.c: Use wget_xfree() instead of free()
* examples/http_get2.c: Likewise
* examples/print_css_urls2.c: Likewise
* examples/print_html_urls.c: Likewise
* include/wget/wget.h: Add wget_free() and define wget_xfree()
* libwget/xalloc.c: Implement wget_free()
* include/wget/wget.h: Add declaration for wget_free()
* libwget/xalloc.c: Implement wget_free()
2017-05-03 14:47:04 +02:00
b3aede0e57
Remove gnulib dependencies from examples and wget.h
...
* cfg.mk: Add examples as excludes for config.h
* examples/Makefile.am: Remove -I to srcdir and builddir
* examples/*.c: Remove #include <config.h>
* include/wget/wget.h: Remove gettext include and defines
* libwget/private.h: Add gettext include and defines
* src/wget_main.h: Likewise
* tests/libtest.h: Likewise
* src/log.c: Add #include <string.h>
2017-04-30 21:37:39 +02:00
ec396c577f
Fix URLs to HTTPS where possible
2017-02-28 15:31:30 +01:00
9568b0c87e
Rename include/libwget.h to include/wget/wget.h+wgetver.h
2016-09-30 09:47:32 +02:00
16f23ec328
* examples/print_html_urls.c (html_parse_localfile): Fix memleak
...
Reported-by: Coverity
2016-09-14 12:39:53 +02:00
483c304aef
Support parsing of UTF-16 HTML documents
...
* examples/print_html_urls.c (html_parse_localfile):
Detect BOM (Byte Order Mark), convert UTF-16 to UTF-8 before parsing.
* include/libwget.h.in: Remove wget_charset_transcode(),
add wget_memiconv() and wget_striconv().
* libwget/encoding.c: Implement wget_memiconv() and wget_striconv()
* src/wget.c (html_parse): Add 'html_len' param,
convert UTF-16 to UTF-8 before parsing.
* tests/test.c: New test for wget_memiconv().
2016-04-24 15:08:20 +02:00
dd3c2f63b2
Updated copyright year for all relevant files
2016-01-25 13:06:21 +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
6cdd208444
fix several issues found by Coverity
2015-03-07 22:55:17 +01:00
a85b163ee9
added --follow-tags and --ignore-tags
2014-09-09 13:18:32 +02:00
7f131b0ef5
added -k/--convert-links and -K/--backup-converted
2014-07-17 17:12:44 +02:00
2b6645bef1
fixed HTML parsing of uppercase attributes (fixes issue #21 )
2014-06-24 10:59:29 +02:00
9c8f45d38d
fixed some clang 3.4 warnings
2014-01-11 14:21:05 +01:00
a5f21a0ac9
added example print_html_url.c (scanning and printing URLs from HTML files)
2014-01-03 17:28:50 +01:00