1. 01 Mar, 2019 1 commit
  2. 20 Feb, 2019 1 commit
  3. 16 Feb, 2019 2 commits
  4. 14 Feb, 2019 1 commit
  5. 25 Jan, 2019 1 commit
  6. 12 Jan, 2019 6 commits
  7. 04 Jan, 2019 2 commits
  8. 03 Jan, 2019 2 commits
    • Tim Rühsen's avatar
      Add iterators for hashmap and stringmap · 7537c9fd
      Tim Rühsen authored
      * include/wget/wget.h: New functions wget_hashmap_iterator_alloc(),
        wget_hashmap_iterator_free(), wget_hashmap_iterator_next(),
        also for stringmap.
      * libwget/hashmap.c: Implementation of the above functions
      * libwget/stringmap.c: Add wget_stringmap_iterator_next()
      * unit-tests/test.c: Add tests using stringmap iterator
      
      This functionality is sometimes more handy than the *_browse() API
      with callback functions and context variables.
      7537c9fd
    • Tim Rühsen's avatar
      34ef48bb
  9. 02 Jan, 2019 5 commits
    • Tim Rühsen's avatar
      Rename container set functions · 744fa130
      Tim Rühsen authored
      * include/wget/wget.h:
        rename wget_vector_set_growth_policy() to wget_vector_set_resize_factor(),
        rename wget_hashmap_set_growth_policy() to wget_hashmap_set_resize_factor(),
        rename wget_hashmap_setloadfactor() to wget_hashmap_set_load_factor(),
        rename wget_stringmap_setloadfactor() to wget_stringmap_set_load_factor(),
        rename wget_stringmap_set_growth_policy() to wget_stringmap_set_resize_factor().
      * libwget/hashmap.c: Likewise
      * libwget/stringmap.c: Likewise
      * libwget/vector.c: Likewise
      744fa130
    • Tim Rühsen's avatar
      Simplify hasmap/stringmap/vector API · 1328e176
      Tim Rühsen authored
      * include/wget/wget.h: Remove wget_hashmap_get_null() and
        wget_stringmap_get_null(),
        change params and return value of wget_hashmap_get() and
        wget_stringmap_get().
      * libwget/hashmap.c: Remove wget_hashmap_get_null(),
        change params and return value of wget_hashmap_get(),
        simplify hashmap_find_entry().
      * libwget/stringmap.c: Remove wget_stringmap_get(),
        change params and return value of wget_stringmap_get().
      * libwget/dns_cache.c: Amend for new API
      * libwget/hpkp.c: Likewise
      * libwget/hsts.c: Likewise
      * libwget/http.c: Likewise
      * libwget/netrc.c: Likewise
      * libwget/ocsp.c: Likewise
      * libwget/tls_session.c: Likewise
      * src/host.c: Likewise
      * src/options.c: Likewise
      * src/plugin.c: Likewise
      * src/stats_site.c: Likewise
      * unit-tests/test.c: Likewise
      1328e176
    • Tim Rühsen's avatar
      Use float for container growth policy · 8a96e670
      Tim Rühsen authored
      * include/wget/wget.h: Use float for *_set_growth_policy()
      * libwget/hashmap.c: Use float for wget_hashmap_set_growth_policy()
      * libwget/stringmap.c: Use float for wget_stringmap_set_growth_policy()
      * libwget/vector.c: Use float for wget_vector_set_growth_policy()
      
      Additionally, the +/- logic has been reversed in the above functions.
      8a96e670
    • Tim Rühsen's avatar
      Update copyrigght to 2019 · cdb36007
      Tim Rühsen authored
      cdb36007
    • Tim Rühsen's avatar
      401e7fe0
  10. 30 Dec, 2018 1 commit
    • Tim Rühsen's avatar
      Fix xattr behavior (CVE-2018-20483) · a1e85c57
      Tim Rühsen authored
      * src/options.c (config): Disable --xattr by default
      * src/wget.c (set_file_metadata): Store origin URL without user/pw,
        store referer just as scheme/host/port
      a1e85c57
  11. 28 Dec, 2018 4 commits
  12. 27 Dec, 2018 1 commit
  13. 26 Dec, 2018 1 commit
  14. 25 Dec, 2018 1 commit
  15. 20 Dec, 2018 4 commits
  16. 19 Dec, 2018 2 commits
  17. 13 Dec, 2018 1 commit
  18. 12 Dec, 2018 1 commit
  19. 03 Dec, 2018 1 commit
  20. 18 Nov, 2018 1 commit
  21. 17 Nov, 2018 1 commit