Commit Graph

34 Commits

Author SHA1 Message Date
b9a80ee16f * docs/Makefile.am: Add README.md to DISTCLEANFILES unconditionally 2019-07-11 15:17:13 +02:00
24d0ce2476 * docs/Makefile.am: Replace $< from explicit rule 2019-07-08 19:11:55 +02:00
b6c2f5f75c Put resolver/dns code into own source file
* docs/Makefile.am: Add libwget-dns.3 man page
* examples/batch_loader.c: Remove call to wget_tcp_set_dns_timeout()
* examples/check_url_types.c: Use wget_dns_set_timeout()
* include/wget/wget.h: Add wget_dns_ API
* libwget/Makefile.am: Add dns.c
* libwget/dns.c: New file
* libwget/init.c: Use wget_dns_set_caching()
* libwget/net.c: Remove DNS functions
* libwget/net.h (wget_tcp_st): Add dns member
* po/POTFILES.in: Add libwget/dns.c
* src/options.c: Use new DNS API
* src/stats.c: Add some checks
* src/stats_dns.c: Use wget_dns_get_stats()
2019-06-21 13:10:47 +02:00
6995bc86ce * docs/Makefile.am: Add README.md to DISTCLEANFILES 2018-08-29 13:08:32 +02:00
ac6cce19d2 Improve online documentation
* README.md: Move some dev info to faq.md
* docs/Makefile.am: Generate introduction from README.md
* docs/faq.md: Started with User and Dev sections
* docs/libwget.doxy.in: Remove mainpage, use README.md instead
* docs/mainpage.md: Remove
* docs/wget2.md: Amended intro to options that take lists
2018-08-29 12:18:35 +02:00
6e22761f89 New function wget_strerror()
* docs/Makefile.am: Add man page build for error functions
* include/wget/wget.h: Make WGET_E_* an enum wget_error_t,
  declare new function wget_strerror()
* libwget/Makefile.am: Add error.c
* libwget/error.c: New file
2018-08-17 17:09:49 +02:00
3c831226fc Add wget_bitmap_t
* include/wget/wget.h: Add bitmap prototypes
* libwget/Makefile.am: Add libwget/bitmap.c
* libwget/bitmap.c: New file for bitmap implementation
* docs/Makefile.am: Add man pages for bitmap functions
* unit-tests/test.c: Add tests for bitmap functions

First version was written by Aniketh Girish
2018-07-05 12:26:31 +02:00
fe7306db7f * docs/Makefile.am: Build man pages for hashmap/stringmap API 2018-03-28 09:30:04 +02:00
7648c14f8e Add docs for vector routines
* docs/Makefile.am: Add man page
* include/wget/wget.h: Amend some vector functions
* libwget/vector.c: Add checks for parameters,
  add documentation
2018-03-24 22:39:10 +01:00
226326fa69 Fix make dist with --disable-doc
* configure.ac: Unconditionally process docs/*.in files
* docs/Makefile.am: Unconditionally put DoxygenLayout.xml into EXTRA_DIST
2018-02-07 11:32:47 +01:00
3257dceca3 Add man pages to tarball 2018-01-11 11:57:22 +01:00
2f24a81c70 Fix building docs
* Makefile.am: Add README.md to EXTRA_DIST
* configure.ac: Generate conditionals WITH_DOXYGEN and WITH_PANDOC
* docs/Makefile.am: Use conditionals for building
2018-01-11 11:57:17 +01:00
f11ceec812 Check for pandoc in ./configure
* configure.ac: Check for pandoc
* docs/Makefile.am: Use $(PANDOC)
* docs/wget2_md2man.sh.in: Use $PANDOC shell variable
2018-01-11 11:57:14 +01:00
f206a6d004 Generate .texi and .info from markdown manual
* Makefile.am: Convert .md to .texi and .info
* mainpage.md: Rename wget2_manual.md to wget2.md
* wget2_manual.md: Renamed to wget2.md
2018-01-11 11:57:10 +01:00
4324cd1196 Generate wget2 man page
* .gitignore: Add auto-generated docs/wget2_md2man
* README.md: Add pandoc
* configure.ac: Generate docs/wget2_md2man
* docs/Makefile.am: Build wget2.1
* docs/wget2_manual.md: Fix things for a better man page experience
* docs/wget2_md2man.sh.in: Template file for docs/wget2_md2man
2018-01-11 11:56:58 +01:00
7285154243 Refactor DNS chaching code out of net.c
* include/wget/wget.h: Add missing wget_dns_cache declarations
* libwget/Makefile.am: Add dns_cache.c
* libwget/dns_cache.c: New file
* libwget/net.c: Remove DNS chaching code
2018-01-09 09:40:06 +01:00
d1847fb518 Add docs for thread functions
* docs/Makefile.am: Add man page
* libwget/thread.c: Add documentation
2017-12-31 18:47:19 +01:00
01a08e2f3f Add support for RFC 7616 HTTP Digest Access Authentication
* docs/Makefile.am: Remove libwget-md5.3
* include/wget/wget.h: Remove wget_md5_printf_hex(),
  add wget_hash_printf_hex()
* libwget/Makefile.am: Rename md5.c to hash_printf.c
* libwget/hash_printf.c: New file with wget_hash_printf_hex()
* libwget/http.c (wget_http_add_credentials): Remove hardcoded MD5 algo
* tests/test-metalink.c: Use wget_hash_printf_hex()

RFC 7616 adds/replaces the MD5 digest algorithm with SHA-256.
2017-10-29 18:32:29 +01:00
b0e1def6fe Add docs for xml parsing functions.
* libwget/xml.c: Rename XML_CONTEXT to _xml_context,
  document wget_* functions
* docs/Makefile.am: Sort order of man page files,
  add building of libwget-xml.3
2017-08-04 11:26:24 +02: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
58d18ad60c New function to check for literal IPv4/IPv6 addresses
* bootstrap.conf: Add gnulib module 'inet_pton'
* docs/Makefile.am: Add man page libwget-ip.3
* wget/wget.h (struct wget_iri_st): New field 'is_ip_address'.
* libwget/Makefile.am: Add new file ip.c
* libwget/ip.c: New file defining new function wget_ip_is_family()
* libwget/iri.c (wget_iri_parse): Check for literal IP address
* src/wget.c: Do not add to HSTS if literal IP address
2016-11-08 16:22:08 +01:00
ef7c5bba6d Add docs for robots.txt parsing
* libwget/robots.c: Add Doxygen docs
* docs/Makefile.am: Add rule for man page
2016-04-25 21:14:52 +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
650f59cc65 Add docs for memory functions
* libwget/mem.c: Add docs
* docs/Makefile.am: Add rule for man pages
* include/libwget.h.in: Cosmetic adjustments
2016-02-07 22:53:10 +01:00
9cf7d2f81f Add docs for MD5 convenience functions
* libwget/md5.c: Add docs
* docs/Makefile.am: Add rule for man pages
2016-02-07 19:13:58 +01:00
9821cfd711 * docs/Makefile.am: Remove redundant list of man files 2016-02-06 22:15:49 +01:00
2a5d9e2162 * docs/Makefile.am: Add rule for xalloc man page 2016-02-06 21:57:55 +01:00
49f29381d0 Add docs for printf functions
* libwget/printf.c: Convert GTK-DOC format into Doxygen
* docs/Makefile.am: Add rule for man pages
2016-02-06 21:36:36 +01:00
3c06477e12 Add docs for memory functions
* libwget/xalloc.c: Convert GTK-DOC format into Doxygen
* docs/Makefile.am: Add rule for man pages
2016-02-06 21:17:09 +01:00
826e5ac601 Add thread-safe wrapper code around random() and srandom()
* docs/Makefile.am: Add wget_random and wget_srandom to docs
* include/libwget.h.in: Add wget_random and wget_srandom
* libwget/Makefile.am: Add random.c
* libwget/http.c: Use wget_random()
* libwget/random.c: New file with wget_random and wget_srandom
* src/options.c: Remove call to srandom()
2016-01-22 20:50:12 +01:00
5304d93dd5 Add docs for I/O functions
* docs/Makefile.am: Add libwget-io.3
* libwget/io.c: Add I/O function docs
2016-01-19 10:44:13 +01:00
ce38918e06 Add docs for hash functions
* docs/Makefile.am: Add libwget-hash.3
* include/libwget.h.in: Remove hash function docs
* libwget/hashfile.c: Add hash function docs
2016-01-18 15:53:29 +01:00
f7ba3e5431 Use doxygen instead of gtk-doc
* Removed all gtk-doc files and references.
* Added doxygen files and rules
2016-01-17 20:29:58 +01:00