Commit Graph

44 Commits

Author SHA1 Message Date
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
hniksic b0b1c815c1 [svn] A bunch of new features:
- use mmap() to read whole files in core instead of allocating memory
  and read'ing it.

- use a new, more general, HTML parser (html-parse.c) and interface to
  it from Wget (html-url.c).

- respect <meta name=robots content=nofollow> (easy with the new HTML
  parser).

- use hash tables instead of linked lists in places where the lists
  were used to facilitate mappings.

- rewrite the code in host.c to be more readable and faster (hash
  tables instead of home-grown lists.)

- make convert_links properly convert partial URLs to complete ones
  for those URLs that have *not* been downloaded.

- use HTTP persistent connections where available.  very
  simple-minded, caches the last connection to the server.

Published in <sxshf533d5r.fsf@florida.arsdigita.de>.
2000-11-19 12:50:10 -08:00