277 Commits

Author SHA1 Message Date
Xavier Roche
2531d47f30 created tag 3.48.20 2014-10-15 19:45:56 +00:00
Xavier Roche
8af06144a7 3.48.20 2014-10-15 19:44:22 +00:00
Xavier Roche
9b5c6cf86e Fixed webhttrack incompatibility with Chrome
* closes:#53

Also fixed HTML-escaping issues inside webhttrack

Rationale: The webhttrack script made the wrong assumption that once the "browse" command returned, it meant the user killed the navigation window, and it had to kill the server itself. However, modern browsers tend to "attach" to an existing session (creating a new tab, for example, within an existing window), causing the browsing command to return immediately, thus causing the server to be killed immediately by the webhttrack script. I have rewritten the logic behind, and now the server is able to kill himself if the parent script dies, AND if the browsing client did not make any activity for two minutes. The "activity" can be any browser/refreshed page, or the internal "ping" iframe (which pings the server every 30 seconds). With this model, we *should* be compatible with old browsers, and modern ones.
2014-10-15 19:17:29 +00:00
Xavier Roche
cce112d40a Typo :) 2014-10-15 17:33:35 +00:00
Xavier Roche
8dec08f3f3 Fixed typo 2014-10-04 07:39:18 +00:00
Xavier Roche
d5d752a1db Fixed HAVE_STRNLEN (sheesh, we don't have strnlen.o) 2014-08-27 18:22:56 +00:00
Xavier Roche
f25d6c1f24 Off-by-one. 2014-08-27 18:10:28 +00:00
Xavier Roche
75814fb605 Do not include execinfo.h if missing (Android)
Do not use strnlen if missing (Mac OS X 10.6.8) ( nthpowers)
2014-08-27 17:01:26 +00:00
Xavier Roche
a23976f732 Fixed "configure script cannot detect libressl" (junk4me46806) 2014-08-16 08:16:08 +00:00
Xavier Roche
b4f6cbe5fb Updated date 2014-07-28 21:19:57 +00:00
Xavier Roche
7559f26bfb Reverted useless check. 2014-07-28 21:16:44 +00:00
Xavier Roche
9285cfa1bb 3.48.19 2014-07-28 21:02:00 +00:00
Xavier Roche
02eb2862d2 Added testcase for 'strlen(copyBuff) == qLen failed at htslib.c:3458' 2014-07-28 20:56:57 +00:00
Xavier Roche
0ac9c0df32 Fixed 'strlen(copyBuff) == qLen failed at htslib.c:3458' assertion failure.
Rationale: strncat(..., ..., (size_t) -1) does not behave gently on Linux, and is not equivalent to strcat(..., ...) when using optimizations (could it be a corner-case bug ?)
2014-07-28 20:56:38 +00:00
Xavier Roche
da41e9a7a1 Additional message when crashing to report the issue. 2014-07-20 09:19:50 +00:00
Xavier Roche
b9a35a5d9c closes:#755107 2014-07-17 20:01:10 +00:00
Xavier Roche
f2ac631565 3.48.18 2014-07-17 19:52:35 +00:00
Xavier Roche
b5e08a8300 Fixed infamous crashes inside the DNS cache due to a corruption within the option structure (E.Kalinowski)
This long-lasting bug was a real pain to hunt! :)
2014-07-17 19:30:53 +00:00
Xavier Roche
1d2d42eb4e assert => assertf 2014-07-17 18:41:29 +00:00
Xavier Roche
d71237d177 Cache cleanup. Added assert() 2014-07-17 18:39:16 +00:00
Xavier Roche
7f8eb5f60f Warning fix. 2014-07-17 18:38:59 +00:00
Xavier Roche
e1149999ce Fixed WIN32 2014-07-14 11:55:28 +00:00
Xavier Roche
89a8c3134d Cosmetic 2014-07-14 08:11:00 +00:00
Xavier Roche
5261673a4d Fixed typo. 2014-07-14 08:10:06 +00:00
Xavier Roche
1b5adaaa2d Added stack trace on Linux when crashing for httrack 2014-07-14 08:08:55 +00:00
Xavier Roche
9f21da0f1b 3.48.17 2014-07-12 13:28:28 +00:00
Xavier Roche
a68ec9ad2a 3.48.17 2014-07-12 13:20:10 +00:00
Xavier Roche
f912d9f024 Fixed URL list not working anymore (tom swift) 2014-07-12 12:18:33 +00:00
Xavier Roche
8b8cce197a 3.48.16 2014-07-09 05:09:15 +00:00
Xavier Roche
e8188eb243 Fixed FTBFS on ARM/MIPS again. 2014-07-09 05:09:11 +00:00
Xavier Roche
f59bc8a790 3.48.15 2014-07-08 20:08:20 +00:00
Xavier Roche
854b7fe18e Updated man 2014-07-08 20:01:32 +00:00
Xavier Roche
920d51082c proxytrack: fixed FTBFS on ARM/MIPS 2014-07-08 20:01:22 +00:00
Xavier Roche
e35b329c50 3.48.14 2014-07-08 18:40:01 +00:00
Xavier Roche
1ff6c081f1 3.48-14 2014-07-08 18:23:06 +00:00
Xavier Roche
7503937d76 Fixed buggy FFFD (replacement character) in place of leading non-ascii character
* closes:#48
2014-07-08 18:20:20 +00:00
Xavier Roche
23fa293e9e Fixed htssafe.h 2014-07-08 07:06:10 +00:00
Xavier Roche
25c278b599 Another assert 2014-07-07 19:24:18 +00:00
Xavier Roche
721da33d81 int => size_t cleanup 2014-07-07 19:07:08 +00:00
Xavier Roche
c0165072d6 Fixed MD5_CTX => struct MD5Context 2014-07-06 08:24:40 +00:00
Xavier Roche
ebd4d34b7b Fixed HashMD5Context 2014-07-06 08:17:09 +00:00
Xavier Roche
047c6b726b Fixed MD5 definitions 2014-07-06 08:12:42 +00:00
Xavier Roche
aecd9a41ea Fixed MD5_Init() 2014-07-06 08:05:19 +00:00
Xavier Roche
46a9b89dd3 Added hts_has_stopped() flag, added some asserts 2014-07-06 08:00:36 +00:00
Xavier Roche
b6ba5073a5 typo. 2014-06-28 11:20:04 +00:00
Xavier Roche
5eb5b0891d Optimize the case when realloc() returns the same base address while reallocating the string pool. 2014-06-28 11:18:06 +00:00
Xavier Roche
afff7dc033 Fixed NULL pointer dereferencing in back_unserialize (htsback.c:976) spotted on Android platforms 2014-06-27 16:03:10 +00:00
Xavier Roche
69a93698dc Temporarily switch to MD5 with architectures not supporting unaligned integer accesses. 2014-06-24 18:16:30 +00:00
Xavier Roche
68d81080b3 Check for aligned access requirements explicitly. 2014-06-23 18:52:33 +00:00
Xavier Roche
a431fcf717 #ifdef failed 2014-06-23 07:33:30 +00:00
Xavier Roche
c722368dc0 Emergency fixing Invalid address alignment issues on Android 2014-06-23 04:49:41 +00:00
Xavier Roche
b1367feade Do not uncompress .tgz advertised as "streamed" (Smiling Spectre) 2014-06-22 13:30:41 +00:00
Xavier Roche
5882b122d1 Handle buggy SVG (Smiling Spectre) 2014-06-22 13:03:07 +00:00
Xavier Roche
f27a5f58be Fixed "comparison between signed and unsigned integer expressions" 2014-06-22 10:42:38 +00:00
Xavier Roche
d0d62c0598 No fopen64() on Android. 2014-06-22 10:22:39 +00:00
Xavier Roche
027fe3a5ee Possible cause of crash at htstools.c:425 inside long_to_83() 2014-06-17 19:56:26 +00:00
Xavier Roche
8b05179083 Fixed "old-style function definition" warning. 2014-06-17 19:09:31 +00:00
Xavier Roche
522af8962f Faster coucal_del_value_ 2014-06-15 20:27:45 +00:00
Xavier Roche
96a727e4fb Better coucal_is_acceptable_pow2() logic 2014-06-15 12:10:52 +00:00
Xavier Roche
4c876451be Fixed log size limit check. 2014-06-15 11:21:17 +00:00
Xavier Roche
c5003322b7 Cleanup in coucal_new() 2014-06-15 11:12:08 +00:00
Xavier Roche
8e72bb5deb Optional 64-bit hash for really big hashtables. (disabled by default) 2014-06-15 10:24:06 +00:00
Xavier Roche
2e6a99ce09 Added coucal_calc_hashes() 2014-06-15 08:48:18 +00:00
Xavier Roche
218f6e2cd9 Added coucal_fetch_value() 2014-06-15 08:31:41 +00:00
Xavier Roche
967932e75d Added coucal_fetch_value_hashes() 2014-06-15 08:29:02 +00:00
Xavier Roche
42bb06703a Credits. 2014-06-15 07:52:33 +00:00
Xavier Roche
3bb87c123a Intro line. 2014-06-15 07:43:32 +00:00
Xavier Roche
eeaa956588 Original cuckoo hashing paper 2014-06-15 07:39:57 +00:00
Xavier Roche
7925eccecd Added coucal_hash_data() 2014-06-14 20:18:56 +00:00
Xavier Roche
60ee0687d5 Cosmetic 2014-06-14 20:02:11 +00:00
Xavier Roche
8b3af0d585 Added comments. 2014-06-14 19:35:29 +00:00
Xavier Roche
028f23ca6f Added coucal_get_pvoid() and coucal_get_intptr() 2014-06-14 13:07:33 +00:00
Xavier Roche
bf40691b62 Wrapped lines. 2014-06-14 12:59:42 +00:00
Xavier Roche
dc21c7f595 BSD 3-Clause License 2014-06-14 12:55:11 +00:00
Xavier Roche
4461278b80 Added diff murmurhash3.h 2014-06-14 12:46:19 +00:00
Xavier Roche
95480e8d16 Fixed exports.
Fixed WIN32.
2014-06-14 12:39:16 +00:00
Xavier Roche
b10df97dd0 Remarks over MD5 vs. murmur hashing. 2014-06-14 10:08:38 +00:00
Xavier Roche
7a1e4b8265 Renamed inthash_* API to coucal_* one. 2014-06-14 10:05:44 +00:00
Xavier Roche
6c2120e053 Fixed includes. 2014-06-14 09:56:14 +00:00
Xavier Roche
7a261eec39 Re-license coucal to BSD-style license. 2014-06-14 09:55:50 +00:00
Xavier Roche
dbd99bb365 Fixed include 2014-06-14 09:51:03 +00:00
Xavier Roche
e0fe304f0b Preparing to export the cuckoo hashtable library as "coucal" project 2014-06-14 09:50:17 +00:00
Xavier Roche
84632e7bb6 Hashtable cleanup 2014-06-14 09:21:48 +00:00
Xavier Roche
a4f1156edc Fixed WIN32 build (stdint.h) 2014-06-11 19:04:32 +00:00
Xavier Roche
1e87dc455f Fixed zlib warning (build zlib with -DZLIB_CONST) 2014-06-11 18:59:42 +00:00
Xavier Roche
c0a31f2656 Added the following compiler flags:
* -Wunused-but-set-parameter
  * -Wignored-qualifiers
2014-06-11 16:50:00 +00:00
Xavier Roche
2e59d67d7a -Wstrict-aliasing=2 => -Wstrict-aliasing 2014-06-10 20:42:28 +00:00
Xavier Roche
713b83f7b4 Added the following compiler flags:
* -Wcast-qual 
  * -Wmissing-parameter-type
  * -Wold-style-definition
2014-06-10 20:27:13 +00:00
Xavier Roche
82e61ae9d6 Added missing minizip/mztools.c.diff reference 2014-06-10 17:04:48 +00:00
Xavier Roche
d2103fce8a Fixed const 2014-06-10 16:43:33 +00:00
Xavier Roche
93ae992d7b Changed hashtable types to have either opaque void*, or unions. 2014-06-10 16:37:44 +00:00
Xavier Roche
49dd329a09 Updated Makefile 2014-06-09 20:07:04 +00:00
Xavier Roche
185b664930 Added diff 2014-06-08 20:08:21 +00:00
Xavier Roche
3a7441b57b Reverted diff, groumph. 2014-06-08 20:06:06 +00:00
Xavier Roche
eeee43acb7 Added minizip orig files. 2014-06-08 20:00:57 +00:00
Xavier Roche
91946b7834 Fixed FTBFS when compiling with zlib versions < 1.2.70 (sammyx) 2014-06-08 19:54:49 +00:00
Xavier Roche
1af7fd8c5d 3.48.13 2014-06-08 15:43:28 +00:00
Xavier Roche
f509bed5be __cplusplus 2014-06-08 13:58:57 +00:00
Xavier Roche
6d1544383e Public definitions cleanup (especially for httraqt)
htsopt.h now has the following definitions:
  * struct htsrequest_proxy
  * struct htsrequest
  * struct htsblk
  * struct lien_url
  * struct lien_back
2014-06-08 13:02:43 +00:00
Xavier Roche
cd268fd39e 3.48.12 2014-06-08 11:22:41 +00:00
Xavier Roche
113fb00073 Using subdir-objects for automake
Replaced legacy INCLUDES by AM_CPPFLAGS
2014-06-08 11:12:21 +00:00
Xavier Roche
4608b62e2e Fixed __cplusplus issues 2014-06-08 09:35:34 +00:00
Xavier Roche
3f1e6ac8cd Typos 2014-06-08 09:26:46 +00:00
Xavier Roche
bfdc88cb0b Better. 2014-06-07 07:03:13 +00:00
Xavier Roche
a911bcf0c9 Fixed --advanced-maxlinks broken (Localhost) 2014-06-07 07:03:08 +00:00
Xavier Roche
49691770a9 Fixed initializer. 2014-06-06 20:58:35 +00:00
Xavier Roche
1a683c668a Cleanup. 2014-06-06 19:08:47 +00:00
Xavier Roche
dc49da62a1 Progressive power-of-two allocator for linked blocks. 2014-06-06 19:03:41 +00:00
Xavier Roche
018832a18b Added htsarrays.h to Makefile and devel libs 2014-06-06 18:47:53 +00:00
Xavier Roche
7ec5e6e7e4 tr -d '\r' 2014-06-06 18:47:39 +00:00
Xavier Roche
8c1e9ef23d Updated man 2014-06-06 18:47:24 +00:00
Xavier Roche
073a55ab1c Splitted typed arrays in htsarrays.h
Cleaned-up page generation
2014-06-06 18:43:50 +00:00
Xavier Roche
9ff2518be6 3.48.11 2014-06-06 16:02:35 +00:00
Xavier Roche
f78d271246 3.48.11 2014-06-06 15:57:02 +00:00
Xavier Roche
344d47e632 Additional check. 2014-06-06 15:48:05 +00:00
Xavier Roche
d068a8f3ff Fixed assertion failure at htscore.c:244 (len + liensbuf->string_buffer_size < liensbuf->string_buffer_capa)
* closes:46

-Cette ligne, et les suivantes ci-dessous, seront ignorées--

M    trunk/src/htscore.c
2014-06-06 15:47:38 +00:00
Xavier Roche
e64f9a8929 Added missing .h to -dev 2014-06-05 16:00:05 +00:00
Xavier Roche
2d2ec627b4 changelog 2014-06-05 15:59:49 +00:00
Xavier Roche
40f237fe9c Fixed "this decimal constant is unsigned only in ISO C90" 2014-06-04 19:53:07 +00:00
Xavier Roche
04cfb2db0e Updated man 2014-06-04 17:41:42 +00:00
Xavier Roche
bdbf66b45c Updated configure 2014-06-04 17:10:40 +00:00
Xavier Roche
6bace27858 3.48.10 2014-06-04 17:06:43 +00:00
Xavier Roche
7d3d496a7f 3.48-10 2014-06-04 17:02:44 +00:00
Xavier Roche
7826a49f59 Do not depend on SetDllDirectory (Windows 2003) as it breaks Windows 2000
* closes: #45
2014-06-04 16:10:38 +00:00
Xavier Roche
ed79961b7a Potential fix for htshash.c:330 assertion failure: "error invalidating hash entry" 2014-06-03 16:26:25 +00:00
Xavier Roche
d3c14c9d1f Missing string.h (moe) 2014-05-30 16:09:02 +00:00
Xavier Roche
7026ba7c7b Better "too many links" reporting. 2014-05-29 18:10:14 +00:00
Xavier Roche
abe98f238d Allocation failure handling. 2014-05-29 17:58:05 +00:00
Xavier Roche
8dd39bc909 Take in account opt->maxlink is non-zero 2014-05-29 17:29:02 +00:00
Xavier Roche
17ec3ecd6b Fixed regression over ./ 2014-05-29 16:14:57 +00:00
Xavier Roche
c7636d4f90 tr -d '\r' 2014-05-29 16:03:04 +00:00
Xavier Roche
3a7e594166 Fixed API change. 2014-05-29 15:57:57 +00:00
Xavier Roche
b88395a16c Unused function. 2014-05-29 15:53:30 +00:00
Xavier Roche
4f5776a8fa Big cleanup: introducing cleaner lien_adrfilsave and lien_adrfil structures holding address/uri or address/uri/filename rather than passing opaque char* of unknown size. 2014-05-29 15:42:53 +00:00
Xavier Roche
8adeadbdb6 Removed duplicate opt->lien_tot and opt->liens members in some functions. 2014-05-29 09:41:59 +00:00
Xavier Roche
c64b8d6e88 Fixes. 2014-05-29 09:34:37 +00:00
Xavier Roche
194ebad4c6 Added off_t_to_size_t() 2014-05-29 08:30:43 +00:00
Xavier Roche
ae6d05fbb3 Allocation cleanup (why "+2", why ?) 2014-05-29 08:20:07 +00:00
Xavier Roche
803f7b5a33 Added -Wformat-nonliteral flag. 2014-05-28 19:11:04 +00:00
Xavier Roche
f919aab408 Added assert 2014-05-28 19:05:31 +00:00
Xavier Roche
0238301aca Replaced sprintf() by hts_template_format_str() 2014-05-28 19:03:26 +00:00
Xavier Roche
3864a45388 Fixed NULL terminated string. 2014-05-28 19:03:07 +00:00
Xavier Roche
5e248cc4e3 Rewrite string template formatting to be format-injection proof. 2014-05-28 18:58:59 +00:00
Xavier Roche
473baf7f95 Fixed heap crawl overflow 2014-05-28 18:41:59 +00:00
Xavier Roche
27752e368c Rewrite template formatting to be format-injection proof. 2014-05-28 18:31:40 +00:00
Xavier Roche
37187f967f Fixed %%% 2014-05-28 18:27:45 +00:00
Xavier Roche
1d07610320 Added AM_PROG_CC_C_O and AM_PROG_LIBTOOL
Removed unused CXX

added the following default compiler flags:
  -Wdeclaration-after-statement
  -Wsequence-point
  -Wparentheses
  -Winit-self
  -Wuninitialized
  -Wformat
  -fstrict-aliasing -Wstrict-aliasing=2

added the following default linker flags:
  -Wl,--discard-all
  -Wl,--no-undefined

Depending on autoconf-archive because using AX_CHECK_COMPILE_FLAG and AX_CHECK_LINK_FLAG
2014-05-28 17:55:49 +00:00
Xavier Roche
49304bbe8f Bad md5. 2014-05-28 17:41:42 +00:00
Xavier Roche
11e069aa07 Really fixed. 2014-05-28 17:06:47 +00:00
Xavier Roche
0c7a0274ca Fixed build. 2014-05-28 16:58:37 +00:00
Xavier Roche
f3a4a20750 Fixed const T ** not being castable to const T ** 2014-05-28 16:51:56 +00:00
Xavier Roche
e090cd9ccf Added MD5 self-test 2014-05-28 16:50:47 +00:00
Xavier Roche
1bebff2697 Fixed dirty uint32_t cast leading to aliasing issues. 2014-05-28 16:36:24 +00:00
Xavier Roche
c7fac4dbca Added Vcs-Browser and Vcs-Svn fields to debian/control 2014-05-28 16:34:06 +00:00
Xavier Roche
0b52cac218 Cleanup, const correctness 2014-05-27 18:55:13 +00:00
Xavier Roche
43b457203b Fixed help option, and too long help line (man: "cannot adjust line") 2014-05-27 17:45:18 +00:00
Xavier Roche
fdcff762f6 Rewritten UTF8 writer to avoir spurious GCC 4.8.3 warnings. 2014-05-27 16:35:57 +00:00
Xavier Roche
c3987aca71 Export may_unknown and guess_httptype 2014-05-27 16:05:54 +00:00
Xavier Roche
f67a86657b tr -d '\r' 2014-05-27 16:05:28 +00:00
Xavier Roche
01edfd6d1e Fixed symbol import. 2014-05-27 16:05:09 +00:00
Xavier Roche
a300785d5e tr -d '\r' 2014-05-26 19:32:34 +00:00
Xavier Roche
5364514f34 Big links heap handling cleanup, and removed very old and legacy macros 2014-05-26 19:27:46 +00:00
Xavier Roche
f078a39677 Minizip warning fixes. 2014-05-24 11:57:25 +00:00
Xavier Roche
65454f4ff1 Fixed EXTRA_DIST 2014-05-24 11:38:11 +00:00
Xavier Roche
15813b5380 Removed ChangeLogUnzip 2014-05-24 11:31:17 +00:00
Xavier Roche
033ce293b8 Fixed minizip. 2014-05-24 08:37:21 +00:00
Xavier Roche
d1913325e4 Missing zflush_file member. 2014-05-24 08:17:08 +00:00
Xavier Roche
882578ed9a Upgraded to minizip 1.1 from zlib 1.2.8 2014-05-24 07:56:11 +00:00
Xavier Roche
1ec8b5fb9e No diff. 2014-05-24 07:50:51 +00:00
Xavier Roche
796c62f07c Diff are better. 2014-05-24 07:45:12 +00:00
Xavier Roche
cefcc04266 "const correctness" cleanup
added the following default flags:
  -Wformat
  -Wformat-security
  -Wmultichar
  -Wwrite-strings
fixed several other warnings
2014-05-23 21:33:43 +00:00
Xavier Roche
6ba50a2001 Added symbol visibility features to the build to hide internal symbols (GCC) 2014-05-23 15:28:55 +00:00
Xavier Roche
9315f64b6e 3.48.9 (autoconf) 2014-05-23 15:24:50 +00:00
Xavier Roche
feb2a02cc2 3.48.9-1 changelog 2014-05-23 15:23:17 +00:00
Xavier Roche
24ff04fdb7 3.48.9 2014-05-21 17:21:29 +00:00
Xavier Roche
72e0c0601b Cleaner dup 2014-05-21 17:01:30 +00:00
Xavier Roche
b72741ddc9 tr -d '\r' 2014-05-19 19:37:40 +00:00
Xavier Roche
1edfda507d Added unit test for issue #44 2014-05-19 19:24:06 +00:00
Xavier Roche
4a62c84479 char* => const char* 2014-05-19 19:17:50 +00:00
Xavier Roche
595d446470 Added strlcpybuff() macro. 2014-05-19 19:15:16 +00:00
Xavier Roche
0474c596b6 Fixed segOutputSize < segSize assertion fails at htscharset.c:993
* closes:#44
2014-05-19 19:12:27 +00:00
Xavier Roche
9f23ea7980 Fixed __builtin___strncat_chk warning 2014-05-18 14:05:08 +00:00
Xavier Roche
fe1ec5b0f6 Removed unused variable. 2014-05-18 14:02:06 +00:00
Xavier Roche
fd1ab669ad tr -d '\r' 2014-05-18 13:55:54 +00:00
Xavier Roche
34788bb7f6 Backlog for web server to 10. 2014-05-18 13:55:47 +00:00
Xavier Roche
03edb3eac8 Cleanup in callbacks. 2014-05-18 13:43:09 +00:00
Xavier Roche
fe7ea8b140 Big cleanup in network address and dns functions:
* removed t_fullhostent insanity
  * removed (struct sockaddr*) casts
  * use SOCaddr everywhere rather than raw struct hostent*
2014-05-18 13:11:40 +00:00
Xavier Roche
1fd27d74af libtool: in_port_t and sa_family_t 2014-05-18 10:59:07 +00:00
Xavier Roche
08a17f31d4 Removed size member from SOCaddr 2014-05-18 10:53:29 +00:00
Xavier Roche
6c8b76e531 Cleanup in socket handling (less ugly casts!) 2014-05-18 09:49:24 +00:00
Xavier Roche
66c8cc32aa Illegal use of strnlen(..., (size_t) -1) 2014-05-17 13:55:17 +00:00
Xavier Roche
2209c7bdd8 Anonymous logging. 2014-05-17 13:29:45 +00:00
Xavier Roche
cb0460ddcb Added hts_set_log_vprint_callback() definition 2014-05-17 13:21:03 +00:00
Xavier Roche
fb9e02ffb9 Added hts_set_log_vprint_callback() 2014-05-17 13:20:42 +00:00
Xavier Roche
ac779cb6a0 Fixed potentiel overrun if the user injects a buggy user-defined structure with a non-terminated %[] 2014-05-17 12:31:37 +00:00
Xavier Roche
0073d3ad05 tr -d '\r' 2014-05-15 19:44:28 +00:00
Xavier Roche
638cc96917 Added some asserts for Android. 2014-05-15 19:33:38 +00:00
Xavier Roche
c6e0ad4bce Cosmetic. 2014-05-15 19:27:29 +00:00
Xavier Roche
c457788a14 Compile-time checks. 2014-05-15 19:25:27 +00:00
Xavier Roche
216005d33a Fixed uint64_t vs. long long int 2014-05-15 19:24:56 +00:00
Xavier Roche
59008af067 Removed unused variable. 2014-05-15 17:26:46 +00:00
Xavier Roche
3059bd6f53 3.48.8-1 2014-05-15 17:22:16 +00:00
Xavier Roche
e5b3c85156 3.48.8 2014-05-15 17:08:29 +00:00
Xavier Roche
843faaf83d WIN32: zlib 1.2.8 2014-05-15 17:06:59 +00:00
Xavier Roche
75969b1147 Cosmetic 2014-05-14 20:27:55 +00:00
Xavier Roche
6ad604624d Fixed macro. 2014-05-14 20:20:01 +00:00
Xavier Roche
c05f54ae04 Clean hts_set_error_callback() and hts_get_error_callback() 2014-05-14 20:12:42 +00:00
Xavier Roche
ae1db762e7 Missing htsCallbackErr definition 2014-05-14 19:51:33 +00:00
Xavier Roche
16aec722bf 3.48.7 2014-05-14 17:57:18 +00:00
Xavier Roche
4ff55249ed 3.48.7 2014-05-14 17:51:09 +00:00
Xavier Roche
fea8122ed3 Fixed hashtable corruption because of dirty code directly modifying the host address in memory, leading to have hashtable positions not anymore valid.
This issue was especially triggered when a redirect was processed ("Warning moved treated for .." messages)
  * closes: #43
2014-05-14 17:48:04 +00:00
Xavier Roche
7323230eb3 Added debug logging facility. 2014-05-14 17:45:51 +00:00
Xavier Roche
c9f656fdeb Better stdarg.h 2014-05-13 20:12:10 +00:00
Xavier Roche
042525a1db #include <stdarg.h> 2014-05-13 20:11:41 +00:00
Xavier Roche
3fde59c090 #include <stdarg.h> 2014-05-13 20:11:02 +00:00
Xavier Roche
edaaa73328 #include <stdarg.h> 2014-05-13 20:08:53 +00:00
Xavier Roche
cc424a4503 3.48.6 2014-05-13 19:24:40 +00:00
Xavier Roche
1f18c67f8a 3.48.6 2014-05-13 19:21:12 +00:00
Xavier Roche
a016accc4b Fixed buggy , in man 2014-05-12 18:54:27 +00:00
Xavier Roche
1315e03cc5 Fixed warning: "warning: no previous prototype for 'htsthread_wait'" 2014-05-11 08:27:09 +00:00
Xavier Roche
917d6bd3c4 Better logging for hashtables 2014-05-10 19:08:05 +00:00
Xavier Roche
a085b2b2fa Hashtable: names for debugging, and better logging 2014-05-10 19:07:51 +00:00
Xavier Roche
67b8737ed4 Mitigate stash overflow by resizing the hashtable.
Added better logging.
2014-05-10 14:15:22 +00:00
Xavier Roche
9d67ab4cf0 cache->iadr is not supposed to be NULL, but ... (could explain crashes on Android at data.app_lib.com_httrack_android_1.libhttrack_so.0x62e4c) 2014-05-09 16:52:29 +00:00
Xavier Roche
b331963ba6 assert cleanup. 2014-05-09 16:43:48 +00:00
Xavier Roche
f48114006d Inline keyword. 2014-05-08 09:25:11 +00:00
Xavier Roche
9208228e2d Missing NULL. 2014-05-08 09:17:27 +00:00
Xavier Roche
9a17499b99 Assertion handler (2) 2014-05-08 09:14:48 +00:00
Xavier Roche
91714c7a28 Assertion handler 2014-05-08 09:14:19 +00:00
Xavier Roche
3a3d27386c Added assertion handlers to hashtables. 2014-05-08 09:13:54 +00:00
Xavier Roche
d59341813d Cleanup in dirty mallocated strings 2014-05-06 18:42:45 +00:00
Xavier Roche
65eb4e58e5 Fixed regression introduced in r995 over strcpybuff() reusing macro arguments multiple times, leading to troubles when using side-effects. 2014-05-06 18:40:50 +00:00
Xavier Roche
7e75314395 Added -DLIBHTTRACK_EXPORTS for libhttrack 2014-05-04 16:04:18 +00:00
Xavier Roche
5ff78eebd0 Fixed build. 2014-05-04 15:50:12 +00:00
Xavier Roche
76dc4d04fc Added strlcatbuff 2014-05-04 15:17:21 +00:00
Xavier Roche
5b0c24aa71 Replaced ugly cat by snprintf 2014-05-04 15:16:59 +00:00
Xavier Roche
ba35564fac Fixed hidden type. 2014-05-04 14:57:41 +00:00
Xavier Roche
0db2125bdc Potentially unused functions. 2014-05-04 14:44:17 +00:00
Xavier Roche
032be64885 Fix 2. 2014-05-04 14:35:22 +00:00
Xavier Roche
b41e6dc3af Fix. 2014-05-04 14:35:01 +00:00
Xavier Roche
a798cd3a8d Cleanup. 2014-05-04 14:29:26 +00:00
Xavier Roche
d2435b1b5e Hashtable: logging in case of troubles 2014-05-04 14:24:27 +00:00
Xavier Roche
213359b3db More hashtable stress 2014-05-04 14:00:30 +00:00
Xavier Roche
3b1bf0b8af Comment. 2014-05-04 11:02:43 +00:00
Xavier Roche
6aef8ee820 Use GCC's __builtin_types_compatible_p() 2014-05-04 11:01:01 +00:00
Xavier Roche
ac6cc76bab Added htssafe.h 2014-05-04 11:00:49 +00:00
Xavier Roche
a3fb178b10 Newlines. 2014-05-04 09:01:07 +00:00
Xavier Roche
b1fa75dfe0 Big cleanup in string primitives and abort functions 2014-05-04 08:48:23 +00:00
Xavier Roche
4da59a6399 Added "long query string" ut/
See <https://code.google.com/p/httrack/issues/detail?id=42>
2014-05-02 19:19:08 +00:00
Xavier Roche
44688bdbdf Fixed issue #42 (long query strings with accents) 2014-05-02 18:39:21 +00:00
Xavier Roche
6ce91ec1f3 HTTRACK_DEFLIB cleanup. 2014-05-02 18:05:57 +00:00
Xavier Roche
95b9374ff3 Fixed WIN32. 2014-05-02 17:53:49 +00:00
Xavier Roche
c7edfe0f5f Fixes. 2014-05-02 17:44:51 +00:00
Xavier Roche
381eebc056 Add htsconcat.c 2014-05-02 15:16:18 +00:00
Xavier Roche
5544f503bf Big cleanup in functions writing to a char buffer without proper size boundary. 2014-05-02 15:13:29 +00:00
Xavier Roche
b3fa8537c4 3.48.5 2014-05-02 14:39:27 +00:00
Xavier Roche
aafafee47e Fixed manual (lintian) 2014-04-29 19:32:18 +00:00
Xavier Roche
632befbd53 Updated doc. 2014-04-27 17:05:20 +00:00
Xavier Roche
908f3ac832 Better be unsigned int. 2014-04-27 16:59:05 +00:00
Xavier Roche
d46e835fc2 Removed duplicate is_realspace definition 2014-04-27 16:52:54 +00:00
Xavier Roche
1f6b64f81a 3.48.4 2014-04-27 16:51:21 +00:00
Xavier Roche
24eee92311 Removed buggy definitions (Michael Tautschnig) 2014-04-27 16:46:08 +00:00
Xavier Roche
75b5002c63 More 2014. 2014-04-24 19:32:26 +00:00
Xavier Roche
792311df15 2013 is so last year. 2014-04-24 19:28:32 +00:00
Xavier Roche
3e63dbc69c Removed __DATE__ for reproducible builds. 2014-04-24 19:24:11 +00:00
Xavier Roche
589b5ed78f Really call dh_autoreconf (Matthias Klose) 2014-04-16 16:08:25 +00:00
Xavier Roche
015cff31b9 3.48.1-4 2014-04-15 20:15:46 +00:00
Xavier Roche
8e0c4ab867 3.48.1-3 2014-04-15 19:33:00 +00:00
Xavier Roche
919030900d Build-Depends: dh-autoreconf 2014-04-15 19:30:24 +00:00
Xavier Roche
859f4625cb 3.48.1-2 2014-04-15 19:10:14 +00:00
Xavier Roche
0985f4c014 Standards-Version: 3.9.5 2014-04-15 19:07:32 +00:00
Xavier Roche
21debe05da const char* fixes. 2014-04-13 18:59:36 +00:00
Xavier Roche
d0d9660ac9 Do not erase *.a files is these files are the shared library ones.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744594
2014-04-13 18:50:24 +00:00
Xavier Roche
2fe3a96b09 Call dh_autoreconf_clean before dh_clean 2014-04-13 17:34:39 +00:00
Xavier Roche
ef647e9136 3.48.3 (Windows only diffs) 2014-04-13 14:29:24 +00:00
Xavier Roche
159e3d0017 VERBOSE=1 dh_auto_test 2014-04-13 14:29:03 +00:00
Xavier Roche
9661b389d9 changelog (Windows only) 2014-04-13 14:29:00 +00:00

Diff Content Not Available