summaryrefslogtreecommitdiff
path: root/src/htslib.c
AgeCommit message (Collapse)Author
2023-01-14Push default bandwidth to 100kiB/s, max to 10MiB/sXavier Roche
2023-01-14Do not use ftime (deprecated)Xavier Roche
2022-12-30Merge pull request #220 from brianredbeard/data-image-fixXavier Roche
feature: Support data-src and data-srcset
2021-12-07feature: Support data-src and data-srcset for imgBrian 'Redbeard' Harrington
Increasingly HTML5 sites use a number of mechanisms for responsive image loading. Many of these mechanisms revolve around the use of `data-src` and `data-srcset` attributes within an img tag to provide a list of valid images to display, along with their relevant sizes (e.g. https://github.com/aFarkas/lazysizes, https://github.com/malchata/yall.js ). This change adds the two previously mentioned tags to the list in `hts_detect[]`, resulting in httrack detecting them correctly. Initially an attempt was made at using `hts_detectbeg[]` with the potential of resolving #203. Unfortunately it became apparent that the implementation of `hts_detectbeg[]` only supports a suffix of integers (see `src/htstools.h#rech_tageqbegdigits` for more information).
2020-05-01Add mimetypes for documentsPablo Castellano
2017-04-01Updated version to 3.49.1Xavier Roche
2017-04-01Fixed ftime for WindowsXavier Roche
2017-04-01Updated year to 2017Xavier Roche
2017-04-01Use gettimeofday() instead of ftime()Xavier Roche
2016-04-26Updated year 2016Xavier Roche
2015-03-17Fixed timezone for ANDROIDXavier Roche
2015-03-142014 is so last year!Xavier Roche
2014-10-16Fixed warnings.Xavier Roche
2014-07-17assert => assertfXavier Roche
2014-07-17Cache cleanup. Added assert()Xavier Roche
2014-07-07Another assertXavier Roche
2014-07-07int => size_t cleanupXavier Roche
2014-07-06Added hts_has_stopped() flag, added some assertsXavier Roche
2014-06-14Renamed inthash_* API to coucal_* one.Xavier Roche
2014-06-10Added the following compiler flags:Xavier Roche
* -Wcast-qual * -Wmissing-parameter-type * -Wold-style-definition
2014-06-08Public definitions cleanup (especially for httraqt)Xavier Roche
htsopt.h now has the following definitions: * struct htsrequest_proxy * struct htsrequest * struct htsblk * struct lien_url * struct lien_back
2014-05-29Take in account opt->maxlink is non-zeroXavier Roche
2014-05-29Big cleanup: introducing cleaner lien_adrfilsave and lien_adrfil structures ↵Xavier Roche
holding address/uri or address/uri/filename rather than passing opaque char* of unknown size.
2014-05-29Allocation cleanup (why "+2", why ?)Xavier Roche
2014-05-27Cleanup, const correctnessXavier Roche
2014-05-23"const correctness" cleanupXavier Roche
added the following default flags: -Wformat -Wformat-security -Wmultichar -Wwrite-strings fixed several other warnings
2014-05-18Cleanup in callbacks.Xavier Roche
2014-05-18Big cleanup in network address and dns functions:Xavier Roche
* removed t_fullhostent insanity * removed (struct sockaddr*) casts * use SOCaddr everywhere rather than raw struct hostent*
2014-05-18libtool: in_port_t and sa_family_tXavier Roche
2014-05-17Anonymous logging.Xavier Roche
2014-05-17Added hts_set_log_vprint_callback()Xavier Roche
2014-05-15Added some asserts for Android.Xavier Roche
2014-05-14Clean hts_set_error_callback() and hts_get_error_callback()Xavier Roche
2014-05-14Missing htsCallbackErr definitionXavier Roche
2014-05-13#include <stdarg.h>Xavier Roche
2014-05-10Better logging for hashtablesXavier Roche
2014-05-10Mitigate stash overflow by resizing the hashtable.Xavier Roche
Added better logging.
2014-05-09cache->iadr is not supposed to be NULL, but ... (could explain crashes on ↵Xavier Roche
Android at data.app_lib.com_httrack_android_1.libhttrack_so.0x62e4c)
2014-05-09assert cleanup.Xavier Roche
2014-05-08Assertion handler (2)Xavier Roche
2014-05-02Big cleanup in functions writing to a char buffer without proper size boundary.Xavier Roche
2014-04-242013 is so last year.Xavier Roche
2014-04-13const char* fixes.Xavier Roche
2014-04-10Nope, Debian did not change the version number when fixing the bug :(Xavier Roche
2014-04-10Groumph, version is not a reliable way to detect heartbleed.Xavier Roche
2014-04-10Fixed FTBFS.Xavier Roche
2014-04-10Enforce check against CVE-2014-0160Xavier Roche
2014-02-23Attempt to understand the infamous htslib.c:4590 crash (?)Xavier Roche
2014-02-09Removed background DNS resolution, prone to bugs (racy when interrupting a ↵Xavier Roche
mirror), and not providing any additional performance boost. Keeping cached DNS resolution, though.
2014-02-08Fixed infinite loop when attempting to download a file:/// directory on Unix ↵Xavier Roche
(gp)