1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00
Commit Graph

51 Commits

Author SHA1 Message Date
hniksic
2a58c7d207 [svn] Wrap macro arg in parentheses. 2006-04-11 11:03:14 -07:00
hniksic
2fc7e59e06 [svn] Fixed definition of TOLOWER when STANDALONE. 2006-03-06 06:00:18 -08:00
hniksic
b89b58e00a [svn] Obtain the declaration of uintptr_t when standalone. 2006-02-02 05:37:56 -08:00
hniksic
31cc8166dc [svn] Don't define countof if it's already defined. 2006-02-02 05:04:33 -08:00
hniksic
3e145c6018 [svn] Use uintptr_t instead of unsigned long for integer representation of pointers. 2005-11-19 11:35:02 -08:00
hniksic
6cae84266c [svn] Doc fix. 2005-08-27 12:09:52 -07:00
hniksic
8b7dabcdf8 [svn] Simplify iteration over hash table entries. 2005-08-27 06:05:39 -07:00
hniksic
db9de5b075 [svn] Update FSF's address and copyright years. 2005-07-01 19:26:52 -07:00
hniksic
38bc0295d4 [svn] Trivially rename "mapping" to "cell" and "non-empty" to "occupied" to
avoid confusion.
2005-06-20 08:00:39 -07:00
hniksic
908d7a4bce [svn] Don't cast return type of malloc/realloc. Assume ANSI C signal handlers. 2005-06-19 16:03:27 -07:00
hniksic
277e840a0f [svn] Remove K&R support. 2005-06-19 15:34:58 -07:00
hniksic
c2c41a6b14 [svn] Remove unreachable "break" statements. 2005-04-28 06:52:02 -07:00
hniksic
4de69525f2 [svn] Doc fix. 2005-04-16 11:11:23 -07:00
hniksic
c65bc738a0 [svn] Conditonialize including config.h on HAVE_CONFIG_H, not on STANDALONE. 2005-04-11 12:20:45 -07:00
hniksic
e65ff5729a [svn] Avoid explicit 64-bit constants; construct them by multiplication at
compile-time.
2005-04-01 10:22:38 -08:00
hniksic
7c044778bc [svn] Improve built-in memory debugger. 2005-03-20 07:07:40 -08:00
hniksic
e2241936d0 [svn] Remove warnings under Borland C. 2005-03-05 18:11:10 -08:00
hniksic
91ebe986e4 [svn] Make hash.c compilable outside the source tree. 2004-02-04 04:32:46 -08:00
hniksic
36b266f894 [svn] Trivial doc fix. 2003-12-19 17:40:19 -08:00
hniksic
6f3dbca0c5 [svn] Better INT_MAX and UCHAR_MAX checks. 2003-11-11 16:42:09 -08:00
hniksic
caa70d1420 [svn] Move the explanation of IdentityHashMap to hash_table_new. 2003-11-07 20:06:03 -08:00
hniksic
21f6620b49 [svn] *** empty log message *** 2003-11-07 19:58:50 -08:00
hniksic
85ff32caeb [svn] Name the source of the integer hash function. 2003-11-07 19:42:58 -08:00
hniksic
fef88bd179 [svn] Mark entries as deleted with the correct marker. 2003-11-07 16:52:23 -08:00
hniksic
bf1ce5b2ad [svn] Use 0xff in hash_table_clear. 2003-11-07 16:48:12 -08:00
hniksic
e5332ac6fc [svn] Improve documentation. 2003-11-07 16:20:10 -08:00
hniksic
ab15dd054b [svn] Allow NULL/0 as hash table keys. 2003-11-07 03:40:08 -08:00
hniksic
c8e92cdbd6 [svn] Get rid of ssl_iread/ssl_iwrite. Have the SSL code register its
routines for reading and writing data.
2003-11-05 17:12:03 -08:00
hniksic
3dc9f336e8 [svn] Renamed HASH_FULLNESS_THRESHOLD to HASH_MAX_FULLNESS. 2003-10-31 18:45:16 -08:00
hniksic
5f0a2b3f08 [svn] Use new macros xnew, xnew0, xnew_array, and xnew0_array in various places. 2003-10-31 06:55:50 -08:00
hniksic
ffc2d0f653 [svn] Make the first argument to hash_table_new a minimal count of items before
regrow, not raw size, which is more useful.
2003-10-09 19:46:09 -07:00
hniksic
b49e89e78a [svn] Add const declarations to hash-table functions. 2003-10-09 06:32:28 -07:00
hniksic
c2ffc02ab3 [svn] If hash/test functions aren't given, default to identity hash tables. 2003-09-22 07:32:17 -07:00
hniksic
7b5fb50cb1 [svn] Renamed wget.h XDIGIT-related macros to (hopefully) clearer names. 2003-09-19 07:08:37 -07:00
hniksic
b2be7522c7 [svn] Update the license to include the OpenSSL exception. 2002-05-17 19:16:36 -07:00
hniksic
a4abdda23d [svn] Minor optimization of prime_size.
Published in <sxswuu2p6pm.fsf@florida.munich.redhat.com>.
2002-05-17 18:48:39 -07:00
hniksic
1375a89141 [svn] Allow Wget to be compiled with a K&R compiler.
Published in <sxszo0af9k6.fsf@florida.arsdigita.de>.
2002-04-11 10:49:32 -07:00
hniksic
e798e61c06 [svn] Minor doc addition. 2001-11-17 10:03:57 -08:00
hniksic
0b056d1720 [svn] Update copyright notices. 2001-05-27 12:35:15 -07:00
hniksic
72eca0976b [svn] Commit several minor changes:
* main.c (print_help): Document `--no-http-keep-alive'.

* utils.c (numdigit): Handle negative numbers *correctly*.

* hash.c (make_nocase_string_hash_table): Use term "nocase" rather
than the confusing "unsigned".

* utils.c (string_set_contains): Renamed from string_set_exists.

* hash.c (hash_table_contains): Renamed from hash_table_exists.

* cookies.c: Move case-insensitive hash tables to hash.c.

Published in <sxsheyq9vvl.fsf@florida.arsdigita.de>.
2001-05-12 13:06:41 -07:00
hniksic
ac7c8c1390 [svn] Improve performance of grow_hash_table.
Published in <sxs66g8nd4c.fsf@florida.arsdigita.de>.
2001-04-14 00:41:29 -07:00
hniksic
eae28f142d [svn] Commit various hash table changes:
* hash.c (hash_table_map): Allow deletion and change of the
element processed by MAPFUN.
(string_hash): Use the function from glib.
* hash.c (hash_table_remove): Rewrite to actually clear deleted
entries instead of just marking them as deleted.

Published in <sxsu23tvdur.fsf@florida.arsdigita.de>.
2001-04-12 17:34:24 -07:00
hniksic
26547d3987 [svn] New function hash_table_count.
Published in <sxsu2403zzw.fsf@florida.arsdigita.de>.
2001-04-07 19:09:04 -07:00
hniksic
3ecad253f2 [svn] Include string.h. 2001-04-05 20:43:35 -07:00
hniksic
22240955e6 [svn] Undef xmalloc and friends before redefining them when standalone. 2001-03-30 21:07:10 -08:00
hniksic
d8c9ce30aa [svn] Make sure xfree is #define'd in standalone mode in files that
support one.
2000-11-22 09:00:31 -08:00
hniksic
2ffb47eabf [svn] Committed <sxsbsv854j9.fsf@florida.arsdigita.de>. 2000-11-22 08:58:28 -08:00
hniksic
d6a57bc2a6 [svn] Commit hash table bugfix.
Published in <sxs8zqd9x1g.fsf@florida.arsdigita.de>.
2000-11-21 08:42:29 -08:00
hniksic
45eee9e56c [svn] Remove stray debugging statement. 2000-11-20 19:08:41 -08:00
hniksic
6e598c81e3 [svn] Committed a bunch of different tweaks of mine.
Published in <sxsr9463wrx.fsf@florida.arsdigita.de>.
2000-11-20 18:06:36 -08:00