• DalmeGNU's avatar
    Add -X/--exclude-directories and -I/--include-directories · 756e470d
    DalmeGNU authored
    * docs/wget2.md: Add docs for -I/--include-directories=list
      and -X/--exclude-directories=list
    * src/options.c: New function _strchrnul_esc(),
      new function _strmemdup_esc(),
      (parse_stringlist_expand): Use new functions from above,
      new function set_char_prefix(), parse_included_directories()
      and parse_excluded_directories,
      (options): add exclude-directories and --include-directories
    * src/wget.c: New functions match_subdir() and in_directory_pattern_list(),
      (add_url): check if path matches directory patterns,
      (_prepare_file): add new param 'path',
    * src/wget_options.h (struct config): Add member 'exclude_directories'
    * tests/Makefile.am: Add 'test-include-and-exclude-directories'
    * tests/test-include-and-exclude-directories.c: New file
    756e470d
Name
Last commit
Last update
..
certs Loading commit data...
gpg Loading commit data...
Makefile.am Loading commit data...
clang-asan-suppressions Loading commit data...
gpg-test-util.h Loading commit data...
libtest.c Loading commit data...
libtest.h Loading commit data...
stats-test-util.h Loading commit data...
test--accept.c Loading commit data...
test--filter-mime-type.c Loading commit data...
test--follow-tags.c Loading commit data...
test--https-enforce-hard1.c Loading commit data...
test--https-enforce-hard2.c Loading commit data...
test--https-enforce-hard3.c Loading commit data...
test--https-enforce-soft1.c Loading commit data...
test--https-enforce-soft2.c Loading commit data...
test--https-enforce-soft3.c Loading commit data...
test--page-requisites.c Loading commit data...
test--post-file.c Loading commit data...
test--spider-r.c Loading commit data...
test-E-k.c Loading commit data...
test-auth-basic.c Loading commit data...
test-auth-digest.c Loading commit data...
test-bad-chunk.c Loading commit data...
test-base.c Loading commit data...
test-c-r.c Loading commit data...
test-chunked.c Loading commit data...
test-compression.c Loading commit data...
test-cookies-http_state.c Loading commit data...
test-cut-dirs.c Loading commit data...
test-cut-get-vars.c Loading commit data...
test-directory-clash.c Loading commit data...
test-ftp.c Loading commit data...
test-ftps.c Loading commit data...
test-gpg-bad.c Loading commit data...
test-gpg-invalid.c Loading commit data...
test-gpg-missing.c Loading commit data...
test-gpg-save-failed.c Loading commit data...
test-gpg-styles.c Loading commit data...
test-gpg-valid.c Loading commit data...
test-gpg-verify-no-file.c Loading commit data...
test-gzip.c Loading commit data...
test-i-http.c Loading commit data...
test-i-https.c Loading commit data...
test-idn-cmd.c Loading commit data...
test-idn-meta.c Loading commit data...
test-idn-robots.c Loading commit data...
test-include-and-exclude-directories.c Loading commit data...
test-iri-disabled.c Loading commit data...
test-iri-forced-remote.c Loading commit data...
test-iri-list.c Loading commit data...
test-iri-percent.c Loading commit data...
test-iri-subdir.c Loading commit data...
test-iri.c Loading commit data...
test-k.c Loading commit data...
test-meta-robots.c Loading commit data...
test-metalink.c Loading commit data...
test-np.c Loading commit data...
test-parse-css.c Loading commit data...
test-parse-html-css.c Loading commit data...
test-parse-rss.c Loading commit data...
test-plugin-dummy.c Loading commit data...
test-plugin-failure.c Loading commit data...
test-plugin-interception.c Loading commit data...
test-plugin-nonexistance.c Loading commit data...
test-plugin.c Loading commit data...
test-redirection.c Loading commit data...
test-restrict-ascii.c Loading commit data...
test-robots.c Loading commit data...
test-stats-all.c Loading commit data...
test-stats-dns.c Loading commit data...
test-stats-ocsp.c Loading commit data...
test-stats-server.c Loading commit data...
test-stats-site.c Loading commit data...
test-stats-tls.c Loading commit data...
test-wget-1.c Loading commit data...
tests.txt Loading commit data...
valgrind-suppressions Loading commit data...