# v 0.96.6   2009-03-29  [stable]

Bug Fixes:

- #1932909 "columns in search window do not scale properly".
- Fixed improper HTTP chunking when outputing chunks larger than 64 KiB.
- #2628899 "tries to download from my old self after IP changes".
- Was not always resuming the interrupted SHA-1 computation of a finished file
  when servent was closed in the middle of processing.
- Fixed bad range checking test in the download part.
- Was not paying attention to the "give_server_hostname" property and instead
  sent "HNAME" GGEP extensions in query hits provided a non-empty name was
  defined as the "server_hostname".
- Fixed improper upload slot counting which introduced race conditions,
  sometimes leading to having more slots used than the configured maximum
  (in addition to the "quick" upload slots).
- Prevent occasional crashes at shutdown time, during subsystem cleanups.
- Fixed corner cases where we could lose a server hostname and downright bug
  where we discarded the hostname after a DNS lookup if the subsequent
  connection attempt did not succeed.

Improvements:
- Refuse to share certain directories: /, $HOME, $GTK_GNUTELLA_DIR, and
  the incomplete and corrupted directories.
- Downloads GUI: added checkboxes to invert the select/filter patterns.
- Downloads GUI: added "Modified" column and detail showing the timestamp of
  the last file modification.
- Optional beautification operations on filenames: strip leading "-", remove
  consecutive "_" and prevent "_" surrounding punctuation characters.
- Fixed significant performance issue in the Gtk+ 1.2 front-end: update of
  upload statistics was O(n) but is now O(1).
- Background TTH file verification now lights an icon in the GUI.
- Show TTH tree depth in the download "Details" pane.
- Update the bitzi metadata info box when a query finishes, so that it is
  not required to click on the result again after requesting bitzi data.
- Added MIME type column for search results.
- Added "Last Request" and "Last Upload" columns to the Upload History.
- Almost complete DHT support (missing only publishing of data), but code
  needs to be explicitly enabled by setting "enable_dht" to TRUE.  The DHT
  knows how to look for alt-locs for files and push-proxies for firewalled
  hosts, and will store local data for others to query.
- New shell commands "stats", "download", "echo".
- It is now possible to rename files being downloaded (through GTK2 or shell,
  no support in GTK1).
- Added more filename extensions to the built-in search filters.
- Switch resources after getting an HTTP error if the connection is kept alive
  and the error permits follow-ups (non-busy conditions).
- Improved ability to switch resources after file completion by ignoring
  trailing swarming data, to keep the connection alive.
- Bitzi tickets are refreshed when explicitely requested, avoiding reuse
  of stale metadata
- Completed files are displayed during hash verification.
- Only propagate good alt-locs for files we are downloading, i.e. addresses
  of hosts which we know to be serving that file because we contacted them.
- Many new statistics counters.
- Allow scheduling of special downloads without considering per-host limits,
  as these are of a much shorter duration (THEX and browse host requests).
- Always seed completed files, regardless of their size (no PFSP minimum as
  with partial files), when their SHA-1 has been verified.
- Incorrectly encoded Bitzi metadata is translated to Unicode.
- Browse-host responses are sorted alphanumerically on relative pathnames to
  allow users to relate files together if they don't understand GGEP "PATH".
- Improved routing of PUSH messages by also looking whether targetted hosts
  happen to be one of our immediate neighbours.
- Updated Norwegian Bokmal and Spanish translations.

Under the hood:

- Parse legacy Shareaza THEX URIs "urn:tree:tiger/:" (extra "/" here).
- Handle non-standard  X-Thex-URI headers if peer provides a valid
  X-Content-URN header (Shareaza 2.1.0.0).
- Also attempt to give priority to the last "pfsp_last_chunk" bytes of
  downloaded files, since that can contain important indexing information to
  enable pre-view of partial video files.
- More MIME types known (derived from file extensions).
- Can now download THEX data at a tree depth of 11 for files larger than 1 GiB.
- Can download sub-optimal THEX data, as non-optimal data is better than none,
  but keeps looking for THEX data at the optimal tree depth nonetheless.
- Reimplemented scanning of shared directories as a background task so that
  the process (not just the GUI) is fully responsive during the whole scan.
- Let the background task scheduler compute the proper amount of ticks to
  use for each task.
- Upload statistics now record the file's SHA-1, so that we can consolidate
  partial file sharing with library sharing statistics, with the filename
  being forced to the library's filename.
- Avoid starting moving a completed file if there is not enough space on
  the targetted file system.
- Recognize and propagate the "DHT" GGEP extension in pongs.
- Added support for "DHTIPP" GGEP extension in pings, used for DHT bootstrap.
- Added more entropy to the random number seed.
- Plugged memory leaks
- No longer send SHA-1 queries on the Gnutella network. They are now performed
  through the DHT, which has the suitable topology to do so efficiently.
- Fixed UDP bandwidth computation, and removed any limit on UDP incoming.
- Updated list of hostile IP adress ranges, Geo-IP data, spam patterns and
  spam samples.
- Property loading from files was in O(n*n), made it O(n).
- Now detect property files being blindly copied over from another
  gtk-gnutella's config directory and reset properties whose value needs to
  be unique.
- The GUID and the KUID (Kademlia ID, the DHT node ID) were made sticky.
- Optimization of QRP lookups in tables ranging from 16k to 2M slots.
- Limit amount of hits to 10 per query hit packet, as LimeWire chokes otherwise.
- Limit amount of alt-locs in hits to 10 or LimeWire chokes.
- Keep connection alive when reporting an HTTP error to allow remote resource
  switching if necessary.
- Emit and parse new X-Downloaded header, apparently introduced by LimeWire.
- Added parsing of X-FW-Node-Info headers to grab push-proxies from firewalled
  hosts, as well as gather the proper GUID and host address/port.
- Emit X-FW-Node-Info if node is firewalled but continue to list our
  push-proxies in the standard X-Push-Proxies header.
- Avoid endless aggressive chunk splitting during swarming.
- Proper parsing of comma-separated values in Accept and other Accept-Encoding
  HTTP headers.
- Reject UDP packets from unspecified addresses.
- Drain more data out of the UDP receive buffer to prevent it from filling up.
- Strip at most 5 trailing characters from words when building the QRP table,
  thereby inserting less radices and making the table more sparse.
- Removed workarounds for dealing with broken 0.96.2 nodes and earlier 0.95.x.
- Extended syntax for push:// exact sources in magnets to be able to supply
  all the known push-proxies, even if that is an empty set.  Since downloads
  are persisted as magnets, this also allows keeping all the previously
  known push-proxies accross sessions.
- Upgraded PARQ to version 1.1 (mostly specification cleanups).
- Added additional anti-hammering for cases where many files on the same
  server are queued and gtk-gnutella is configured to launch more than 1
  connection per IP.  Connection attempts to the same server are now limited
  to 5 per minute.

Limitations:

- DHT code is still experimental, although functional: configuration of
  parameters can only be done through the shell, and there is no support
  for publishing yet.

# v 0.96.5   2008-04-01  [stable]

Bug Fixes:

 - #1870957: Wrong sign could cause out-of-bounds read and potentially a crash.
 - Firewalled status was not re-verified after a port change if the previously
   used port was open.
 - Fixed issue that caused the local peer cache to degenerate.

Improvements:

 - Client-side support for tigertree hashes (TTH/THEX).
 - Replaced navigation tree by tabs.
 - Redesigned download user-interface to make it more accessible.
 - Added some selectable pre-defined search filters.
 - Bitzi tickets are displayed in full raw indented XML.
 - Display Bitzi and ShareMonkey URLs as search result details.
 - Topless mode is available at run-time via command-line switch.
 - Added default shared filename extensions:
   .7z, .bittorrent, .oga, .ogv, .spx, .tbz2
 - Removed default shared filename extensions: .doc
 - Updated translations: Japanese, Norwegian Bokmal, French.

Under the hood:

 - Changed default to dual use of IPv4 and IPv6 instead of IPv4-only.
 - Support the "as" (Alternate Source) key in magnet links.
 - Eszett is finally normalized to "ss" in search queries.
 - Avoid display updates for elements not currently visible.
 - Take full advantage of persistent HTTP connections to fetch multiple
   files from the same peer through over the same connection if scheduling
   permits.
 - Improved TLS support and blocking detection.
 - Updated list of hostile IP adress ranges, bogons, Geo-IP data,
   spam patterns and spam samples.

# v 0.96.4   2007-07-07  [stable]

Bug Fixes:

 - The download overlap checking was incorrectly detecting mismatches.
 - A bug in the network queue caused frequent crashes (#1601523).
 - A bug in the event timing caused failures after 25 days uptime.
 - A stalling issue with TLS connections.
 - The search retry timeouts weren't accepted (#1568205).
 - The order of items in the search history was wrong (#1568206).
 - The quick-connect limit wasn't respected causing too frequent
   connection attempts during startup.
 - Removed incorrect use of SF_NODISKIO flag for sendfile() on FreeBSD.
 - Fixed crash that could be triggered by changing the listening port
   temporarily to zero.
 - iconv() was not used correctly which could cause wrong conversions
   for longer strings.
 - Generated filenames weren't properly restricted in length which
   could cause crashes.
 - There was a compile issue on NetBSD caused by namespace pollution.
 - Added workaround for the issue that on Solaris only the file descriptors
   0..255 can be used for stdio.

Improvements:

 - Finished downloads are now seeded for the whole session or until
   they are manually purged, if partial file-sharing is enabled.
 - Server-side support for Tigertree hashes and THEX thanks to patches
   provided by Martijn van Oosterhout.
 - Improved spam filters.
 - Slightly better drag & drop support.
 - Removed GWebCache support so only UHCs are used for bootstrapping.
 - Improved the shell interface somewhat.
 - Downloads can be paused now.
 - Added a simple query syntax for easier creation of result filters.

Under the hood:

 - Added support for HEAD Pings and Pongs which improves the download mesh.
 - Implemented for Out-of-Band result delivery protocol v3 which protects
   against certain kinds of forged results.

# v 0.96.3   2006-11-09  [stable]

Bug fixes:
 - Portability fixes which affect the ARM architecture.
 - Ultrapeers could be unnecessarily demoted to leaves in auto mode.
 - [GTK2] Fixed a bug that could cause spurious assertion failures or memory
   corruption.
 - Fixed bug that might have caused truncation of printed numbers in certain
   places.
 - Rewrite the upload_history file if the history was cleared.
 - Fixed crash caused by an assertion failure that could occur if IPv6
   support was disabled at compile-time.
 - Fixed buggy utf8_is_valid_data().
 - Fixed a couple of small technical mistakes in translations.
 - Fixed compilation for Cygwin without IPv6 support.

Updated:
 - Updated French translation.
 - Updated list of hostile IP ranges.
 - Updated list of bootstrap caches.
 - Updated list of country names and codes for Serbia and Montenegro.

Improvements:
 - Turkish translation.
 - New shell commands: online, offline, props, status.
 - The search list allows selection of multiple items and applying actions to
   them now.
 - Added a tray icon to hide the gtk-gnutella application windows. This
   feature requires Gtk+ 2.10 or newer.
 - Added a limit of downloads per file which defaults to 40 to prevent using
   an unreasonably large amount of sources.
 - Keep certain irrelevant columns empty for "local:" searches instead of
   showing bogus data.
 - Added README.Debian with instructions how to compile gtk-gnutella yourself
   on Debian-derived systems.

Under the hood:
 - Rewrote "fast" assertions so that they are sufficiently portable and do
   not mess with debugging. Thus they are always enabled now which reduces
   code size signifcantly.
 - The TLS cache is now persistent without SQLite too.
 - Disabled reservation of Gnutella slots and vendor limits because it's not
   useful with the current population of Gnutella.
 - Disabled GWebCache updates.
 - Configure bails out now if a mandatory dependency e.g., libxml2, GLib,
   zlib isn't available.
 - Added -Wshadow to the default compile flags for GCC for even cleaner code.

# v 0.96.2   2006-10-16  [stable]

Bug fixes:
 - Fixed bug #1467793 "uname() return value".
 - Fixed bug #1467681 "weird HTTP acknowledgment".
 - Fixed bug #1422526 "`Drop results' should prepend, not append, to filters".
 - Fixed bugs in the dynamic querying logic that caused leaves to
   receive very few results through gtk-gnutella ultrapeers.
 - Fixed crash on 64-bit platforms when using the navigation tree.
 - Fixed format mismatches in some translated message catalogs.

Updates:
 - Updated French, Japanese and Ukrainian translations.
 - Updated list of hostile IP ranges.
 - Updated list of bootstrap caches.
 - Updated list of country names and codes.

Improvements:
 - Italian translation.
 - Fairly complete support for magnet-links; magnets can be passed per
   drag & drop or entered via the search box. Magnets can be generated
   from the search results display and the downloads display through
   the context menu.
 - SHA-1 based spam filtering.
 - Built-in spam detection for certain kinds of spam.
 - [GTK2] Overhaul of the downloads display.
 - [GTK1] Downloads can be sorted albeit the sorting does not persist.
 - Compiling the topless is variant is now as easy as
   "./Configure -Oders -Dd_headless".
 - Support for several command-line options like "--help".
 - A local shell interface accessible with "gtk-gnutella --shell".
 - New shell commands "nodes" and "shutdown".
 - All downloads are stopped now if the disk apparently filled up.
 - Caching of TLS-support allows automatic use of TLS.
 - ~/.gtk-gnutella/whitelist supports the "tls:" as well.
 - More search results columns for experts (hidden by default).
 - Diverse IPv6 settings can be configured in the GUI now.
 - The setting "IPv4 and IPv6" works now; the default is "IPv4 only".
 - Results bearing no SHA-1 are suppressed by default.
 - Results from hostile IP ranges can be made visible; they are discarded
   by default.
 - One's own shared files can be search by using the prefix "local:"
   for searches. Local searches uses regex syntax unlike Gnutella searches.
   "local:" alone will list all shared files. Local searches results
   allow drag & drop and generation of magnet links.
 - Support of Socker for access to privileged TCP and UDP ports below 1024.
 - Optionally bind sockets to a configured address instead of the wildcard
   address.
 - Support of IPv6-to-IPv4 Transport Relay Translators (RFC 3142).

Under the hood:
 - mmap()-based memory allocation to decrease fragmentation and
   increase performance.
 - Support of socket option TCP_DEFER_ACCEPT (Linux).
 - Support of accept() filter "dataready" (FreeBSD).
 - Support of /dev/poll on Solaris and IRIX.
 - Sharing of file descriptors so that we don't require a file descriptor
   per swarm source but only one per file.
 - Use of pwrite(), pwritev() for flushing download buffers.
 - Reopen log files on SIGHUP if the command-line options --log_stderr or
   --log_stdout are specified which is useful for topless mode.
 - Disabled following of HTTP redirects.
 - Support of "deflate" transfer-encoding for all downloads.
 - Support for compression of UDP packets.

- (2006-04-22 - RAM)
 * Moved downloads were not lingering in the GUI once completed.

- (2006-03-11 - RAM)
 * Fixed improper UDP overhead accounting.
 * Flush ASAP when file is overcommitted: we have more data buffered than
   there are in the file.

# v 0.96.1   2006-02-22  [stable]

Bug fixes:
- Fixed issue when browse host is the only search in the list (bug #1421196).
- Reset download buffers on incomplete writes (fixes bug #1429981).
- Fixed ever-growing sidebar at each relaunch under GTK1 (bug #1421940).
- Fixed misdetection of chunk completion, causing undue abortion of downloads.
- Was wrongly showing the source download speed twice in download status.
- Range column was sometimes inexact in downloads.

Improvements:
 - Print PFS indication for actively queued entries as well.
 - Take buffered data into account when showing download progress.
 - Downloads now show how many HTTP requests were made on the same connection.
 - Try to reposition the main window correctly.

Configuration Changes:
 - Minimum connection timeout is set to 15 seconds.
 - Default for "maximum % of slots / vendor" raised to 90.

- (2006-22-01 - RAM)
 * Further fix for #1421940, regarding the vertical position of the search
   list on the sidebar, which continuously went off after each restart.
 * Made root window position fixup more robust to avoid random jumps when
   we cannot determine the window position correctly.
 * Was wrongly showing twice the same b/w rate in downloads with more than one
   source: the second rate is supposed to be the aggregated rate of all the
   sources.
 * Downloads now show how many HTTP requests were made on the same connection,
   if more than one, by appending a "#n" at the end of the status.
 * Only update the range in the GUI after we decided which boundaries we'll use.
 * Added workaround against broken HTTP servers such as GnucDNA which don't
   show us the HTTP version in their statuses.
 * No longer need to fake presence of a README.debian: manifests were updated!

- (2006-19-01 - RAM)
 * Fixed misdetection of chunk completion, causing undue abortion of downloads
   each time a chunk was completed.
 * Take into account buffered data when showing download progress, instead
   of waiting for the data to be flused on disk to update the counters.

- (2006-16-01 - RAM)
 * Minimum connection timeout is set to 15 seconds.
 * Default for "maximum % of slots / vendor" raised to 90.
 * Forgot to reset download buffers on incomplete writes (fixes bug #1429981).

- (2006-04-01 - RAM)
 * Print PFS indication for actively queued entries as well.

- (2006-02-01 - RAM)
 * Fixed issue when browse host is the only search in the list: it could not
   be closed, and GTKG would dump a core at exit time.  Fixes bug #1421196.
 * Use conditionnal form when reaching "code that should not have been".

- (2006-01-30 - RAM)
 * Fixed line incorrectly starting with a leading $ instead of %.

- (2006-01-26 - RAM)
 * Desktop and png files are located in extra_files now, no longer at the
   root of the source tree: fixed debian/rules accordingly.

# v 0.96   2006-01.24  [stable]

New features:
- Browse Host (HTML and Gnutella), TLS and IPv6 support.
- Chinese and Greek translations of the user interface.
- D-BUS plugging.
- Added hot keys: F2, F8 and F9 (see menu View->...).
- Searches are now created with a configurable expiration date.

Improvements:
- Optimization of the UTF-8 processing.
- Better filename conversion to locale, with automagic charset detection.
- General performance improvements in QRP and search filters.
- Full "nl" translation.
- Sorting persistence.

Under the hood:
- Buffering of downloaded data to avoid excessive disk fragmentation
- Support for the epoll()/kqueue() system calls.
- More optimistic PARQ ETA, and PARQ back-off when QUEUE are unanswered.
- NFS-compatible session locking if anyone cares.
- Nifty property browser.

- (2006-01-21 - RAM)
 * [GTK1] Do not deselect items on menu "browse host" selection.
 * Added option to copy browse-host results to passive searches (disabled
   by default).  Setting done in GUI from search option pane.
 * Added cygwin directory containing rules suitable for building cygwin
   binaries (on a cygwin platform, no cross-compiling).
 * Fixed crash on exit when hosts are browsed.

- (2006-01-13 - RAM)
 * Guard against servers incorrectly shrinking the HTTP range in such a
   way that the end is lower than the beginning! (Shareaza 2.1.0.0 does this)

- (2006-01-01 - RAM)
 * Distinguish between fully completed browse host requests and those that
   are aborted in the middle of the transmission.
 * Added properties "html_browse_served" and "qhits_browse_served".
 * Added property "browse_host_max_results".

- (2005-12-21 - RAM)
 * Use specialized routines for 8-bit and 4-bit patches to increase the speed
   of QRP patching, which is CPU intensive. [Patch from Bill Pringlemeir]
 * Blindly accept remote GTKG version identification if we're expired.
 * Removed unused version_newer() routine.

- (2005-12-11 - RAM)
 * Allow launching of "browse host" on expired (completed) uploads from the GUI.
 * Configure updates to allow configuration of madvise(), sigaction(),
   the SA_INTERRUPT flag for sigaction(), and FAST_ASSERTIONS.

- (2005-12-10 - RAM)
 * [GTK1] Browse all the hosts of the selected entries like GTK2 does, not
   simply the host listed in the detailed search information pane.

- (2005-11-29 - RAM)
 * Always collect the TX and RX stacks asynchronously.
 * Update downloads pane when browse-host is created or when search is closed.

# v 0.96   2005-11.22  [beta]

New features:
- Browse Host (HTML and Gnutella), TLS and IPv6 support.
- Chinese and Greek translations of the user interface.
- D-BUS plugging.
- Added hot keys: F2, F8 and F9 (see menu View->...).
- Searches are now created with a configurable expiration date.

Improvements:
- Optimization of the UTF-8 processing.
- Better filename conversion to locale, with automagic charset detection.
- General performance improvements in QRP and search filters.
- Full "nl" translation.
- Sorting persistence.

Under the hood:
- Support for the epoll()/kqueue() system calls.
- More optimistic PARQ ETA, and PARQ back-off when QUEUE are unanswered.
- NFS-compatible session locking if anyone cares.
- Nifty property browser.

- (2005-11-21 - RAM)
 * [GTK1] Added ability to launch a browse-host from a download or a node.
 * Will now correctly mark as finished browse host entries which have
   a known size (maked when they're done, that is).

- (2005-11-17 - RAM)
 * Added counting of received bytes during host browsing.
 * Better handling of sudden file size knowledge.
 * Update GUI information when size of browse host is known.

- (2005-11-17 - JA)
 * PARQ now backs-off everytime a QUEUE failed to send.

- (2005-11-15 - RAM)
 * Added client-side "browse host" support in the core.
 * [GTK1] Initial implementation of client-side "browse host".

- (2005-11-11 - RAM)
 * [GTK1] Changed the way autoselection works in search results: it now
   happens only when one selects the root of a folded tree, and it
   auto-selects all the (hidden) children.

- (2005-11-10 - RAM)
 * When a bg_task is killed, don't launch any more processing in the
   "done" callback: this cause QRP compression to attempt to send data
   on a node that was being removed.

- (2005-11-09 - RAM)
 * Re-activated suffix filtering rules.

- (2005-11-03 - RAM)
 * Added .srt (video subtitles) to the default list of shared extensions.
 * Tuned algorithm for PFSP with low amount of sources: use the amount of
   alive sources instead of the amount known in the mesh.  Also request
   the minimum filesize for PFSP as quickly as possible, but otherwise
   request the smallest chunk size first to have rapid exchanges with the
   remote server to gather more sources.
 * Added GUI mapping for new pfsp_minimum_filesize property.

- (2005-10-31 - RAM)
 * Don't pursue QRT patch sending when node connection has been broken.

- (2005-10-20 - RAM)
 * When we know a small amount of alternate sources and PFSP is enabled,
   always include ourselves in the X-Alt we generate to help propagation
   of alternates, even if the bandwidth is saturated.

- (2005-10-02 - RAM)
 * GTKG was not tracking the TTL of broadcasted messages received along a
   given connection, thereby leading it to believe it was receiving undue
   duplicates whereas the node was simply resending it with a higher TTL.
   This unfortunate bug was introduced on 2004-08-28 so all 0.95.x suffer
   from it...
 * Added workaround to allow ultra connections to old (broken) GTKGs to be kept
   without remote ending it abruptly: simply never send duplicates to those...

- (2005-10-01 - RAM)
 * Fixed buffers_strip_leading() when the stripped size equals the buffer size.

- (2005-09-29 - RAM)
 * Fixed buffers_strip_leading() when trailing I/O vector is emptied.
 * Show estimated remaining time in the Download pane as well.

- (2005-09-28 - RAM)
 * At exit time, one must not try to flush download buffers holding nothing.
 * Performance improvement, especially when running as ultra peer.

- (2005-09-27 - RAM)
 * Flush pending download buffers at exit time.
 * [GTK1] When download is done / checking SHA1 / moved, update parent's
   status in case tree is collapsed.
 * [GTK1] Always freeze the Active and Queue pane trees, updating them only
   once per second, as controlled via main_gui_timer(), or when a button press
 * Show SHA1 checking status and file moving feedback in the Download pane.
 * Revisited chunk size computation: use a more realistic estimate of the
   potential concurrency we'll get, and account for the shrinking size of
   the remaining data to be downloaded.

- (2005-09-26 - RAM)
 * Added "download_buffer_size" and "download_buffer_read_ahead" properties.
 * Buffer more data per download to avoid endless lseek()/write() system
   calls when swarming with lots of sources, and try to reduce filesystem
   fragmentation by writing more data at once.
   was done that should trigger a display refresh.

- (2005-09-25 - RAM)
 * Don't honour settings for monitoring node "bad IP / unstable" addresses
   when we're low on pongs: we don't want to discard IP addresses or
   connections and end up being forced to contact web caches for new addresses.
 * Don't use alternate locations as source for "semi-pongs" when we're not
   low on pongs: we can't know for sure that those nodes have free slots and
   that their HTTP port is the same as their Gnutella port.
 * Disable "monopoly protection" when we're low on pongs (fixes #1177512).
 * [GTK1] Buffer updates to fileinfos to avoid too frequent GUI redrawing,
   like GTK2 is already doing.  Update every second though, don't enforce a
   3 second limit. (fixes #967781)
 * Only redraw visual progress if the currently shown fileinfo is updated.
   (fixes #967781)

- (2005-09-16 - RAM)
 * Now monitors the CPU usage and lower consumption if we detect overloads.
 * Reduce amount of GUI refreshing done when CPU overloaded.
 * Added chip.xpm icon, lighted on when CPU is overloaded.
 * Optimized query routing via QRT.

- (2005-09-14 - RAM)
 * Configure will now use "mkdir -p" over "install -d" if possible to create
   directories (fixes bug #972777).
 * Detect too large UDP messages explicitly to log their dropping in the
   proper category.

- (2005-09-13 - RAM)
 * Fixed file descriptor leak in uploads (bug #1285670).

- (2005-09-11 - RAM)
 * Added robots.txt file to forbit all web crawlers from browsing us.
 * The mechanism to add special shared files was made generic.  The table
   listing them is specials[] in core/share.c.
 * Added property "bootstrap_debug" to monitor the bootstraping process.
 * [GTK1] Added GUI settting for bootstrap_debug.

- (2005-09-04 - JA)
 * [PARQ] Implemented option to always allow uploads which would take less
   than a certain amount of seconds to complete.
 * [PARQ] Show an astrisk in front of uploads which are given a quick
   upload slot (time or size based).

- (2005-08-31 - RAM)
 * Reduce the amount of time() and gettimeofday() system calls drastically.
   This should reduce the kernel time used by GTKG.

- (2005-08-31 - JA)
 * [PARQ] Added option to allow small uploads to always continue.

- (2005-08-30 - RAM)
 * Revisited download selection logic when a GIV string is received.
 * Improved tracing of the download selection logic for debugging.
 * Added another banned GUID from Morpheus hosts.
 * Added fast UTF-8 char decoder to try to reduce overhead of remappings.
 * Validate the CHNK list from the fileinfo database, using the trailer
   information if it is corrupted or missing.

- (2005-08-30 - JA)
 * [PARQ] Added setting to allow more optimistic calculation of ETA. 
   default is TRUE.

- (2005-08-28 - RAM)
 * Will now serve GTKG's favorite web icon when "/favicon.ico" is requested.
 * Typo in metaconfig symbol prevented the use of sendfile() on platforms
   that have it.
 * The OOB-proxying ultrapeer would send back the local hits to the leaf
   using the mangled MUID, instead of the original, surely causing the leaf
   to discard the replies.

- (2005-08-27 - RAM)
 * Adapt stalling threshold to the amount of upload slots configured.
 * Reduced stalling TX buffer down to 1K.
 * Count HTML and Gnutella browse host requests.
 * Show HTML and Gnutella browse host request counts in upload stat pane.
 * Don't allow dynamic upload slot allocation when uploads are stalling.
 * Added internal GUID to each fileinfo, to be perused by downloads at
   retrieval time, ensuring a download source is uniquely linked to a given
   fileinfo.
 * [GTK1] Added GUI setting for "parq_debug".

- (2005-08-24 - JA)
 * [PARQ] Added parq_debug property for PARQ specific debugging
 * [PARQ] Fixed bug where an upload got queued, with an ETA of 0s
   and all upload slots where available

- (2005-08-21 - RAM)
 * GTKG is no longer explicitly asking replying servents to skip XML in
   query hits, since it can now show the XML.

- (2005-08-20 - RAM)
 * [GTK1] Added 7 new GUI-settable debug levels.
 * [GTK1] Added provision for displaying XML data from search results.
 * [GTK1] Search results now show XML payload, if any.

- (2005-08-15 - RAM)
 * Show GTKG's version, amount of files and total size shared in HTML browsing.
 * If they advertise a host name in query hits, redirect an HTML browsing
   to the qualified host name if it was directed to the IP address, so that
   the links shown there have a longer lifetime.
 * Allow the TX deflate layer to have its buffer size / flush / nagle params
   configurable externally.

- (2005-08-14 - RAM)
 * Added size of shared files within brackets in HTML browse-host output.
 * Fixed buglet that caused no status to be displayed for completed uploads.

- (2005-08-13 - Hans)
 * Include configure options for GNU TLS. GNU TLS is enabled when
   found.

- (2005-08-10 - Hans)
 * Include configure option for IPv6. Ask the user if this should be
   enabled.
	
- (2005-08-04 - RAM)
 * Make sure we abort the upload immediately if the shared file is no longer
   present on the disk, especially when they are being queued for that
   no-longer-existing file.
 * Added full support for browse-host (server side): can now serve both
   HTML and query hits.

- (2005-08-03 - RAM)
 * Added "eager mode" to the TX stack to always have it serviced.
 * Browse host is now honouring deflate and chunked encoding.

- (2005-08-02 - Hans)
 * Initial optional D-BUS support. This code only supports D-BUS
   0.35.2. Currently only 'started' and 'stopped' events are sent. The
   gtkg-dbus-listener.py script listens for these events.
	
- (2005-08-02 - RAM)
 * New TX "chunking" driver to be able to send HTTP chunked data.
 * Both TX and RX stacks now use walloc() for memory allocation.
 * Added tx_has_error() to check for TX errors.
 * Added tx_close() with callback to be notified when transmission is closed.

- (2005-08-01 - RAM)
 * Update the server IP when we get a GIV, and recompute the server's country
   appropriately, with immediate GUI feedback.
 * Try to compute a suitable upload filename for the SHA1 digest, especially
   when PFS is enabled and we're given the digest of a file we downloaded
   but chose not to share once completed.
 * Was wrongly reporting "Already downloading that file" when the same host
   requested two distinct files via PFS.

# v 0.95.4  2005.07.31  [stable]

- The last-byte download bug, where a download would not complete if
  only the last byte needed to be downloaded, has been fixed.
- Preliminary browse-host support, allowing other servents to browse
  the files that are shared. This is disabled by default.
- GTKG will detect online status again after temporary network failure.
- The .desktop file and application icons are now properly installed.
- Downloads are now sorting in a more logical way.
- Bug fixes in UTF-8 support.
- Doxygen documentation updates.
- Japanese and Spanish translation updates.

- (2005-07-31 - RAM)
 * Added the "update" target to update the bogons and GeoIP database.
   Requires wget and perl to be installed. (meant for developers only)
 * Updated the bogons.txt and geo-ip.txt files by running "make update".
 * Mention the "make update" step in the RELEASE guide.
 * Re-instantiated step #7 in the RELEASE guide.

- (2005-06-29 - RAM)
 * Was mistakenly thinking it was reading data from the network whereas it
   simply had socket connections timeouting.  Therefore, the "offline" status
   was never activated after an Internet connection breakdown (fixes #1144460).

- (2005-05-23 - Hans)
 * The gtk-gnutella.desktop file is now properly installed so that
   GTKG can be started from the desktop menus.	
	
# v 0.95.3  2005.05.22  [stable]

- Fixed a potential denial-of-service problem.
- Fixed OOB reply code which would lead to failed assertions.
- [GTK1] Show Enable option and Remove button in Filter editor again.
- Fixed inadvertent truncation of large files (> 4 GB).
- Compatibility fixes for 64-bit platforms.


# v 0.95.2	2005.05.10	[stable]

- GTKG generated up to four times more traffic than was needed between
  GTKG Ultrapeer and GTKG leafs.
- Improved firewall status detection: if you are not firewalled then GTKG
  is now less likely to claim that you are.
- Fix a build problem for some versions of Glade
- A few minor bugs fixed
	
# v 0.95.1	2005.05.06	[stable]
	
- Bitzi tickets are now persistently cached so that tickets are
  available again after restarting GTKG.
- Improved Unicode support:
  * The use of Unicode in queries now matches that of other Gnutella
    clients. This will make it easier to search for file names which
    contain non-Latin characters. At the time of release only
    gtk-gnutella 0.95.1 and Limewire will respond properly to Unicode
    queries.
  * Files are shared with their names converted to UTF-8, and
    downloads are stored with UTF-8 file names.
  * Unicode support is now built-in, we no longer depend on the ICU
    library.
- Search improvements:
  * It is now possible to enter negative matches in search strings. If
    you enter "blah -blubb -nada" as search string, results matching
    "blubb" or "nada" are automagically filtered.
  * The search filter allows filtering for files larger than 4 GiB and
    you can also use suffixes like KB, KiB, MB, MiB etc.
- [GTK2] GUI updates:
  * You can drag & drop items under Downloads->Files e.g., to pass
    them to a audio/video player, picture viewer etc. Drag & drop is
    dangerous when used on files from unknown sources. You have been
    warned.
  * GnutellaNet has a new item "Reverse DNS lookup" in its context
    menu to perform a lookup of the peer's IP address.
  * XML data contained in search results is shown in the results
    details pane.
  * The search edit field has been moved to the top.
  * The Downloads pane was split into "Active Sources" and "Queue".
  * Compatible with GTK 2.6.x and older versions.
- The GUI uses SI prefixes according to IEC 60027-2 (2000-11) Ed. 2.0
  everywhere, so hard disk vendors won't fool you any longer.
- Compatibility fixes to allow compilation on more architectures,
  including 64 bit architectures.
  * Systems with a sendfile() that is not largefile compatible work
    again. On platforms without sendfile() we now use mmap() for
    improved efficiency.
- There are now two hostiles.txt, a system-wide ("global") and one in
  the ~/.gtk-gnutella directory. So you only need to put private
  additions into ~/.gtk-gnutella/hostiles.txt. These files are also
  automagically reloaded on change, so you don't need to restart
  gtk-gnutella to make the changes effective.
- Updated listings for geographic information, bogus addresses and
  spam sites.
- Greatly enhanced stability as compared to 0.95 due to many bug
  fixes. Other noteworthy bugs fixed are:
  * gtk-gnutella as ultrapeer was not routing any searches iff uploads
    had been disabled.
  * Problems with the UDP/TCP port setting have been fixed (bug #1091827).
- German, Japanese, and Spanish translation updated.
	
- (2004-12-23 - RAM)
 * Reject HTTP ranges for which start > end.
 * If server gives us an inconsistent Content-Length compared to the total
   file size found in Content-Range, abort the download and mark that source
   as being bad.
 * Use gm_slist_insert_after() to optimize new chunk insertion in list.
 * Added file_info_check_chunklist() assertions right after modifying the
   chunk list.
 * Added contract in file_info_update() to require from < to.

- (2004-12-04 - RAM)
 * Provide empty bitzi_init() and bitzi_query_byurnsha1() when they don't
   have libxml2-dev installed.  The GUI should disable the menu entry for
   Bitzi searches as well.

# v 0.95	2004.11.27	[stable]

- Support for very old Gnutella features has been removed or deprecated
  to keep the network healthy.  Note that GTKG 0.94 is now considered a
  deprecated servent in terms of Gnutella features.  Every GTKG user
  MUST upgrade to 0.95 as soon as possible.
- GUI updates:
 * [GTK2] Enable drag and drop for magnet links
 * [GTK1] Search results have less columns, and the hit details are now
   displayed in a separate pane underneath.
 * Visual progress indicator correctly shows newly downloaded
   fragments, shows fragments currently available for download more
   accurately, and active downloads are marked with arrows.
 * The maximum amount of search results has been lowered to 1000.  
   Please use filters or more specific queries to find what you are
   looking for if you get many search results.
 * A detailed view has been added to the search results to show all
   available information for a search result.
 * The status bar will now give feedback about the contacted host caches.
 * Gnutella node stats can now show how many bytes were sent/received.
 * In the node pane, right-clicking now allows to configure which columns
   should be displayed, just like in the search pane.
 * More general statistics in the stats pane.  It is possible to see TCP and/or
   UDP traffic stats separately (for messages only, not flow-control).
- Bitzi support has been added to retrieve additional information on
  possible downloads. See http://bitzi.com/ for details.
- The geographic location of hosts can now be shown courtesy of MaxMind.
- Recently developed features of the Gnutella network are now supported:
 * High outdegree provides better connectivity between Gnutella hosts.
   The maximum TTL in the network is now 4 and ultra nodes must maintain
   at least a connection with 30 peers.
 * Last-hop QRP between ultra peers.
 * Dynamic querying support, allows selective querying of peers instead
   of simply broadcasting the query.  It is used for leaf queries and
   for your queries when running as an ultra node.
 * OOB (out of band) query hits lets other servents deliver search
   results directly to you instead of going through the Gnutella network.
 * OOB proxied queries, allowing direct hit delivery at the ultra node level
   for queries emitted by legacy leaves.
 * GTKG will now prevent firewalled hosts from running as ultra nodes.
 * In "auto mode", GTKG will revert to leaf mode when uploads are stalling
   at an abnormally high rate, indicating bandwidth is saturated.
- UDP is now also supported as a transport protocol in addition to TCP.
  You may need to make changes to your firewall settings to take full
  advantage of this.  The UDP port used is the same as the one used for TCP.
- Firewall detection has been improved to include UDP firewalling detection.
- Clock skew computation for hosts not running NTP has been redesigned.
  Also, GTKG will now automatically detect a locally running NTP.
- Japanese translation added.
- French and German translation updated.

- (2004-11-27 - RAM)
 * Don't drop queries that have travelled more than our max TTL if they
   are requesting OOB hit delivery and we are configured to honour that flag.

- (2004-11-26 - RAM)
 * (fileinfo.c) Fixed static assert in READ_INT32 for Alpha, where time_t
   is larger than 32 bits: we just need to know that we're reading into a
   variable holding at least 32 bits.
 * Renamed configure as configure.gnu for case-insensitive filesystems.

- (2004-11-22 - RAM)
 * When sending non "alive" pings, include the "SCP" mark to get packed pongs.
 * When replying to pings from Gnutella, give them "IPP" packed addresses if
   they mentionned support for "SCP", even though the request comes via TCP.

- (2004-11-21 - Richard)
 * Merge most of hache_remove into hcache_unlink_host and made the first
   use the latter.
 * [Gtk1] Added settings_gui_init_late() to restore split_pane positions after
   main window is resized and visible.
 * [Gtk1] Added viewport around result details.

- (2004-11-20 - RAM)
 * Was only storing the freshest hosts from the cache, not the whole cache.
 * Give priority to UDP host caches.

- (2004-11-14 - RAM)
 * Don't remove a host from the cache whilst iterating over it.
 * Generation of X-Features appended a trailing space after feature name.
 * Don't send out GGEP "LOC" indication in pongs until they can configure
   that from the GUI.
 * Limited number of "normal" (legacy) nodes to which we can connect to 1 max.
 * Only emit warnings about unknown / too numerous extensions when debugging.
 * Adopted the same variable reply lengh on errors as in HTTP when bandwidth
   is saturated.  Added new error code 409 for "conflicts" and don't send out
   connection "pongs" in the headers on all 403, 406 and 550 errors.  Also
   don't send them GTKG-specific headers if we determined they were not GTKG.
 * Must shutdown OOB query hit delivery or we'll crash at shutdown time after
   having freed the UDP socket.
 * Added zlib_is_valid_header() to check for valid "deflated" buffer.
 * [GTK2] Removed spurious g_assert() when no parent for SHA1-less results.
 * Raised the max amount of alt-locs sent in GGEP "ALT" in query hits to 10.
 * Added back accidentally removed sanity check during COBS decoding.
 * Added extensive sanity checks on extensions marked as COBS and/or deflate,
   to avoid parsing garbage as GGEP.
 * Added GUI feedback in the statusbar about the web cache operations.
 * Added UDP host cache support.
 * Alternate between UDP host caches and TCP web caches when missing hosts.
 * Regenerated po/gtk-gnutella.pot and friends.

- (2004-11-14 - Hans)
 * Added Japanese translation (ja.po) from Daichi Kawahata.
 * Updated .po files to include all files containing translatable strings
   in the new directory layout.
	
- (2004-11-13 - RAM)
 * As a leaf node, refuse to connect to "ancient" ultra nodes.
 * Most vendors now send small ~4K max query hits: lower max hit size to 16K.
 * The dynamic query layer expects much less results out of a SHA1 query.
 * Added knowledge about GGEP "PATH" (unhandled for now).
 * Make sure reserved word tables are lexically sorted, for binary search.
 * Limit frequency of UDP ping replies.
 * Limit frequency of TCP/UDP crawler replies.

- (2004-11-12 - RAM)
 * Properly echo UDP crawler's ping MUID in the pong.
 * LimeWire added the user-agent of the node replying at the tail of the
   user-agent vector in the UDP crawler pong.
 * Made GGEP parsing more robust, in case we parse garbage: avoid creating
   needless extensions.  Limit GGEP IDs to ASCII strings.
 * Forgot to emit the X-Dynamic-Querying header to signal we're issuing
   dynamic queries.
 * Trim down TTL of queries coming from "older" hosts not performing dynamic
   querying if the hops+TTL is larger than the TTL at which we're broadcasting.
 * Set default for max_ttl to 4.  Cannot set a my_ttl greater than 4.
 * Added knowledge about GGEP "BH" and "CT" (unhandled for now).
 * Search results now ignore unknown GGEP extensions in tags, thereby avoiding
   display of "funny" characters in tag.
 * Handle older LIME/21v1 and LIME/22v1 messages (older specifications of
   the push-proxy requests, still used by outdated servents like GnucDNA).

- (2004-11-11 - RAM)
 * Refactored decoding of GGEP extensions: this is now done transparently
   for compressed / COBS encoded extensions.  All accesses to payload length
   and the actual (decoded) payload must now be done via routines.
 * Got rid of false plural forms "source(s)", "upload(s)", etc...

- (2004-11-10 - RAM)
 * Fixed "completion test" in incremental deflater.
 * When we don't have leaves, the UDP crawler pong builder would fail.

- (2004-11-09 - RAM)
 * Forgot to alter host_count when moving hosts between caches.
 * Added support for LimeWire's UDP crawling.
 * New properties "pcache_debug" and "udp_crawler_visit_count".

- (2004-11-08 - RAM)
 * Use MEM_ALIGNBYTES to let Configure compute the proper memory alignment.
 * Moved STATIC_ASSERT() to "common.h".
 * Make sure atom's arena is properly aligned.
 * Now parses GGEP extensions in "fat" pongs and saves them in the pong cache.
 * Emit "fat" pongs for ourselves unless we're replying to an "alive" ping.
 * Replies to UDP host cache pings ("SCP") with "IPP" extension in pongs.

- (2004-11-07 - Hans)
 * Show arrows in visual progress to indicate downloads in progress more
   clearly.

- (2004-11-07 - RAM)
 * Allow zlib_deflater to perform deflation into a supplied buffer.
 * Keep track of the amount of input we see for incremental deflation.
 * Allow COBS to perform streaming operations.
 * Fixed bug in COBS decoding.
 * Added the "ggep_debug" property.
 * New streaming interface to generate GGEP extensions replaces older one.

- (2004-11-01 - RAM)
 * Integrated GTK1 patch from Alex to display feedback on Bitzi query queuing.
 * Don't kick out nodes for relaying high TTL routed messages.

- (2004-10-31 - RAM)
 * Changed the interface for hashlist iterators.
 * Move bogons and hostiles closing after host_close() since the cache can be
   updated during the closing, and the cache now uses bogons and hostiles.
 * Periodically sync host cache to disk if dirty.
 * Converted host cache to the use of hash lists, and added save routine.
 * When inserting a host in the busy/unstable/timeout caches, remove it from
   the other host/ultra caches.
 * Don't add bogons/hostiles to the cache.
 * Disallowed the choice of "legacy mode" as peer mode.

- (2004-10-27 - RAM)
 * New property "ntp_detected" to track whether we detected NTP or not.
 * Raised default TCP RX buffers for downloads and gnet to 64K and 16K.
 * When they say they're running NTP, trust them as far as the clock skew
   goes, but don't advertise NTP unless we detect it.

- (2004-10-26 - RAM)
 * Optimized SHA1 computation (~10% gains with -O2, 20% with -O0 on a P3).

- (2004-10-23 - Richard)
 * [Gtk1] Removed autoselection controlling. Now we only autoselect the whole
   branch.
 * [Gtk1] Press "del" to discard selected search results.

- (2004-10-20 - RAM)
 * Record incoming activity to avoid marking a node "offline" too aggressively.
 * Save position of the "vpaned_results" vertical pane when exiting.
 * Save position of the "hpaned_filter_main" horizontal pane when exiting.

- (2004-10-19 - Richard)
 * [Gtk1] Added "Configure columns" to nodes pane
 * [Gtk1] [Gtk2] Removed nodes column configuration checkboxes

- (2004-10-19 - RAM)
 * Added workaround for GnucDNA bug in BYE messages.
 * [GTK1] Added bottom information for selected hits.
   Removed Host, SHA1 and Speed columns for search results.
   This now matches the GTK2 font-end presentation.

- (2004-10-18 - RAM)
 * Fixed small memory leak in core/uploads.c.
 * Remember IP of stalling uploads for a while, via the new "aging" table,
   so that we don't increase our stalling counter too rapidly when uploads
   to the same host keep stalling.

- (2004-10-17 - RAM)
 * When running out of leaf slots, kick non-sharing leaves or leaves preventing
   querying via hops-flow.

- (2004-10-16 - RAM)
 * Added bogons.txt and geo-ip.txt databases.
 * Fixed inverted logic test, causing spurious "got metainfo in filecache"
   warnings and not doing the proper things.
 * GUI properties capturing column positionning no longer rely on hardwired
   constants but use the definitions from ui/gtk/columns.h.
 * Added columns showing the country codes of the hosts (labeled "Loc").
 * Added mention that we use MaxMind's GeoIP database, per their license.

- (2004-10-11 - RAM)
 * Added "convert_old_filenames" property, FALSE by default, governing the
   sanitization of existing files in the download directory.

- (2004-10-10 - RAM)
 * Added filepath_exists().
 * Fixed indentation of parse_uint64().
 * When fileinfo's file name is sanitized and changed, the corresponding
   disk file needs to be renamed as well.

- (2004-10-06 - RAM)
 * Limit dispersion to 60 seconds for clock skew updating.
 * If they disabled uploads, don't compare leaf node outgoing b/w with HTTP.

- (2004-10-05 - RAM)
 * Ensure we always start on the Gnet pane, where connections are shown.

- (2004-10-04 - RAM)
 * Integrated bitzi patch #1037927 [From Alex Bennee].
 * Include user-supplied headers in the private file as well, in case they
   refer to constants in the vectorized properties.
 * Control dispersion during clock skew updates.

- (2004-10-03 - RAM)
 * Added pre-send checking hook to the PDU message descriptor.
 * Added the tx_flush() operation to force buffer flushing, if any.
 * The "Time Sync" messages now use the pre-sending checking hook to write
   an accurate clock timestamp.
 * Message queue now rely on the pmsg_check() pre-send hook to determine
   whether a message can be sent or not.
 * When writing a control message, make sure TX buffers are flushed, if needed.
 * Alive pings now use the pre-send checking hook to ensure that only the
   pings recorded last are sent on a given connection.
 * Fixed memory leak in alive ping management.
 * Switch to TCP if they don't answer our "Time Sync" requests via UDP.
 * Added auto-detection of NTP running on local host.
 * Tooltip for "Host runs NTP" now mentions GTKG will auto-detect NTP.
 * Correct remote clock seen in the Date HTTP header by the amount of time
   necessary for the headers to travel back (estimated from HTTP roundtrip).
 * Better clock skew computation and update algorithm, based on statistics.
 * The Date HTTP header was not using clock skew to correct time.

- (2004-09-29 - RAM)
 * Added "Time Sync" vendor messages.
 * Accept clock synchronization from same IP if the precision is better.
 * Count unclaimed and partially claimed OOB locally-generated hits.
 * Show TCP/UDP round-trip times as determined from "Time Sync" messages.

- (2004-09-28 - RAM)
 * The header to emit is X-Push-Proxy now, not X-Push-Proxies.

- (2004-09-27 - RAM)
 * Assume the majority of servents will now understand bounded Range requests.
 * Leaf node's TX buffer size was too small for decent output.
 * Count GIV callback requests we get.
 * Count QUEUE callback requests we get.
 * Ensure UDP socket gets a large RX buffer size, to avoid dropping datagrams
   if we're busy and we can't process them yet.
 * The "improbable SHA1" detection now recognizes trivial sequences.
 * Check GGEP "H" and "u" in query hits for improbable SHA1.

- (2004-09-26 - RAM)
 * When debugging, always show bad SHA1 and old-style SHA1 in the logs.
 * Force "auto mode" when they run as ultra mode and get firewalled.
 * When bandwidth is not capped, adjust the maximum used to show the
   used bandwidth so that sudden bursts don't cause subsequent display
   to show negligeable percentage.
 * Ensure we see either the yellow or the red bomb icons, but never the two
   at the same time.
 * Don't decrement TTL during routing if it was 0.
 * Always send a PONG with personal information, even when the local IP
   address is unknown.
 * Raised max # of downloads to 5000, default auto-retry timeout to 300 secs, 
   and default connecting timeout to 60 seconds.

- (2004-09-25 - RAM)
 * Now assumes that all servers support the /uri-res/N2R? file requesting.
   We don't really want to download anything from older servents anyway.
 * Ignore improbable SHA1 made of identical bytes, either in their base32
   encoding or in their binary form.
 * Count the GTKG queries and requeries we see, as well as queries for which
   we can reply using GGEP "H" for SHA1.
 * Tell them every 5 attempts that they're banned instead of 10.
 * Revisited the computation performed to determine whether we can be an
   ultra node: only use the EMA of the outgoing b/w if they have running
   uploads.  Lowered b/w requirements to only 128 B/s per connection.
 * Account for "uploads_stalling" when determining whether we have enough
   b/w to stay an ultranode.
 * Double time spent as a leaf node in auto-mode each time we switch back
   to leaf mode.

- (2004-09-24 - RAM)
 * Fixed warning about badly configured proxy, which must be emitted only
   when a proxy is chosen.
 * New "H=xxx" statistics for nodes, enabled when dups/bad etc... are
   configured for display, showing the amount of messages bearing an
   hostile IP address which we get from the node.
 * Tell them in the search statusbar when the search was stopped.
 * Don't show the origin IP address of UDP-delivered hits if it matches the
   one held in the query hit.
 * Append "alt" to query hits bearing alt-locs.

- (2004-09-23 - RAM)
 * Keep track of whether we receive solicited UDP traffic.
 * Send an UDP ping to our peers when we connect and we're not sure whether
   we can get UDP solicited traffic.
 * Ensure we can receive solicited UDP traffic before advertising OOB hits.
 * New property "uploads_stalling" to track abnormal upload stalling.
 * New property "recv_solicited_udp" to determine whether we can perform
   UDP hole punching.
 * [GTK1] [GTK2] Will now show a warning if uploads are stalling abnormally,
   and a firewall with a green hole if we can perform UDP hole punching.
 * Count UDP hits bearing a different IP address from where they're sent from.
 * Don't count the IP as alien if the hit's address is that of a private
   network, in case the servent is firewalled.
 * Have shell announce the program's version.
 * [GTK1] Frame where icons are displayed will now properly shrink when an
   icon is hidden.
 * Named frame where icons are displayed to be able to shrink it.
 * Setting of OOB queries is now an "expert" frame.
 * Don't send PUSHes too often.  Just because we don't get a reply immediately
   does not mean the PUSH is not travelling its way.
 * Show IP address of UDP-delivered hits.

- (2004-09-21 - RAM)
 * Added dh_would_route() for the OOB-proxying layer to be able to determine
   whether the hits it would claim would be delivered to the leaf or
   thrown away by the dynamic hit layer.
 * Deleted obsolete code in download_push_insert() and download_push_remove():
   select_push_download() has already all the logic to grab the proper
   download when a GIV is received.
 * Let dynamic query know about unclaimed OOB-proxied hits.
 * Raised timeout for "Query Status Response" to 30 seconds.
 * Don't send dynamic query to another node if we already queued but not
   sent 3 queries to other nodes.
 * Send "Query Status Request" as a control prioritary message.

- (2004-09-20 - RAM)
 * Fixed OOB-proxy routing logic to no longer use the routing table: we keep
   the ID of the leaf node originating the query around.
 * Don't claim UDP results fro OOB-proxied query when the leaf node is
   in TX flow-control.
 * Don't check for TTL=0 on hits for OOB-proxied queries.
 * Can only check the IP of neighbours setting the OOB flag on queries, since
   the UDP port can be different from the TCP port.
 * Was not displaying instantaneous RX traffic rate for the pseudo UDP node.
 * Count the amount of OOB hits received for OOB-proxied queries.
 * Count the amount of queries we see with the OOB flag set.
 * Improved delivery of query hits to searches by making it faster to locate
   a search given a MUID.
 * Raised the timeouts for dynamic querying slightly, to see if we can get
   less traffic overall and less results during lingering period.
 * Monitor the hostiles.txt file and reload it automatically if it changes
   (closes RFE #1003129).

- (2004-09-19 - RAM)
 * Automatically demote an Ultrapeer that appears to be TCP-firewalled.
 * Fixed routing debugging logs.
 * Added core -> UI bridge routine guc_statusbar_warning().
 * New property "routing_debug" to control debugging for message routing.
 * Warn them in the statusbar if they attempt to choose a non-leaf mode
   and they are firewalled.
 * [GTK1] [GTK2] Added GUI mapping for new "routing_debug" property.
 * Implemented OOB-proxying of queries, when running as ultranode.
 * Ammended the routing policy of queries to account for duplicate OOB-proxied
   queries that would differ only in the IP:port of their MUID.
 * New property "proxy_oob_queries" to control OOB-proxying by the ultranode.
 * New general statistics: GNR_OOB_PROXIED_QUERY_HITS,
   GNR_QUERY_OOB_PROXIED_DUPS and GNR_OOB_PROXIED_QUERIES.
 * [GTK1] [GTK2] Added GUI mapping for new "proxy_oob_queries" property.

- (2004-09-18 - RAM)
 * Must not reset n->socket after processing data from UDP node, since we
   can issue an UDP message at any time, therefore the n->socket must stay
   set at all times.  Removed node_udp_release().
 * Fixed binary search for vendor messages: was assuming there would not
   be duplicates with only the version number changing in the table, but
   this was forgotten and the table lists messages with different versions
   as different entries.  Caused it to not process UDP connect back correctly.
 * Added more search statistics at the bottom of each search window.
 * Drop OOB queries with a bad "return address" i.e. queries coming from a
   neighbouring node and whose IP:port for return does not point back to the
   issuing node.
 * Strip OOB flag on queries whose return adddress is a private IP.

- (2004-09-15 - RAM)
 * Was not accounting received queries and query hits for the UDP node.
 * If they remove the pseudo UDP node, it will disable UDP.
 * Handle GTKG/7v2, where GUID of the ping is taken from the MUID instead
   of from the payload.

- (2004-09-13 - RAM)
 * RX dropped packets are now accounted for in gnet_stats_count_dropped().

- (2004-09-12 - Hans)
 * Update visual progress code to avoid flickering and fix small problems
   with the code.
 * Create separate event for available ranges updates for more efficient
   handling of fileinfo information.
 * Provide initial version of a manual in doc/manual. The manual is in
   DocBook XML format. Currently it is only an outline. Please commit
   a placeholder or let me know if you would like to work on a specific
   part.

- (2004-09-11 - RAM)
 * Will now send queries marked for out-of-band hit delivery.
 * Out-of-band hit delivery is now enabled by default.
   Changed tooltip comment for property to explain the user benefits.
 * Tag hits received from UDP in search results with the string "udp".
 * Strip OOB flag for leaf queries that also advertise they're firewalled.
   Chances are that if they are TCP-firewalled, then they're UDP-firewalled
   as well.
 * Added GUID generation for OOB queries.
 * Forgot to arm the timer for monitoring absence of unsolicited UDP traffic.
 * Update RX traffic size for the pseudo UDP node.
 * Fixed statistics bookkeeping for dropped UDP messages.
 * New properties "show_gnet_info_tx_wire" and "show_gnet_info_rx_wire"
   to govern display of TX and RX bytes, as sent/read from the wire.
 * [GTK1] [GTK2] Can now ask to display bytes sent/read from the wire for
   each node connection.

- (2004-09-10 - RAM)
 * UDP listening is now enabled by default.
 * Strip OOB flag of OOB queries from leaves where the IP:port encoded in
   the GUID of the message does not match the leave's ones.
 * Dropped stats did not update the TCP-only and UDP-only stats.
 * Smarter UDP-firewall (unsolicited traffic) detection: now keeps track of
   the IP to which we sent datagrams for 2 minutes to avoid falsely marking
   the node as not-firewalled when we receive data from those IPs.
 * Added node_gnet_ip() and node_udp_get_outq().
 * Will now drop UDP messages coming from hostile IP addresses.
 * Added an "alive_ping" object to the pseudo UDP node for proper display
   of round-trip stats for that node.
 * Adapted the query hit generation process to OOB hits, since we must not
   deliver those immediately but need to buffer them instead.
 * Can now honour the OOB flag in queries and deliver hits out-of-band.
 * Added support for vendor messages LIME/12v2 and LIME/11v2, delivered via
   UDP to negotiate delivery of OOB query hits.
 * New property "query_debug" for debugging queries.
 * GUI was not reporting Gnet b/w properly: it needs to sum the TCP and UDP
   traffic shapers since allocated b/w is halved between those two.
 * [GTK1] [GTK2] Added spinbutton for "query_debug" setting.
 * Skip messages that cause an error during UDP write, but continue processing
   remaining messages.
 * Allow EINVAL as a legitimate error cause for sendto(), since apparently
   linux returns this for weird IP addresses, like "0.76.207.219".

- (2004-09-08 - RAM)
 * Moved query hit generation from share.c to new qhit.c.
 * Changed process for generating query hits: the matching code now generates
   a list of hits, and that list is then traversed to generate the necessary
   query hit messages.
 * Changed frequency of inter-UP QRP exchanges: now performs one update every
   5 minutes instead of one every 90 secs.

- (2004-09-06 - RAM)
 * Added UDP bandwidth schedulers for Gnet traffic, taking half the bandwidth.
   The other half being given to the TCP Gnet traffic.  Both auto-steal their
   unused bandwidth, if necessary.
 * Added new UDP message queue.
 * The pseudo UDP node is now advertised and shown in the GUI.
 * Extended the wrapped I/O with sendto().
 * Show pseudo UDP node in GUI as being of type 'P'.

- (2004-09-04 - RAM)
 * Fixed typo causing aggregated TCP+UDP stats to be returned when TCP stats
   were requested.
 * Fixed the "crash when closing search" bug.
 * Was accounting stats for HSEP message exchanges as "unknown"!
 * Reply to an UDP ping with an UDP pong.
 * Keep statistics about UDP traffic.
 * Found the origin of the "race condition" that caused assertions to fail
   in dh_pmsg_free().  We just can't assert at that point.

- (2004-09-03 - RAM)
 * Keep and allow retrieval of TCP and UDP stats, separately or in
   aggregated form.
 * New property "gnet_stats_source" to select the TCP/UDP source for stats.
 * Added gnet_stats_tcp_get().
 * [GTK1] [GTK2] Message stats can show TCP-only traffic, UDP-only, or both.
 * [GTK1] [GTK2] Added icons showing TCP-only and UDP-only firewall status.
 * Firewall status can now have 4 states: fully firewalled, TCP-only,
   UDP-only and not firewalled.  The UDP firewall is shown only if UDP is
   enabled.

- (2004-09-02 - RAM)
 * Implemented dynamic querying for local queries, when running as an
   ultra node.

- (2004-09-01 - RAM)
 * Made sure we keep the route on GTKG/21v1 reception, and that we simply
   remove the new NODE_F_PROXIED flag on the node.
 * Lowered the default maximum amount of results shown from 5000 to 1000 to
   both save on memory and incite users to setup filters or emit more specific
   queries.

- (2004-08-31 - Hans)
 * Visual progress indicator now correctly shows previous and newly
   downloaded chunks.
   
- (2004-08-30 - RAM)
 * Message queue now maintains whether queue is within the warn-zone range
   (between hiwat and lowat) to update node's flag as soon as the condition
   changes.
 * Added support for GTKG/21v1 "Push-Proxy Cancel" vendor message.
 * Show used charset at startup time.

- (2004-08-29 - RAM)
 * Added count of bytes/packets queued to be able to monitor the amount of
   bytes/packets dropped whilst in the TX queues.  New columns "queued" and
   "gen. queued" will show the queued bytes/packets from received and locally
   generated packets respectively.  Column "generated" renamed "gen. sent".
 * Check for OOB queries in node_can_send(), since we need to forward them
   regardless of whether there exists a route for replies.
 * Split huge route_message() routine in smaller parts.
 * When we get unsollicited guidance info for a dynamic query, there is no
   need to query the leaf before proceeding with the next ultra node.
 * Vendor message table was accidentally not sorted, messing the binary
   search logic and causing valid messages to be ignored.
 * Now sends BEAR/12v1 "query status response" as a prioritary message.
 * Leaf nodes will now send unsollicited BEAR/12v1 to their ultranodes
   reporting kept results each time they get new query hits from the network.

- (2004-08-28 - RAM)
 * Allow forwarding of queries and pushes that were already seen with a
   lower TTL, but don't process them again.
 * Raised max for "reserve_gtkg_nodes" to 90 and lowered min for
   "unique_nodes" to 10.
 * Forgot to tie the GUI button for "convert_spaces" to the property, hence
   setting in the GUI had no effect.

- (2004-08-28 - Hans)
 * Move available ranges (blue line in visual progress) code from the gui
   to the core.
	
- (2004-08-18 - RAM)
 * (move.c) Fixed stupid floating point exception on a debug message
   when elapsed == 0
 * Removed dependency between file.c / sockets.c and ban_reclaim_fd().

- (2004-08-16 - RAM)
 * Added new properties for UDP support: "udp_debug", "enable_udp",
   "is_udp_firewalled", "process_oob_queries", "send_oob_queries".
 * Added support for UDP firewalling detection.
 * Can now process incoming UDP Gnutella messages as if originating from
   a "fake" UDP node.
 * Will now recognize incoming UDP ping bearing our GUID as a sign that
   we can receive unsollicited UDP traffic.
 * pcache_pong_fake() now takes only ultranode addresses.
 * Make sure we never route queries and query hits received from UDP.
 * Added support for UDP sockets.
 * Special-case display of vendor code with all zeroes as "null".
 * Added support for GTKG/7v1 "UDP Connect Back" vendor message.
 * [GTK1] Updated GUI to be able to configure UDP, OOB querying, and
   debug levels.
 * (settings_gui.c) Shuffled to move the propery table near the end to
   avoid pre-declaration of most callbacks.  Added UDP configuration
   and debug level settings.

- (2004-08-14 - RAM)
 * Added gmsg_infostr_full_split() and gmsg_infostr_full() that can
   add extra information when logging vendor messages.
 * New vmsg_infostr() to extract vendor message information for logging.
 * (qrp.c) Fixed memory leak.
 * Accept BYE, HSEP and vendor messages with TTL=0 or TTL=1.
 * New properties "vmsg_debug" and "search_debug".
 * Always reply to handshaking ping (first ping we accept) with personal info.
 * Don't revitalize route entries for leaf nodes but for the PUSH routes we use
   when we're sending PUSH messages.
 * Parse (but ignore for now) the "features supported" NULL/10v0 message
   which supplies extra capabilities without negotiating them via handshake
   headers.
 * If leaf queries us with OOB hits delivery and does not support guidance,
   strip the OOB flag from the query to be able to monitor the hits they get.

- (2004-08-13 - RAM)
 * Removed the "unrequest reply" drop reason, replaced by "no route".  It was
   used only by query hits, whilst "no route" was used only by "pushes".
 * Changed the way the routing table is organized to be able to remember
   active routes (for query hits or pushes) longer than unused ones.

- (2004-08-12 - RAM)
 * Increased routing table size to keep at least 30 minutes of traffic.
 * Handle query hits we don't route, in case they have alt-sources we
   could peruse.
 * If query hit is dropped for flow-control reasons, account it as such.

- (2004-08-10 - RAM)
 * Ensure "size != 0 => file_size_known" in fileinfos and create_download().
 * Added parsing of GUID for queries with OOB query hit delivery.

- (2004-08-09 - RAM)
 * Whith leaf-guided dynamic queries, adjust the number of kept results when
   comparing to the maximum allowed, since leaves return the total amount
   of results, not the ones received from just our connection.
 * Fixed assertion that forgot to account for kept results.
 * No longer drop node for sending/relaying messages with TTL=0: simply
   ignore the bad message and go on.
 * Now try to support BearShare and its great (not!) idea of acking an
   alive ping with a TTL=0 ping!
 * Make sure we always log something in debug mode when seeing a bad packet.
 * Send PUSH requests at the highest TTL we can, i.e. hard_ttl_limit and
   not max_ttl which is only for broadcasted messages.
 * Use ping-pong roundtrip times to guess a relevant timeout for the
   "Query Status Request" message sent for leaf-guided dynamic queries.

- (2004-08-08 - RAM)
 * To allow safe data access to the free routine invoked for extended messages,
   we must not unref the data before calling the free routine in case we were
   holding the last reference to those data.
 * Refactored the single monolithic message_array[] routing table into
   a dynamic set of smaller chunks, to ensure we will keep routes at least
   20 minutes.
 * Fixed unfortunate bug in token.c that prevents an older version from
   validating the token from a more recent version if the recent version
   has more keys to compute the level with than the older can check for.
 * Fixed assert failure on reception of query hits that is handled
   locally but not routed.
 * Added support for leaf-guided dynamic queries (client and server sides).

- (2004-08-07 - RAM)
 * Forgot to call node_inc_sent() when sending a queued message, as opposed
   to one immediately written at mq_putq() time.
 * Added "n->last_tx" and use that when detecting activity timeouts, making
   sure that there is something in the queue (or it would not be updated).
 * Reverted changes made to node_reserve_slot() and node_avoid_monopoly()
   which tried to make a distinction for UPs between incoming and outgoing.

- (2004-08-06 - RAM)
 * Fixed some of the "file_size_known" madness.
 * Whether the file size is known or not is now persisted in the fileinfo,
   as the "FSKN" attribute in the ASCII file, and as part of the version 5
   binary format in the file.
 * Show "no size" when the size is unknown, shorter than "unknown size".
 * Fixed qrp_route_query() to send query to all non-QRP aware UPs if TTL=1.
 * Fixed improper routing of TTL=1 queries, which could be sent twice to
   QRP-capable nodes: once if the QRP matched, and once via regular broadcast!
 * Make dynamic queries that stopped linger for a while to see how many
   extra results we get due to node latencies.  New statistics track the
   amount of extra results we get that way.
 * Don't send a TTL=1 dynamic query to a host whose QRP says it won't be
   able to match.
 * If a QRP-capable UP did not send its table yet, forward it everything.
 * Introduced the "dynamic query hit" algorithm: this actively monitors
   hits we relay, keeps track of how many hits we sent and can decide
   to drop hits if we're in flow control or relayed too many hits already.
 * New "dh_debug" property.
 * Drop query hits with 0 results.
 * Have search_results() indicate to caller the amount of hits held in the
   query hit it parsed.
 * The flow-control flag can now show 'D' if we're not in flow-control
   yet but the queue is more full and bears a greater delay for sent
   messages (queue size above the low watermark).

- (2004-08-05 - RAM)
 * Implemented dynamic querying.  For now, it's only plugged for leaf queries.
 * Fixed re-entrance problem when an event was rescheduled before the current
   trigger time by another event that fired.
 * Added 5 general statistics about dynamic queries and their status.
 * Added new "dq_debug" property for debugging dynamic querying.
 * Emit and parse headers for dynamic querying.
 * Added hack for LimeWire, emitting the garbage it wants from leaves to
   consider them good.
   It is a bug from LW to require those meaningless headers from leaves.
 * Enhanced pmsg to have support for free routine callbacks.
 * It is now possible to mark messages as being sent, for checking in the
   free routine afterwards.

- (2004-08-05 - Jeroen)
 * When avoiding vendor monopoly, make a difference between outgoing and
   incoming connections. 

- (2004-08-05 - Jeroen)
 * Commited some stuff for G2 support, to avoid I lose it again.

- (2004-08-03 - RAM)
 * Updated hostiles.txt from BearShare's list.
 * Removed spurious and wrongly placed call to header_features_generate()
   from http_async_build_request().
 * The "up_req_*" properties were wrongly saved in the config file.  Since
   they're transient and dynamic, it's useless to persist them.
 * New "up_req_enough_conn" property to track whether they configured enough
   peer connections to maintain to become an ultra node.
 * Show whether they configured "Enough min # of connections" to be
   auto-promoted an ultra node.
 * New flag "Z" for connections that compress both TX and RX.  "T" is shown
   when only TX is compressed, "R" is shown when only RX is compressed.
 * New flag "X" indicating whether we sent our last-hop QRP table to the remote
   ultra node.  The "Q" flag in that case indicates whether we received the
   last-hop QRP from the remote node.
 * Added support for high outdegree and last-hop QRP between ultra nodes.

- (2004-08-02 - RAM)
 * Converted getline.c and http.c to doxygen-style comments.
 * New IO_SAVE_HEADER flag to instruct the ioheader parsing layer to
   save a copy of the header text, as it was received.
 * Forward queries with TTL=0 to leaves, as QRP tables permit.
 * Added specifications for inter-UP QRP, dynamic queries and leaf-guided
   queries.

- (2004-08-02 - Hans)
 * Show gray progress bar when the file size of a downloadable file is not
   known.

- (2004-08-01 - RAM)
 * Made gchar_to_ip_strict() return host byteorder IP addresses, to be
   consistent with gchar_to_ip().
 * Updated styleguide: in files using doxygen comments, the function name
   must now be put at the very beginning of the line to have it stand out.
 * Added new fields in fileinfo trailer: CTIM the creation time and NTIM
   the last time when we got a new source.
	
- (2004-07-24 - Hans)
 * Make 'Purge' button on the 'Files' tab inactive when file has been
   completely downloaded. Fixes #922920.

- (2004-07-19 - TNT)
 * Added option 'ALL' to the remote shell command 'HORIZON'. This option
   will output the total horizon size as usual (including non-HSEP nodes) and
   will then output the horizon size of each directly connected HSEP node. May
   come handy for checking/debugging purposes.

- (2004-07-15 - Jeroen)
 * Enabled drag and drop for the GTK2 interface for magnet links.

- (2004-07-14 - Jeroen)
 * Added initial support for downloads with unknown size. Patch from emile
 
- (2004-07-13 - RAM)
 * Make sure PONG messages hold a reasonable number of files, i.e. detect
   servents that did not encode the value correctly by advertising an
   absurdly large number of files.  Then try to fix the total size shared.

- (2004-07-10 - Richard)
 * [Gtk1] Replaces GtkFrame around progress indicator in fileinfo pane
   with a GtkViewport
 * Removed gui_update_all()
 * Renamed gui_update_global() to gui_general_timer()
 * Moved gui timer calls from gui_update_global() to main_gui_timer()
 * Added doxygen support to: gui.c search_gui_common.c
 * Moved gui_add_targetted_search() as search_gui_add_targetted_search()
   to search_gui_common.[ch].

# v 0.94	2004.07.10	[stable]
- GUI updates:
 * File info pane renamed to downloads
 * Downloads pane renamed to sources
 * Progress of a download can now visually be showed. This will show which
   fragment of a file was downloaded, which fragment gtkg currently is
   downloading and which fragments are availalbe on the gnutella network.
 * Uploads and download sources pane now contain a visual progressbar.
 * GTK2 can now be resized smaller then 933 pixels width.
 * Search results now include an extension column so you can sort by
   extension if needed.
- HSEP included, this will give you an estimation of the horizon size. This
  includes the number of files and the total size of all files on the network.
- If no default port was specified, gtkg will now bind to a random port and
  will use that port from that point.
  If you are behind a firewall and routed a port to gtk-gnutella, please check
  gtk-gnutella still runs at the port you want it to run!
- Will parse up to 150 hosts in a gwebcache reply to bootstrap from.
- New hostcache to make gtk-gutella faster connect to the network.
- Dutch translation updated.
- German translation updated.
- Spanish translation updated.
- French translation updated.
- Hungarian translation updated.

- (2004-06-25 - Richard)
 * Reverted changes in hcache.c from last commit. Instead made those changes:
 * No longer call hcache_remove_all() from hcache_free().
 * Made hcache_free() fail if hostcache is not empty.
 * Fail if for some obscure reason hosts are added during hcache_close. This
   can normally only happen if we are multi-threaded, which we are afaik not.
 * Check that hostlist and host_count are in sync when hcache_remove_all() is
   done.

- (2004-06-24 - Richard)
 * Fixed segfault in hcache.c on shutdown due to accessing hostcaches
   which had already been freed at that point. 
   (Thanks to Clayton Rollins for the backtrace)

- (2004-06-23 - Richard)
 * [Gtk1] Ported "extension" column in search results from Gtk2.

- (2004-06-21 - RAM)
 * Switched to ISO date formats in ChangeLog, as well as in code comments.
 * Don't loose a source if we can't connect due to a lack of file descriptors.
 * Remind them they're banned every BAN_REMIND attempts.

- (2004.06.16 - JA)
 * Hopefully fixed phantom downloads due to PARQ callback

- (2004.06.14 - TNT)
 * Changed HSEP implementation to also send out information about all
   our non-HSEP neighbors (PONG-based library size). This should make the
   horizon stats more accurate, even though we don't know anything about
   what non-HSEP neighbors see as their horizon.
 * [Gtk1] [Gtk2] Changed statusbar and gnet stats panel to also include
   horizon information about all non-HSEP neighbors. The horizon stats
   on the gnet stats panel are now updated every 2 seconds.
 * Updated .pot/.po file generation to include all source files that contain
   translatable strings.

- (2004.06.10 - Hans)
 * The blue line in visual progress indicating the bytes available on the
   network now also takes servents sharing the full file into account.
	
- (2004.06.09 - Hans)
 * [Gtk1] [Gtk2] Use more efficient handling for size of visual progress
   indicator and remove obsolete code.
	
- (2004.06.08 - Richard)
 * Use hash table instead of list for faster lookup in node_is_connected()
   and node_host_is_connected().
 * Split up gnet.h into several files for better readability. 
   All are included from gnet.h.
 * Changed algorithm for quick-connecting to utilize only up to 
   PROP_QUICK_CONNECT_POOL_SIZE connections instead of using 
   them additionally to the maximum number of connections.
 * Changed large parts of the host cache code. We now have seven host caches
   and we can get stats for them.
 * Adjusted default hostcache capacities.
 * Removed "unstable ip" code from nodes.c. This is now handled in hcache.c.
 * Started with doxygen support.
 * Added file_config_open_append to file.c. Needed by new hostcache code.
 * Moved host_hash, host_eq and host_cmp as public functions to hosts.c.
 * Made host_is_valid(ip,port) a define. The function is now ip_is_valid(ip).
 * Pongs from hosts that are marked bad in the host cache are no longer added
   to the recent pong cache.
 * [Gtk1] [Gtk2] Minor layout fixes which were not in the last commit.
 * Manually added new files to the build files. Somebody who can regenerate 
   the build files and known about the package files has to double-check this.
   
- (2004.06.07 - Richard)
 * [Gtk1] [Gtk2] Added hostcache panel.
 * [Gtk1] [Gtk2] Added horizon stats labels to the statusbar.
 * [Gtk1] [Gtk2] Made quick-connection pool size configurable.

- (2004.06.06 - TNT)
 * Added German translation (de.po). Still needs a little
   fine-tuning.

- (2004.06.04 - TNT)
 * [Gtk2] Added horizon stats table to gnet stats pane. Rearranged
   and optimized pane layout.

- (2004.06.04 - Jeroen)
 * Fixed compilation error due to removed property

- (2004.06.03 - Jeroen)
 * Applied HSEP patch 8, this adds HSEP info to the gnet stats pane
   for gtk1. By Thomas Schuerger

- (2004.05.01 - Hans)
 * [Gtk1] [Gtk2] Fix crash bug in visual progress indicator when
   displaying info for small files.
	
- (2004.04.25 - Hans)
 * [Gtk1] [Gtk2] Show ranges which we have seen to be available on the
   network as part of the visual progress indicator.
	
- (2004.04.18 - Richard)
 * [Gtk2] Activated 'fixed_height_mode' for the nodes TreeView.
 * [Gtk1] [Gtk2] Made the search retry timeout an expert setting.
 * [Gtk1] [Gtk2] Made the autoselection feature an expert setting.
 * Renamed some of the autoselection properties to assure they are
   reset an a new start.
 * [Gtk1] [Gtk2] Changed autoselection policy and moved relevant code
   to search_gui_common.c
 * [Gtk1] Reducted number of times results are resorted in
   download_selection_of_ctree().

- (2004.04.18 - Hans)
 * [Gtk1] [Gtk2] Fix several bugs in visual progress code.
	
- (2004.04.15 - Richard)
 * [Gtk1] [Gtk2] Changed layout of fileinfo pane to integrate progress indicator.
 * Made progess indicator use the complete drawing area.
 * [Gtk2] Added toolbar buttons back.
 * [Gtk2] Minor adjustments to the layout of the network config pane.
 * [Gtk2] Removed searches combo from search pane put a label there instead.

- (2004.04.15 - Jeroen)
 * Added cache.kicks-ass.net:8000 to the webcaches
 * Check for new version now only checks for newer releases of the current
   version if the current version is unstable. But will still look for newer
   releases of stable versions

- (2004.04.15 - Richard)
 * [Gtk1] Added toolbar style selection combo to gui config pane
 * [Gtk1] [Gtk2] Added icons for PROP_FILE_DESCRITOR_SHORTAGE and
   PROP_FILE_DESCRIPTOR_RUNOUT
 * Updated filter.xpm
 * [Gtk1] [Gtk2] Tried to fix memory lead in visual progress indicator. 
   Small leak is still reported but probably due to the gui never being 
   actually destroyed.
 * [Gtk1] [Gtk2] Adjusted colors in progress indicator.

- (2004.04.12 - RAM)
 * (gwcache.boot) Re-initialized from GhostWhiteCrab's verified peer list.
 * Don't publish our IP to web caches if we're a normal (legacy) node.
 * Removed connection to GWC at startup.  Wait 8 hours to do that!

- (2004.04.11 - RAM)
 * Renamed parq_is_banned_source() into parq_banned_source_expire() and
   have it return the expiration date of the banning.
 * When GTKG rejects an upload with "403 ... removed from PARQ", it will
   include a Retry-After header to indicate the banning limit, since
   further requests from the host will be back-holed.
 * When downloading, treat GTKG's "403 ... removed from PARQ" specially,
   looking for a possible Retry-After to know when retrying will be possible.

- (2004.04.11 - Hans)
 * [Gtk1] [Gtk2] Fileinfo pane now contains a visual indication of the
   download progress for the selected file.
	
- (2004.04.10 - RAM)
 * Will now parse up to 150 hosts in hostfile replies.
 * Change webcache everytime we want to perform an action, in case we
   hit a bad cache that ignores our updates silently or replies with
   bad (static!) data.

- (2004.04.07 - RAM)
 * Added my own web cache, now that I run GhostWhiteCrab/0.1.
 * Only write readable filenames in done.sha1.

- (2004.04.02 - RAM)
 * (hostiles.c) Avoid side effect when calling isspace().
 * Removed default cache on raphael.manfredi.free.fr, which was erased.

- (2004.03.28 - RAM)
 * [GTK1] Fileinfo filtering now also applies the regexp to fileinfo aliases.
 * Compile glade-generated files last, to save time when there is an error
   elsewhere.

- (2004.03.26 - Richard)
 * Show queued status in fileinfo pane. (Closes #916976)
 * Comment out GTK_GNUTELLA_DIR export in run script.

- (2004.03-17 - Richard)
 * [GTK1] Slight layout change in the fileinfo pane.
 * [GTK2] Purging of multiple files is now possible.

- (2004.03.15 - RAM)
 * [GTK1] Added anti-crash countermeasures for memory corruption in GUI
   search results data.  Does NOT fix the root cause!

- (2004.03.14 - Richard)
 * [Gtk1] [Gtk2] No longer clear "Select" field in the download queue
   after pressing [enter].
 * [Gtk1] Add filtering to fileinfo pane.
 * [Gtk1] Minor layout change on the downloads pane.
 * Really remove file from disk when pressing "Purge" in the fileinfo page.

- (2004.03.10 - RAM)
 * Increased size of gnet header response for better Crawler replies, since
   GTKG can support 200+ leaves.

- (2004.03.09 - RAM)
 * Don't call make_room() with "needed <= 0".
 * Applied HSEP patch #6 from Thomas.

- (2004.03.06 - RAM)
 * Fixed typo that prevented renaming files to *.OK/*.BAD correctly when the
   filename on disk was not readable (i.e. an URN).
   
- (2004.03.03 - Richard)
 * [Gtk2] Minor layout change on the nodes panel
 * Regenerated glade files

- (2004.03.03 - RAM)
 * Removed constraint on bg_task_signal(): can be called from a non-running
   task, since otherwise daemon taks can have difficulties using it in their
   start/end callbacks!
 * (move.c) Added termination signal handler to allow background task to
   remove the target file if GTKG is shutdown in the middle of a move
   operation.
 * On restart, when re-queuing a file with a computed SHA1 for moving, don't
   forget to suspend all the queued files.  Normally this is done when we
   start the SHA1 computing process, but that can be bypassed when restarting.

- (2004.03.02 - RAM)
 * As per RFE #906834, use ISO timestamps in User-Agent string.
 * New version of Spanish translation by Paco Arjonilla.
 * [GTK2] Updated for 64-bit Gnet stats. [Patch from Russell Francis]

- (2004.03.03 - Jeroen)
 * Fixed compiler error on some compilers
 * When in random port mode, retry a new port of the random chosen port
   could not be binded. (Also the 1 - 1024 is now tried)
 * HSEP Typo fix from Thomas

- (2004.03.02 - Jeroen)
 * Included HSEP patch 5 from Thomas.
 * Added shell patch 6
 * Default port is now 0, which is now treated as 'choose a random port'. So
   all new installations will now choose a random port to listen on.

- (2004.03.01 - RAM)
 * (hsep.c) Cleanup of code, and fixed a bug on big-endian machines.
 * Made header_get_feature() more robust, to avoid matching sub-words.

- (2004.02.29 - Jeroen)
 * Included HSEP patch 3 and 4 from Thomas.

- (2004.02.24 - Jeroen)
 * Included initial HSEP support files from Thomas Schuerger.

- (2004.02.21 - RAM)
 * Added compact_size64().
 * Switched Gnet stats to 64-bit arithmetic.

- (2004.02.16 - Emile)
 * [GTK1] When a parent node is downloaded from the search tab (but not its
   children), GTKG will now correctly update parent hashtable
   (fixes bug #892593).
 * [GTK1] When search results are sorted by count, GTKG will now correctly
   re-sort column if a single node is downloaded

- (2004.02.15 - RAM)
 * Also use "friendly download name" (i.e. non-URN) when renaming completed
   file locally after a failed copy.
 * Protect against "errno == 0" on failed open().
 * Even if we can't start the move/verify thread correctly for an item,
   invoke the download state change callbacks.
 * Must use integer arg when calling ctype functions (fixes bug #897252).
 * Must count two file descriptors per upload slot and active download: one
   for the socket and one for the file being read/written.
 * New properties "file_descriptor_shortage" and "file_descriptor_runout".
 * Activate "file_descriptor_shortage" each time we call ban_reclaim_fd()
   and we succeed.  We set "file_descriptor_runout" when there is nothing
   more to reclaim.  Both properties are reset after 10 minutes.

- (2004.02.14 - Richard)
 * [Gtk1] Try to avoid memory corruption during selection in search results due
   to recursive calls of on_ctree_search_results_select_row(). 
   Should close #892802.
 * [Gtk1] Added a general gtk_ctree_count_node_children() to gtk-missing.[ch].
 * [Gtk1] [Gtk2] Removed property PROP_JUMP_TO_DOWNLOADS. 
   I don't think we need this anymore.
 * [Gtk1] Added PROP_SEARCH_CASESENSE. This controls if the name column in the
   search results is sorted case-sensitive.
 * [Gtk1] Cleant up a few places in search_gui.c and fixed part 2 of bug #892593
   in the process. Maybe part one is also fixed.
 * [Gtk2] Fixed compiler warnings about redefinition of g_string_printf and
   g_string_printfa in malloc.h.
 * Number of leaks is now reported in the leak summary.
 * [Gtk1] Small GUI layout fixed in the downloads and fileinfo panes.

- (2004.02.13 - RAM)
 * Don't call unicode_canonize() on non-UTF8 strings.

- (2004.02.06 - Jeroen)
 * I am back, so lets start with tiny things ;)
 * Fixed a couple of compiler warnings
 * Fixed a possible segfault when using ICU and iconv_open failed

- (2004.02.06 - Richard)
 * [Gtk1] Fix sorting by name in the search panel. Result from 
   search_gui_compare_records() was interpreted wrong.
 * [Gtk1] Changed search_gui_quick_sort_array_swap to be faster.

- (2004.02.01 - RAM)
 * Don't include a partial file in the mesh if we don't have 512K of it, or
   at least 10% of it.
 * Added IP:port + vendor string to warning about weird HTTP status.
 * Fixed looks_like_urn() which was not detecting names made out of a
   single SHA1.

- (2004.01.31 - RAM)
 * Reopening the 0.94u line.
 * Allow main window to shrink width below 933 pixels (fixes bug #885659).
 * When moving files, don't leave the target file around when an error occurs.

- (2004.01.27 - RAM)
 * Security fix in proxy code [Found by Leonardo H. Liporati].

- (2004.01.27 - Hans)
 * [Gtk2] Show progress bars in the up- and download lists to indicate
   progress [from Russell Francis, patches 873182 and 874590].
	
# v 0.93.3   2004.01.25  [stable]

- GUI updates:
  . New node info display configuration: show library size / # of files shared,
	configurable from the Config / User interface pane.
  . Number of file descriptors currently used for banning is now shown.
  . Increased search results sorting speed for GTK1.
  . Moved "close" button for searches to a more convenient position, in
	the upper right corner.
- Default number of node connections raised to 12 now that many servents
  support high outdegree.
- Eradication of memory leaks.
- Enhanced flow-control algorithm that will more aggressively drop packets
  (including query hits) when the connection remains clogged for too long.
  This new "swift" mode is indicated by the 'S' flag instead of 'F'.
- Bug fixes: #846755, #876011, #857075, #874596, #859761, #762121.

- (2004.01.25 - RAM)
 * If the last QRP patch message contains only zlib trailer data to mark
   the end of stream, don't consider it as a spurious message: just ignore it.

- (2004.01.20 - RAM)
 * Only call message_add() at the end of forward_message() since that call
   could modify the validity of the `dest' list we get as an argument.
   (should fix bug #846755 and bug #876011).

- (2004.01.19 - RAM)
 * Abort download_clear_stopped() if there's nothing in `sl_unqueued'.
 * Don't call downloads_gui_init() before settings_gui_init().
 * Fix overwriting of already read data when parsing more than one line
   [Patch from Thadeu Lima de Souza Cascardo, fixes bug #857075].

- (2004.01.18 - RAM)
 * Changed minimum for "node_connected_timeout" to 120 and the default to 180,
   since we must account for possible flow-control, both at the node and TCP
   level.
 * Try to account for PARQ active upload slots when looking whether we have
   enough file descriptors to become an UP, but lower the impact of banned
   fd since we can now steal them when we run out of available ones.
 * Lowered banned IP timeout to 6 hours, and mark IP as bad on connect timeout.
 * Fixed default returned value for add_host_to_cache() to FALSE.
 * (downloads_gui.c) Optimized to do without the costly count_node_children()
   routine.
 * Routine gui_update_download_clear() now only records that we need to
   figure out the sensitivity of "Clear Stopped".  However the real change is
   only performed once per second via gui_update_download_clear_now().
 * Must perform downloads_gui_init() before settings_gui_init() due to
   the use of property callbacks that can trigger GUI code, and because we
   now cache the results of lookup_widget() in downloads_gui.c.
 * Periodically call gui_update_download_clear_now() from download_timer().

- (2004.01.18 - Richard)
 * Count number of unstable nodes and hits on node_is_bad and node_ip_is_bad.
   Numbers are reported if core debug level is > 1.
 * Don't add bad ip adresses to the host caches in extract_field_pongs.
 * [Gtk1] Disable "expand all" and "collapse all" when no search is open.
 * [Gtk1] Fix possible crash if sorting on less then 50 results (Thanks Emile).

- (2004.01.17 - RAM)
 * Allow 6 unanswered "alive pings" in a row instead of 4 for UP connections.
 * Fixed incorrect list_delete_link_track() implementation causing memory havoc.
 * (search_gui.c) Removed needless atom_str_get() calls.
 * Redirect big walloc() calls to malloc_track() under TRACK_MALLOC,
   instead of g_malloc(), to not lose the source of the leak.
 * (dmesh.c) Made sure we cleanup the banned mesh by IP at close time.
 * Added g_string_*() trapping when -DTRACK_MALLOC.
 * Fixed stupid (recent?) typo preventing proper recording of the user-agent
   for uploads.
 * (downloads.c) Fixed memory leak.

- (2004.01.17 - Richard)
 * Cleaned up gtk-missing.h.
 * [Gtk1] Hopefully fixed sorting when any node in the results was expanded
   by iterating only over the top-level nodes when sorting. Refactored
   some of the code in the process and added a couple of FIXMEs for later
   releases.
 * [Gtk1] Hopefully fixed a few memory leaks in the download pane probably
   caused by calling g_list_free() not on the first element of a GList.
 * [Gtk1] In the search pane two more leaks reported by the leak detection 
   code should be fixed.
 * [Gtk1] Fixed crash when "expand all" or "collapse all" was pressed and
   no search was open.

- (2004.01.16 - RAM)
 * Added trapping of g_slist_() and g_list_() routines that allocate linkable
   objects under the hood.  Added trapping for hash_list new/free as well.
 * (bsched.c) Fixed list leak.
 * (uploads.c) Fixed possible atom leak.
 * (downloads.c) Forgot to cleanup d->escaped_name at exit time.
 * (uploads_gui.c) Made an explict free_data() callback for TRACK_MALLOC.
 * (nodes.c) Fixed memory leak.

- (2004.01.16 - Richard)
 * Replaced a number of g_free with G_FREE_NULL.
 * [Gtk1] [Gtk2] Moved "close" button for searches to a more convenient 
   position in the upper right.
 * Made dmesh_remove state if it really removed something (preparetion
   for XNalt support).
 * [Gtk1] Integrated fast-sorting patch from Emile le Vivre.
 * Moved init code from main_gui to downloads_gui.
 * Moved hash_list code from glib-missing.[ch] to hashlist.[ch].

- (2004.01.15 - RAM)
 * Added tracking for atoms (enabled with -DTRACK_ATOMS).
 * (dmesh.c) Fixed atom leak.
 * (gwcache.c) Fixed atom leak.
 * (huge.c) Fixed memory leak.

- (2004.01.14 - RAM)
 * Added custom debugging malloc support.
 * Added trailing inclusion of "override.h" to all C files.
 * (share.c) Removed spurious comment termination.

- (2004.01.13 - RAM)
 * (downloads_gui.c) Removed spurious g_strdup() call.

- (2004.01.12 - RAM)
 * Display the amount of file descriptors currently used for banning.
 * New property "banned_count".
 * Default number of node connections raised to 12 now that many servents
   support high outdegree.
 * Don't ping all our neighbours on pong-cache expiration: only select
   20% of them, randomly, with at least 3 being selected.
 * (event.c) Fixed free(0) call and switched to walloc() for subscriber
   allocation.
 * Must use file_fopen_missing() when reading the pid file.
 * New flow-control mode called "swift" mode, shown with an 'S' instead of 'F'.
   This mode is activated when we have spent some time in flow-control and
   need to flush the queue faster, at the price of dropping more messages,
   and possibly some query hits.
 * Changed minimum for "node_tx_flowc_timeout" to 90 secs (was 60 secs)
   since new "swift" mode needs at least 70 secs to clear the FC condition
   with 95% probability.

- (2004.01.11 - RAM)
 * Fixed "fi->lifecount > 0" assertion failure when backing out data after a
   resuming mismatch.
 * When we run out of socket descriptors, try to close a banned fd, if any
   (both when making out a new connection or accepting one).
 * Made ban_reclaim_fd() a public function, that can be used when we run out
   of file descriptors.
 * Make sure pixmaps and other regular files are installed without
   the 'x' bit set.
 * Generalized call to ban_reclaim_fd() when opening files on out-of-fd
   condition by introducing the file_open() and file_create() calls.
 * Decreased node unstable cleanup timer from 1 day to 0.5 day.
 * New node info display configuration: show library size / # of files shared.
 * New properties: "show_gnet_info_shared_size", "show_gnet_info_shared_files".
 * When applying a patch message, make sure they did not already fill the
   QRP table before processing (should fix bug #762121).
 * Don't blindly assume pong information with hops=0 comes from the node,
   as LimeWire suffers from a bug breaking this assertion.
 * For prettyness, don't show a library size of 8K when the # of files shared
   is 0 (all UP will advertise 8K sharing so that this amount is a power of 2).
 * Remove -licuuc from the list of libs when it is present but does not
   contain the functions we want (fixes bug #859761).
 * Don't force bit 0 of amount of Kbytes shared to 1 if they share nothing.
 * Don't consider pongs with less than 8 kbytes shared as being ultra pongs.
 * Added file_open_missing(), and file_fopen*() routines.
 * Error logging is now assured by file_open*() and file_fopen*() routines.

- (2004.01.10 - RAM)
 * Fixed assert failure when all the entries from the cache are deleted.
 * When GTKG thinks it is offline, don't even try to do GWebCache updates.
 * [GTK1] Fixed titles[] array sizing using enum constants, avoiding too
   small sizing causing memory corruption [Patch from Thomas Schuerger].
 * [GTK2] Don't abort a download entry if it is a pseudo-header [Patch
   from Russell Francis] (fixes #874596).

- (2004.01.10 - Richard)
 * [Gtk1] [Gtk2] Reverted changes to hostcount display from 2004.01.08
 * Moved generation of hostname for downloads pane to downloads_gui_common.c.
 * Fixed a memory leak in search_gui_common.c when search_hide_downloaded
   was activated.

- (2004.01.08 - Richard)
 * [Gtk1] [Gtk2] Show active and trying hosts seperatly when counting hosts
   in download pane. Format: "n hosts (m)" n - active, m - trying.

# v 0.93.2   2004.01.05  [stable]

- (2004.01.05 - RAM)
 * Fixed memory leak.

# v 0.93.2   2004.01.04  [stable]

- Numerous GUI updates:
 . GTK1 now supports groupped searches and groupped downloads, like GTK2 did.
 . GTK1 and GTK2 GUIs were brought in sync feature-wise, as much as possible.
 . Gnet pane will now show leaf nodes and normal nodes in light gray.
 . Fixed memory leak problems in the GTK2 interface that slipped in 0.93.1.
- Bandwidth requirements to become an ultranode were lowered significantly.
  This is due to the filtering of SHA1 queries through QRP now, instead of
  systematically forwarding them: gtk-gnutella assumes all servents out there
  include the SHA1 URNs in their QRP tables.
- As a result of the above, default amount of leaf nodes was increased.
- Added a special fix for BearShare: the HTTP headers which gtk-gnutella
  emitted used continuations, and were well-formed, but BearShare was
  misparsing those, causing it to enter an endless loop...
- Search results are now buffered by the GUI for burst updates, which reduces
  CPU usage and the amount of redrawing significantly.  The buffering time
  is configurable from the GUI.
- gtk-gnutella is now fully compliant with LimeWire regarding I18N queries,
  provided you have the ICU library.  Otherwise, it should be OK for roman
  charsets only.

- (2004.01.04 - RAM)
 * New property "search_accumulation_period" for burst period configuration.
 * Made the burst interval period for search refresh configurable from the GUI.
 * New header formatting routines: header_fmt_set_line_length(),
   header_fmt_value_fits() and header_fmt_append_value().
   Changed signature of header_fmt_make() to include default separator.
   Default line length set to 78 chars (was 72).
 * Changed signature of dmesh_alternate_location() to include whether we're
   emitting alt-locs in a request or in a reply.
   No longer format X-Alt and X-Nalt with continuations in requests, and
   to BearShare nodes on replies (due to a parsing bug in BS causing its crash).
 * Lowered min size for QRP tables to 16K.
 * Finished normalization of filenames/queries when the ICU library is
   present [From Stephane Corbe].

- (2004.01.04 - Hans)
 * [Gtk1] Show leafs and "normal" (legacy) clients in grey in the nodes list.
 * [Gtk2] Update nodes and uploads lists to show rows in grey in line with Gtk1
 * Updated i18n .po and .pot files based on current code
 * Updated Dutch translation
	
- (2004.01.04 - Richard)
 * [Gtk1] [Gtk2] Show icon when gtkg determines that it is ancient.
 * Props that have default values are saved as comments, so they can be
   upgraded to new defaults on version upgrades. [from Globuz]
 * Fixed critical bug in results-bursting code.

- (2004.01.04 - Emile)
 * [Gtk1] Fixed autosort for "count" column
 * [Gtk1] Added "Push mode" status for downloads tree
 
- (2004.01.04 - Richard)
 * Implemented "results bursting". That means that the gui accumulates
   incoming results over a period of time and then flushes them out to display
   in a burst.
   This technique drastically reduces the number of redraws. Unfortunately I
   had to inject some #ifdef USE_GTK1 into search_gui_common.c. I hope you can
   bear with me ;) The burst interval is currently hardcoded at 5 seconds
   in search_gui_common.c::search_gui_flush().
 * [Gtk1] "results burting" causes CTrees affected by the burst to be frozen
   during the burst and unfrozen later.
 * [Gtk2] the TreeViews are not frozen, but Gtk2 seems to handle the burst 
   intelligently and doesn't redraw during the burst all by itself. *shrug*
   Further testing is required here.

- (2004.01.03 - RAM)
 * Added a continuation on X-Queued: line, which was longer than 80 chars
   when we emit lifetime and ETA information.
 * Now count failed push proxy resolutions as well.
 * Now always emit alternate locations via X-Alt:, so got rid of the old
   code that emitted X-Gnutella-Alternate-Location headers.
 * Lowered maximum query monitoring half life to 10 seconds.
 * Changed computation formula for QRP pass-throw now that we filter SHA1
   queries through the table.  The cut-off is now fixed at 5%.
 * Another series of patches from Emile le Vivre:
   [GTK2] emove expand/collapse all buttons from search pane because they
   didn't fit and because the expand all button wasn't updating the
   treeview.
   [GTK1] Fixes autosort (except for count column for some reason)
   [GTK1] Adds "connecting" and "queued" status messages to grouped downloads
   [GTK1] Fixed "restart search" seg fault
   [GTK1] Fixed autoselect to update the ctree so autoselected rows show up
   immediately.
 * (downloads_gui*.c) Removed spurious atom_int_get()/atom_int_free() calls
   that do not strike me as beeing needed, but added explicit atom_int_get()
   in the add_parent_with_fi_handle() routine.
 * (downloads_gui.c) Made sure the hash tables are declared with g_int_hash
   and g_int_equal to work properly with integer keys.
 * (downloads_gui.c) Avoid too frequent updates and structure traversals to
   update the parent tree summary info when its GUI info is fresh enough.
 * Fixed long-standing race condition when receiving a GIV string.
 * [GTK2] Fixed crash when clicking twice on Purge in the fileinfo pane [From
   Hans de Graaff].
 * Changed default for "node_rx_flowc_ratio" to 70%, and raised minimum
   to 30%, to allow traffic bursts.

- (2004.01.03 - Richard)
 * [Gtk1] [Gtk2] Lots of layout changes to assimilate the gtk1 and gtk2 guis,
   to clean up layout in general and to fix paddings and spacings.
 * [Gtk1] [Gtk2] Unhid the "current search" entry in the search panel again
   as users requested so.
 * [Gtk2] Applied patch to fix column visibility on the gnet pane
   [from Clayton Rollins].
 
- (2004.01.02 - RAM)
 * Fixed conflict ratio computation when they don't share anything.
 * New properties to control ancient versions.
 * Warn them before the version becomes too old, and refuse to run without
   user manual action when we become old, after some grace period.
 * A series of patches from Emile le Vivre:
   [GTK1] Adds grouped downloads
   [GTK1] Adds collapse/expand buttons to downloads tab
   [GTK1] Fixes errors in autoselect
   [GTK1] Fixes memory leak
 * Offer ability to backout file by some amount on resuming mismatch
   [From Hans de Graaff].
 * Changed definition of char_map_t to be guint8 instead of (signed) char.
 * Count and display in gnet stats pane the amount proxified push messages
   we relayed or broadcasted.
 * Fixed hole in flow-control updating after message write.

- (2004.01.01 - RAM)
 * Halved requirements for gnet connections: with dynamic querying, there is
   less traffic between peers (GTKG does not support it yet though).
 * Raised size of gnutella handshake reply and that of generated crawler
   info to accomodate the larger number of leaves we can now support.
 * [GTK1] Added treeview in search results, in line with GTK2's GUI [From
   Emile le Vivre].
 * Don't remove gtk-gnutella.pot in "realclean" since we distribute it.
 * When looking at memory requirements for becoming an ultranode, take into
   account flow-control via the maximum message queue size.
 * Fixed assertion failures, and cleaned-up style issues, unused variables.
 * Update gnet connection counts in gnet bandwidth progressbar immediately
   when user changes some maximum, in ultra mode.
 * Factorized drop message logging in gnet_stats.c.
 * A series of patches from Emile le Vivre:
   [GTK2] Adds "expand/collapse all" popups for search and download tabs
   [GTK2] Adds "expand/collapse all" buttons for search tab
   [GTK2] Adds "Search results" frame around searches tab (missing since
   we moved the new search entry to the lefthand pane).
 * Applied ICU patch from Stephane Corbe.

- (2003.12.31 - RAM)
 * Added "emergency fixing" code: if the downloading partition gets trashed,
   one can now reconstruct a fileinfo with "grep -v ^CHNK fileinfo", and
   gtk-gnutella will correctly reset the entries on startup (all empty, but
   kept; otherwise gtk-gnutella would delete entries for missing files).
 * Moved periodic refreshing of fi->recv_last_rate into the core, where
   it belongs.
 * Wrote qrt_eq() to check whether the new table we've built is identical
   to the previous one: don't install if no change.
 * If the incremental routing patch is larger than the default one against an
   empty table, discard it in favor of a RESET plus the default patch.
 * Filter SHA1 queries differently: don't forward them blindly if there's no
   matching in the QRP table, and don't forward them to leaves in TX flow
   control.
 * [GTK2] Fix time remaining and k/s status for grouped downloads: now
   uses the core-computed fi->recv_last_rate value [From Emile le Vivre].
 * A series of patches from Emile le Vivre:
   [GTK2] Fixes the memory leaks introduce by Emile's grouped downloads patch.
   [GTK2] Fixes quirky behaviour for abort popups.
   [GTK2] Aborted grouped downloads now update status column correctly.
 * Apply socket RX buffer changes for downloads and nodes immediately to all
   existing connections.
 * Now advertises Query-Routing 0.2.
 * Now that we no longer forward all SHA1 queries to leaves, the bandwidth
   requirement per leaf has dropped significantly.  Increased the default
   number of leaves and halved b/w requirement to 32 bytes/sec/leaf.
 * Update flow-control indication within make_room() in case we dropped
   enough messages to go below the low watermark.

- (2003.12.29 - RAM)
 * Removed logical negation causing extra ultranode connections to be rejected
   with "Reserved slot" instead of the appropriate "Too many ultra nodes".
 * [GTK2] Fixed column selection in gnet pane: it's a tree in GTK2, not
   a clist [From Clayton Rollins].

# v 0.93.1   2003.12.28  [stable -- 2nd version]

- (2003.12.29 - RAM)
 * Restored "hu" support -- did not see the hu.po there.
 * Added po/hu.po and src/downloads_cb2.h to MANIFESTs.

# v 0.93.1   2003.12.28  [stable]

- Simplified the GUI for non-experts.  Beginners will now see less
  curious things on the screen, until they become more acquainted and
  turn on "expert" mode.
- Many improvements in the GUI:
  . The Gnutella node information displayed can now be configured in
	detail, and is by default reduced to four statistics only.
  . It is possible to hide the handshaking version and the Uptime column
	from the Gnutella pane.
  . When running in auto mode, show the criteria for becoming an ultranode.
  . The leaf node bandwidth odometers are by default automatically hidden
	when running as a leaf node.
  . GUI refreshing has been optimized so we don't unnecessarily refresh
	screens that the user is not looking at.  The downside is that when
	moving to that screen, stale data is presented for about 1 second until
	the refreshing takes place.
- 0.93 was not reporting uploaded partial files as such to downloading peers.
- Remote control "shell" is now compiled in by default but needs to be
  explicitly enabled in the GUI to become operational.
- Improved connectivity between ultrapeers to avoid frequent disconnection
  due to "activity timeout".
- Bugfixes:
  . Was misparsing query hits bearing alt-locs attached to each hit, causing
	GTKG to possibly drop those hits and close the connection when coming
	from an immediate neighbour.
  . When restarting a search from menu, re-enable it automatically if it
	was disabled (fixes bug #864348).
  . Upon restart, a disabled search will now be shown in gray in the
    search list (fixes bug #857972) -- feature only implemented for GTK1.
- Many other little changes that we'll let you discover...

- (2003.12.28 - RAM)
 * [GTK1] Renamed "Search for" as "Search:" to save horizontal real-estate
   and have a larger search box.
 * Ensure that we update the uploads every 5 minutes at least, even if nobody
   is watching to perform cleanup of dead entries.
 * [GTK2] Brought up in sync with GTK1 [From Clayton Rollins].
 * Ensure that we update the nodes every 5 minutes at least, even if nobody
   is watching to perform cleanup of dead entries.
 * Cache result of lookup_widget(main_window, "notebook_main").
 * Put column definition enum for gnet pane in gui.h, to be in line with
   the way it's done for others.
 * Only update downloads if we're in the "Downloads" tab.
 * Put column definition enum for fileinfo pane in gui.h, to be in line with
   the way it's done for others.
 * Some download states must always be updated whether they are looking or
   not since we won't periodically refresh the GUI.
 * Added statistics properties about library scanning and QRP patch generation.
 * [GTK1] Added "expert" statistics frame showing library scanning time and
   some properties about the QRP table and the generated patch in the upload
   config pane.
 * New "fileinfo_divider_pos" property to remember the postion of the
   fileinfo vertical separation.
 * [GTK1] Remember the vertical position of the fileinfo pane separation.
 * Fileinfo callback were not prepared to handle (FREQ_SECS, 2), otherwise
   change notifications are lost when adding/removing sources.
 * Forgot to handle the GTA_DL_REQ_SENDING state in download_timer().
   Now that we do, we can skip the GUI update for that state if they're
   not looking.
 * [GTK1] Turned off "expand" from "frame_gnet_can_become_ultra".
 * [GTK2] GUI brought up in sync with GTK1 again [Thanks to Clayton Rollins].

- (2003.12.27 - RAM)
 * Due to a stupid typo, we were denying promoting nodes to UP even if the
   bandwidth requirements were met [Patch from Sebastian Bork].
 * [GTK1] Upon restart, a disabled search will now be shown in gray in the
   search list (fixes bug #857972).
 * When restarting a search from menu, re-enable it automatically if it
   was disabled (fixes bug #864348).
 * Added properties to track ultrapeer eligibility status and switching time.
 * [GTK1] Added a frame showing ultrapeer promotion statistics when running
   in "auto" mode.
 * Applied cleanup patch for tree-view downloads (GTK2) [From Emile le Vivre].
 * Added new properties for configuring the search queue, whether to enable
   the "shell" remote control, whether and how tightly we should monitor
   query traffic for duplicates, and for how long we should keep "dead"
   entries for GUI display before removing them.
 * Fixed download columns for GTK1, broken by Emile's patches.
 * Raised atexit() timeout to 20 seconds.
 * When computing average servent uptime and IP lifetime for ultranode
   promotion, take into account the current uptime and IP lifetime.
 * Query traffic monitoring is now controlled by GUI-settable properties.
 * Must always perform nodes_gui_node_info_changed().
 * Must always perform upload_info_changed().
 * When autoselect is disabled in the search pane, prevent them from being
   able to select the fuzzy matching or identical settings...
 * Now that remote control can be disabled from the GUI, compile it by
   default but do not activate it.

- (2003.12.26 - RAM)
 * Don't send QUEUE callbacks for entries we no longer share [Patch from
   Hans de Graaff].
 * Changed min/max values for Gnutella message sizes now that they can be
   configured from the GUI.
 * Introduced many new GUI properties:
   . node_show_uptime
   . node_show_handshake_version
   . node_show_detailed_info
   . show_gnet_info_XXX [15 of them]
 * [GTK1] Added ability to configure Gnutella message sizes in expert mode,
   as well as the ability to customize some of the columns and info display
   in the gnutellaNet pane.
 * Use dynamic configuration to generate the node "Info" column display.
 * Added symbolic constants to refer to node columns.
 * Optimize GUI refreshing of nodes and uploads to only perform it when
   the GUI displays the node or upload page.
 * Integrated bugfix in random chunk shuffling for PFSP [From Hans de Graaff].
 * Applied patch to introduce tree-view for downloads [From Emile le Vivre].

- (2003.12.25 - Richard)
 * Increased similarity between gtk1 and gtk2 interfaces.
 * [Gtk1] [Gtk2] More padding fixes.
 * [Gtk1] In bandwidth config panel changed layout to match that of the 
   Gtk2 interface.
 * [Gtk1] [Gtk2] Updated gui maintainer entry in about dialog.
 * [Gtk1] [Gtk2] Changed label of expert mode toggle to
   "Show additional information and settings for advanced and expert users"
 * [Gtk2] Added "Compute upload connection speed" setting to config pane.
 * [Gtk2] Socket recieve buffer size settings visible only in expert mode.
 * [Gtk2] No more Gtk-Critical when loading gtkrc file. rc-file loading code
   now uses ~/gtkrc for gtk1 and ~/.gtkrc-2.0 for gtkg. This is correct 
   on my Debian system and hopefully also on other systems. (Analogous for
   the rc files in the gtkg config dir.)

- (2003.12.24 - RAM)
 * Transferred bytes are now shown in short size form, followed by the
   verbatim value between parenthesis.
 * Added a short_size64() routine for 64-bit values.
 * Don't call bsched_clear_active() too often: only once per period.
 * PARQ will now guard a slot for 45 seconds after a remote disconnect.
 * Special handling for stalled uploads being replaced in parq_upload_get().
 * Enforce the maximum uploads per IP after PARQ, since it seems there is
   a race condition somewhere.
 * [GTK2] Fix from Russell Francis putting back socket RX buffer size
   selection into an "expert" frame.
 * Treat all input exceptions during download as an EOF condition.

- (2003.12.24 - Richard)
 * [Gtk2] Changed lots of paddings and spacings so they are more uniform.
 * [Gtk1] [Gtk2] Applied suggestions of Emile le Vivre for gui simplification:
   - moved to expert mode:
     - hostcatcher (gnet panel)
     - transfered files stats (gnet panel)
     - local node information (gnet panel)
     - 'add passive' searches (sidebar)
   - Searches: current search combo removed (only hidden for now), 
     redesigned settings panel, moved adding of new searches to sidebar,
     moved a few buttons around
   - Sidebar: moved adding of new searches here
   - Config: a few minor changes in the gnet settings to make gtk1 and gtk2
     look more similar.
 * [Gtk1] [Gtk2] Added option to automatically hide leaf bandwidth stats
   when not in ultrapeer mode (default: on).
 * [Gtk1] Fix sidebar resizing when traffic stats are hidden (a hack, but 
   it seems to work)

- (2003.12.21 - RAM)
 * Don't update drop statistics on high TTL when running as a leaf node and
   don't bother running through the routing computation for forwarding
   a message since leaf nodes will never actually route messages.
 * Don't queue up a new query message in the queue if we already have an
   unsent message in the queue originating from the same search.

- (2003.12.20 - RAM)
 * PARQ will no longer send QUEUE when uploads are disabled.
 * Changed semantics of reported connection speed: it is now the connection
   speed in kbits/s for each upload slot, not a global one.
 * New property "compute_connection_speed", TRUE by default.
 * [GTK1] Added GUI interface for "compute_connection_speed" configuration.
 * [GTK2] Patch from Russell Francis adding the avail b/w display like in GTK1.

- (2003.12.17 - RAM)
 * Changed some property defaults:
	 node_monitor_unstable_servents -> FALSE (was TRUE)
     max_leaves -> 48 (was 100)
 * Changed minimum bandwidth requirements per leaf (128 bytes -> 64).
 * [GTK1] Removed unused "Default minimum speed" configuration in the
   Config / Gnutella pane.
 * [GTK1] Changed increments for bandwidth changes via PageUp and PageDown
   to be 5 units, and increments for the speed reported to peers to be 8 units.

- (2003.12.16 - RAM)
 * New property "dl_http_latency".
 * Downloads now maintain a measure of the HTTP latency between request
   and reply.
 * [GTK1] Added display of total limited bandwidth in the Config / Bandwidth
   pane, as well as the current measure of the HTTP latency.
 * Don't count TTL=0 messages when we're a leaf node since we handle them.

- (2003.12.15 - RAM)
 * Changed some timeouts minima values, and added the ".aac" extension (MP3
   clone from Apple).
 * Added two new properties: "download_rx_size" and "node_rx_size" to
   configure the socket RX buffer size.
 * [GTK1] Added "expert" settings to configure the RX buffers of sockets.
   This can greatly impact the latency when downloading many files or
   connected as an ultranode.

- (2003.12.14 - RAM)
 * Removed remaining Gnutella 0.4 handshaking code.
 * Fixed IP TOS settings: only change it when downloading/uploading, but
   leave normal TOS when exchanging headers.
 * Don't forward random pongs to leaves that are already in TX flow control.

- (2003.12.13 - Jeroen)
 * Intergrated patch from Clayton, adds vendor preferencing to the gui 

- (2003.12.11 - RAM)
 * Changed compact_size() to display an even more compact string when the
   size is an even multiple of Kbytes, Mbytes, etc...
 * Added some query routing table stats for ultrapeers to monitor their leaves.
 * Suppressed activity timeout between ultra nodes and leaves.

- (2003.12.10 - RAM)
 * Added warning when running under debug level tracing the BYE received.
 * When we're a leaf node, don't issue any "Activity Timeout" to our
   Ultranodes.  If the connection went dead, this will be caught by their
   not replying to our alive pings, after 8 minutes.
 * Added query throttle.
 * Make sure to initialize `last_update' when creating a node, to avoid
   it being immediately selected by the node_timer() thread for removal!
   Restored the activity timeout check...
 * When remote Gnutella node does not reply correctly or issues a 401 reply,
   remember his IP address as being bad.
 * Keep query/ hit statistics per node (TX & RX) and measure QRP efficiency
   for leaf nodes.

- (2003.12.09 - Jeroen)
 * Intergrated and somewhat adjusted patch from Thadeu Lima de Souza Cascardo.
   Use the WHATIS command in the remote shell to get the 'tooltip' of a
   property
 * Intergrated and modified patch from 'wwp' to parse gtkrc file in local
   directory and gtk-gnutella config directory
 * Intergrated and somewhat adjusted patch from Paco Arjonilla. 
   Added internationalization for the gnutellaNetstats tab messages.
 * Changed the following default settings:
   - max_connections 			4 -> 9
   - node_connecting_timeout 		10 -> 30 seconds
   - node_connected_timeout  		45 -> 90 seconds
   - node_tx_flowc_timeout		60 -> 180 seconds
   - scan_extensions added: 		xvid
   - strict_sha1_matching    		FALSE -> TRUE
   - prefer_compressed_gnet  		FALSE -> TRUE
   - download_require_server_name 	FALSE -> TRUE
   - max_leaves				15 -> 100
   - node_monitor_unstable_servents	FALSE -> TRUE
   - unique_nodes			67	-> 50
   
- (2003.12.09 - RAM)
 * Allow them to issue a duplicate upload if the original began to stall.
   The new upload will simply replace the previous one.
 * Added "[weird #n]" tagging string to all debugging warnings emitted when
   we increase the weird message count for a node.
 * Was misparsing HUGE URNs followed by GGEP extensions, causing spurious
   "Security Violations" disconnections from GTKG peers.
 * Throttle queries that are re-emitted too soon or too closely in time
   to not be related.
 * Renamed "Ping throttle" as "Message throttle" since we can now throttle
   both pings and queries.

- (2003.12.07 - RAM)
 * Count the amount of bytes actually sent back for each upload request.
   This amount is displayed when a data timeout occurs.

- (2003.12.04 - RAM)
 * Don't attempt QUEUE callback if we don't have enough bandwidth left to
   issue a connection.
 * Exported socket_tos_*() routines and added sock_is_corked().
 * Detect recurrent upload stalling conditions, and try to workaround
   the problem.

- (2003.12.03 - RAM)
 * Try to account for the bandwidth used by TCP/IP, which can become
   significant when many connections are issued concurrently.
 * Don't return alt-locs for ourselves if they enabled PFSP-server but
   disabled sharing for now.

- (2003.12.02 - RAM)
 * Now shows real instantaneous bandwidth usage and not a fast EMA.
 * Fixed some possible usage of uninitialized variables.

- (2003.11.25 - Jeroen)
 * Removed dead gnucleus gwebcache

- (2003.11.24 - RAM)
 * Don't hammer the same webcache if we can't connect.
 * New strcmp_delimit() routine to compare strings up to a delimitor.
 * Revisited node_avoid_monopoly() and node_reserve_slot().
 * [GTK1] Was not low-lighting the right search in list when disabling.
 * Added check for EACCES for FreeBSD.

- (2003.11.22 - Jeroen)
 * You can now reserve a number of slots for gtk-gnutella nodes only
   (current default: 33%)
 * You can now prevent one vendor from taking over all your gnutella
   node slots. Current efault one vendor may take maximum of 67%.
   These settings are not available through the GUI

- (2003.11.11 - RAM)
 * Fixed http_send_status() to no longer ignore the given keep_alive parameter,
   even with 2xx return codes.
 * Pass the u->keep_alive status to http_send_status() on 2xx replies.

- (2003.11.10 - RAM)
 * Use average upload bandwidth consumption to compute PARQ ETA values.
 * Flag query hits carrying a push-proxy indication.

- (2003.11.09 - RAM)
 * Forgot to include "settings_gui.h" in main.c.
 * Forgot to allow X-Available-Ranges emission on HTTP 2xx returns.
 * Don't expire pong cache for leaves as often as in ultra mode.

- (2003.11.08 - Jeroen)
 * Fixed hevcnt <= G_N_ELEMENTS(hev) assertion bug
 * Purge button now available in GTK2 interface
 
- (2003.11.07 - Jeroen)
 * Added Hungarian translation from Sulyok P�ter

- (2003.11.06 - Jeroen)
 * Intergrated shell patch from Thadeu Cascardo.
 * Fixed assertion bug for GTK2.
 - Both GTK1 and GTK2 should be fully functional / usable again
 
- (2003.11.03 - Jeroen)
 * Fixed a lot of compilation warnings, also fixed some errors which actually
   could cause a segfault when running in a high debug level
 * Was not always sending the X-Features were it actually should, fixed.

# v 0.93   2003.11.02  [stable]

- GTK-Gnutella now support both Partial File serving, as a client as well
  as a server. As soon as a download is started, can be used as an alternate 
  source for others even though the download is not completed yet.
- When a mismatch happens during downloading the file can now be automatically
  removed and restarted again. 
- Improved GUI to specify better which downloads should be cleared from the 
  list (completed, failed, unavailable)
- Collects alternate download locations aquired from query hits.
- Support for hostname instead of only an ip. If you have a dynamic ip
  but got a static hostname, for example a .dyndns.org address, gtk-gnutella
  can try to connect to the ip associated with the hostname.
- Sends out alternate locations which should not be tried.
- Won't send full headers when short on bandwith.
- Any changes in settings are now automatically saved, there is no need to quit
  the client anymore to make sure the settings are saved.
- Running gtk-gnutella in Auto peermode should no longer cause a crash.
- New addresses in hostiles.txt to protected against malicious hosts.
- gwcache.boot was cleaned up. Dead links were removed.
- Remote control should actually work without crashing gtk-gnutella.
- The build problems which occured in 0.92.1 due to the switch to metaconfig
  should be (mostly) gone. 
- Code cleanup to build on more platforms.
- GTK2 interface currently does not have a maintainer, not all options which
  are available in the GTK1 interface might have made it in the GTK2 interface.

- (2003.11.02 - RAM)
 * Added the concept of "established" Gnutella connection: don't relay
   Gnutella traffic to non-established connections.  A connection becomes
   established when we receive traffic or got the 3rd handshake.
 * Don't forget a cache URL when it reports an ERROR: can be a transient
   problem.
 * Don't mark node as bad when an EOF condition occurs but the Gnutella
   connection is not "established".  It could be the result of a timeout
   on the other end, and without an established connection, no BYE is
   possible.

- (2003.11.01 - RAM)
 * Account for BearShare 4.3.x no longer sending the X-Ultrapeer to signal
   Ultrapeer status but relies on X-Ultrapeer-Needed instead.
 * Cleanly deny the connection to Ultrapeers requesting us to become a leaf
   when we cannot be demoted.
 * Do not send "alive" pings if we've been receiving data from the remote
   node recently.
 * Take into account the last ping round-trip time for spacing out our pings.
 * Fixed getting of GUI colors in search: is done differently for GTK1/GTK2.
 * Remove bad URLs from the Gnutella web cache as soon as we encounter them.

- (2003.11.01 - Jeroen)
 * Now sends the X-Nalt header with sources that should not be tried.
   GTKG won't parse and use it though.
 * Intergrated patch from Clayton. Which adds PFS configuration options
   in GTK2 too.
 * X-Features now sends all features, won't skip the last feature anymore

- (2003.10.31 - RAM)
 * Disable non-passive searches that became full (max configured amount
   of result displayed).
 * Let the GUI side tell the core side how much items were found and are
   still listed in the search window.
 * Added a bunch of new addresses to hostiles.txt, collected from a
   .htaccess and converted to our format.

- (2003.10.31 - Jeroen)
 * Added support for X-Features header parsing.
 * Added support for X-Features generation.
 * PARQ now also accepts the X-Features: Queue/1.0 as a queue enabled indicator
 * PARQ now also emits queuing capabilities in the X-Features header.
 * Don't add the X-Features header when the header would be empty

- (2003.10.29 - RAM)
 * No longer emit the X-Try header during Gnutella handshaking unless we're
   runnning in normal (legacy) mode.
 * Changed the way the `fi_by_namesize' hash is handled: we non longer keep
   one alias per (name, size) tuple but a list of them.  This avoids dropping
   alternate names between different fileinfo for the "same" file (albeit
   bearing disctint SHA1).  Non-SHA1 matching of query hits will now autoselect
   an entry for downloading only if there is one known entry by (name, size).
 * When a download is done, try to rename it using one of the non URN-like
   aliases we have for it.

- (2003.10.29 - Jeroen)
 * Fixed some inconsistent code. This should make the code even more
   portable

- (2003.10.28 - RAM)
 * When checking for an up-to-date SHA1 in a partial file, don't bother
   verifying whether the file is still present on the disk.
 * Got rid of obsolete file_info_filesize() routine.
 * Added file_info_has_trailer() to check whether a file has a trailer,
   indicating it is being downloaded but still incomplete.
 * Don't share partial files, even if the "tmp" directory is shared.

- (2003.10.27 - RAM)
 * Handle '_' as a space in looks_like_urn().
 * The download pane will now try to show a non-URN alias for filename.
 * Must reparent all downloads to common server when there is an IP conflict
   due to DNS resolution of the server name.

- (2003.10.26 - RAM)
 * Fixed async DNS resolution to behave properly when pipe with ADNS fills up.
 * When creating downloads, one can optionally supply a hostname as well.
 * New servent code "FEVR" for FileFever.
 * Added support for symbolic hostname in downloads.
 * Added parsing support for new GGEP "HNAME" extension.
 * Generate the GGEP "HNAME" extension in our query hits, if possible.
 * New properties "server_hostname" and "give_server_hostname" controlling
   the setup and the advertising of the server's hostname.
 * Added generation of the X-Hostname header.
 * Added parsing of the HNAME extension in query hits.
 * Added socket_bad_hostname().
 * Return the X-Hostname to uploaders if possible.
 * Display hostname when known for downloads.
 * [GTK1] Added configuration of the server's hostname.
 * [GTK1] Display hostname when known in searches.

- (2003.10.25 - Jeroen)
 * Don't allow removing a download for which a background task is active. EG,
   while verifying an SHA1 hash.
 * Remove file on mismatch option is now also available for GTK2

- (2003.10.21 - Jeroen)
 * Intergrated patch from Thadeu Lima de Souza Cascardo. This fixes a segfault
   with remote control.
 * Leaf, normal, ultra node counters are now updated as soon as the connection
   was established. This should avoid an assert when changing modes while still
   in handshake. 

- (2003.10.19 - RAM)
 * Rotate sources in bandwidth scheduler at each timeslice, since apparently
   the order used to insert them as I/O callbacks determines the order with
   which glib calls us back when they trigger.

- (2003.10.18 - RAM)
 * [GTK1] Added GUI configuration for server-side PFSP.
 * Trace amount of bytes in HTTP requests and replies.
 * Improved limitation of HTTP replies: now based on the error code with
   explicit sizing of the header and with flag propagation to callbacks, to
   tell them more about the context of the reply they're generating.
 * Refactored the gtk_gnutealla_exit() destruction order to avoid assertion
   failures in GUI code.
 * Moved some PARQ constants to parq.h.
 * More carefully control the generation of the PARQ headers depending on
   the callback flags.
 * Keep information about the mesh information being sent to uploaders for
   a longer period, to better accomodate with PARQ's long retry timeouts.
 * Added more stringent size control on the generated headers in replies.

- (2003.10.13 - RAM)
 * Fixed file_info_available_ranges() to avoid assertion failure at the end.
 * Detect and ignore exact duplicate entries in the hostiles.txt file.
 * Because of PFSP-server, we can get our own alt-locs back: make sure we
   don't try to download a partial file from oursevelves!
 * Added ip2_to_gchar() in case we want to format two IPs in the same printf.
 * Bearshare changed its vendor tag to "BARE" in query hits.
 * Re-organized gtk_gnutella_exit() to perform only minimal activities
   when being called from atexit().

- (2003.10.12 - RAM)
 * Added file_info_readable_filename() to get a meaningful name for uploads
   related to partial files, and not an URN if possible.
 * Now remember explicitly when list_clone_shift() was called and cloned,
   to avoid problems with the list changing underneath.
 * Removed assertions when re-reading fileinfo trailer: they could be harmful
   when the trailer is inconsistent / corrupted.
 * In the upload pane, prefix the Range column with a '*' when dealing with
   a partial file.
 * Remember the time when we rewrite the properties to disk, to avoid spurious
   warning about the file having changed whilst we were running.
 * Fixed `running_uploads' counting when waiting for follow-up request after
   an "unavailable range" error: decrement it before waiting, since we don't
   even know whether there will be a follow-up at all!
 * When unlinking or resetting a fileinfo, kill all uploads targeted to it.
 * When outgoing bandwidth is saturated, limit the size of the HTTP replies
   we make, or the size of our HTTP requests.  This includes emitting shorter
   version strings, less alternate locations, etc...

- (2003.10.12 - Jeroen)
 * Intergrated patch from Richard Hyde which implements the Purge button for
   the gtk2 interface.

- (2003.10.11 - RAM)
 [This batch of changes implements server-side PFSP]
 * Add ourselves to the sent alternate locations when server-side PFSP is on
   and we have some data for a partially downloaded file.
 * Tell the mesh to include ourselves in the alternate locations when
   downloading a file for which we have data (PFSP).
 * Adapted the "shared file" structure and the lookup routines to handle
   partially downloaded files: a fileinfo can now contain a "shared file" and
   the "shared file" is marked as being partial by referencing its associated
   fileinfo.
 * New upload state GTA_UL_PFSP_WAITING entered when they request an
   unavailable range and we give them one more chance to get a correct chunk
   by retrying on the kept-alive connection.
 * Emit header continuations with leading "\t" instead of 4 spaces.
 * Raised HTTP reply size to 2.5K to give room to available ranges.
 * Don't ignore files for which shared_file_by_sha1() returns something but
   which are actually partial files.
 * Remember in each upload whether the previous request was for an unavailable
   range.
 * Return a 416 to uploaders requesting an unavailable range, keeping the
   connection alive to give them a chance to re-request the proper range
   immediately without loosing the connection.

- (2003.10.06 - RAM)
 * The property system now remembers when a saved property is changed, and
   supports a new prop_save_to_file_if_dirty() call that will perform a
   save only if a saved property changed since last flush to disk.
 * Added lazy property saving to the slow main timer.
 * Added atexit() hook to allow GTKG to cleanup properly when a library
   calls exit() directly, especially when the connection with X is lost.
 * Now uses GGEP "ALT" to provide known alternate locations in query hits.
 * Terminate connection when peermode changed during handshaking, using
   a BYE message with code 504.  This race condition is rare enough to not
   warrant recovery (fixes bug #799675).

- (2003.10.05 - RAM)
 * Added parsing of new compact X-Alt header and generation of that new header
   to servents who have shown support for it.
 * Added collecting of alternate locations on HTTP 416 replies.
 * Fixed update of the dl_byte_count/ul_byte_count properties (now a guint64).
 * Now passes vendor string to alt-loc collection routine so that we can
   record who supports X-Alt and who doesn't.
 * Suppressed range header parsing warnings when not debugging.
 * Now look at X-Alt when collecting alternate locations and record vendors
   known to support that new compact form.
 * Skip leading whitespaces when parsing IP address.
 * Don't hardwire 6346 as default port, use the new GTA_PORT definition.
 * Added version_newer() to check for GTKG versions being newer than a date.
 * Assume all GTKG versions newer than 05/10/2003 support X-Alt even if we
   have never seen an X-Alt from them.

- (2003.10.05 - Jeroen)
 * Closed bug [ 790622 ] change "fuzzy filter" tooltip contents. The tooltip
   was: "... Thepurpose of this filtering..." which should be ".... The 
   purpose of this filtering..."

- (2003.10.04 - Jeroen)
 * Closed bug #784574 Transferred files byte counter rollover. Transfer counter
   is now a 64 bit counter.
 * Added GUIN64 to the props.tpl and corresponding files.
 
- (2003.10.03 - Jeroen)
 * Don't assert when u->name == NULL. EG, when a file is not found

- (2003.10.02 - Jeroen)
 * Added extra assertions to parq to verify u->name != NULL. Trying to track
   a porting problem

- (2003.09.11 - RAM)
 * My farewell to gtk-gnutella...  Appointed Jeroen as new leader.
 * No longer aborts downloads when we can't write data to disk: requeue them
   with the "busy" retry delay.
 * Fixed definition of QUERY_SPEED flags to match LimeWire's interpretation.
   When they talk about bit #15, it's the bit on the wire, but since the
   field is little-endiant, that's really bit #7 in the definition.
 * New "dl_remove_file_on_mismatch" property to request file removal when
   there is a resuming mismatch for a download.
 * [GTK1] Added a "remove file on mismatch" checkbutton in download pane.

- (2003.08.26 - RAM)
 * Optimized file_info_update() to not call file_info_merge_adjacent()
   systematically.  It now also behaves more efficiently for the common
   case where we append new data to an already "done" chunk.

- (2003.08.20 - RAM)
 * Had forgotten to fix IP endianess issues in filter_gui.c.

- (2003.08.19 - RAM)
 * Escape leading '.' in filenames as '_' to avoid downloading "hidden" files.
 * Flag aborted downloads with server unavailable as "Aborted (Server down)".
 * When removing downloads from a peer that is unavailable, flag all those
   downloads as unavailable as well.
 * Fixed endless "Request" -> "Sinking" -> "Request" cycle.
 * Changed jmake so that all install directories are made if they don't exist.
 * Regenerated Configure with newer units.
 * Fixed wrong Configure flags in gtk-gnutella_spec.SH.
 * Configure will now ignore your xgettext if it does not support --from-code.

- (2003.08.16 - Jeroen)
 * PARQ: Update all IP / Port info for all PARQ entries for this servent
   when a servent sends his new IP / Port.
 
- (2003.08.16 - RAM)
 * Updated metaconfig so that the generated config.h can compile properly
   with the broken gcc 3.x pre-processor.
 * Added size of arrays in external declations from gnet_stats_gui_common.h.
 * [GTK1] Added new download auto-clear option: unavailable downloads only.
 * New property "autoclear_unavailable_downloads" to clear unavailble
   downloads only.  TRUE by default.
 * Renamed "Clear completed" button as "Clear stopped".
 * All downloads that timeout or for which the push route is lost are
   stopped via download_unavailable().

- (2003.08.15 - RAM)
 * Moved the manual page from debian/ to src/.
 * [GTK1] Added display of the amount of fileinfo entries, and which have
   sources in the Fileinfo pane.
 * New properties "fi_all_count" and "fi_with_source_count".
 * Count all fileinfo, and those with sources.
 * Factorized "Malformed SHA1 query" and "Query hit had bad SHA1" statistics
   into "Malformed SHA1 message", since we keep track of message types.
 * Renamed "Malformed UFT-8 query" into "Message with malformed UTF-8".

# v 0.92.1 2003.08.20 [stable]

These are some of the changes made since 0.92 stable:

 * Support for push proxies was added which reduces problems with
   firewalled servents.
 * Support for pre-0.90 configuration files has been dropped.
 * Improved PARQ and fixed some problems with it.
 * The default directories for downloads are now set to $HOME.
 * A lot of minor bugfixes and code clean-ups so that it compiles on
   even more platforms and with other (C99) compilers.
 * GTKG can now monitor unstable IP addresses and unstable servents, to
   avoid keeping connecting to bad nodes.
 * The download pane now shows how many items are actively and passively
   queued.
 * The search pane allows one to hide hits that are either ignored or
   which have been already queued up by the core due to a matching SHA1
   or filename.
 * The "Purge" button could be hidden due to long filenames (#770625).
 * A duplicate free() problem was fixed in _search_send_packet() (#706014).
 * The "Purge" button doesn't cause crashes any longer (#757276).
 * The bug which could cause a crash when resuming a download was fixed
   (#739262).

The following changes affect only the GTK+ 2.x front-end:

 * XFT support is not turned off by default.
 * The node and the uploads panel have been tuned (a little).
 * No more crashes if the uploads are sorted by status.
 * Non-UTF-8 encoded strings were passed to GTK+ 2.x causing warnings
   (#769342).

The following changes affect the build system:

 * Switched to metaconfig, and abandonned autoconf/automake.  There may
   be some portability issues introduced on non-linux system since there
   are lots of new metaconfig units that had to be developped for the
   configuration of GTKG.  In the long run, it will catch up.
 * The "intl" directory containing GNU gettext() is no longer supported,
   because it is currently only configurable via autoconf.  If you don't
   have proper GNU gettext() support on your system, you might have to
   disable NLS support to be able to compile.

- (2003.08.10 - RAM)
 * Replacement inet_aton() was using same parameter and local variable names.
 * [GTK2] Integrated GUI update from Andrew Barnert, propagating changes
   made to the GTK1 interface.

- (2003.08.09 - RAM)
 * Switched to metaconfig.

- (2003.08.08 - RAM)
 * [GTK1] Renamed "Abort all from host" as "Forget all from host" since we're
   no longer paying attention to the "delete file on abort" setting here.
 * Was unduly removing downloaded files when removing all queued download from
   a host on timeout when they had "delete file in abort" turned on.
 * Allow them to abort/forget a download when it is in "Sinking" mode.
 * Moved GUI callbacks for upload stats to new upload_stats_cb.c.
 * Fixed config_comment() to have readable and nicely-formatted comments.
 * Updated the French translations.
 * [GTK1] Changed label to "Report an upload connection speed of" to avoid
   confusion on asymetric lines.
 * [GTK2] Applied Emile le Vivre's update.
 * Applied update from Stephane Corbe and reran autogen.sh.
 * Added 64.15.0.0/255.255.0.0 to the list of hostile IPs.
 * Manually patched generated po/Makefile.in.in and Makefile.am because of
   crappy auto* tools: it would not build on my machine, yet those files
   were generated/updated!

- (2003.08.07 - RAM)
 * [GTK2] Integrated Emile le Vivre's patch adding support for the two
   "node_monitor_unstable_ip" and "node_monitor_unstable_servents" properties.
 * [GTK1] Added GUI configuration for "checkbutton_auto_feed_dmesh" and
   "checkbutton_fuzzy_filter_dmesh" in the Config/Downloads pane.
 * [GTK1] Reworded text for the checkbox controlling "auto_download_identical".
 * When they don't monitor unstable IPs, gray out monitoring of unstable
   servents in the GUI.

- (2003.08.06 - RAM)
 * Count actively and passively queued downloads.
 * [GTK1] Display actively and passively queued downloads.
 * Obsoleted "mark_ignored": only retained for GTK2, and replaced with
   "search_handle_ignored_files" for GTK1.
 * Can now prevent display of search results that will be ignored.
 * [GTK1] New combo to handle ignored files: 3 choices: display / mark / skip.
 * Also consider 172.31/12 as a private IP range, and 255/8 as unroutable,
   instead of just 255.255.255/24.
 * Ooops -- 172.31/12 does not exist as a defined private IP range!

- (2003.08.05 - RAM)
 * Forgot to customize the HTTP async layer when we're using the IP
   swapping hack for client-side push proxy.
 * After having swapped the IP, reswap it back before reporting failure to the
   download layer.
 * Don't display negative uptimes, force 0.
 * When computing the remote node's uptime, use our clock offset to correct
   the remote timestamp.
 * Default for "nodes_monitor_unstable_servents" is now FALSE.
 * [GTK1] Turned on gettext support in glade.
 * [GTK1] Added GUI settings for the "node_monitor_unstable_ip" and
   "node_monitor_unstable_servents" properties in the Gnutella config pane.
 * [GTK1] New "Hide downloaded files" setting in Search to control display
   of entries that were auto-downloaded already.
 * New "search_hide_downloaded" GUI property.
 * Don't show them auto-downloaded files if they don't want to see them.
 * Plugged the necessary tieing update logic for the update of the three
   new checkboxes.

- (2003.08.04 - Jeroen)
 * 'Banning' of unstable servents and IPs is optional now using the
   node_monitor_unstable_ip and node_monitor_unstable_servents config
   settings which defaults to TRUE. node_monitor_unstable_servents
   won't work when node_monitor_unstable_ip is disabled though.

- (2003.08.04 - RAM)
 * Made a distinction between "connection timeout" and "data timeout" for
   asynchronous HTTP requests.
 * More endianness IP fixes.
 * If we can't connect to a push-proxy, try swapping the IP as a temp hack.
   (legacy servents were sending the IP in little-endian form in GGEP "PUSH".)

- (2003.08.03 - RAM)
 * Only compute the "escaped filename" for downloads once, not at every
   saving of the download queue.
 * Added two new properties: "node_monitor_unstable_ip" and
  "node_monitor_unstable_servents".
 * Forgot one more instance where writing of IP address was incorrect (the
   IP in the GGEP "PUSH" extension).
 * Reverted Christian's optimization of timestamp emitting on log messages:
   now always emit the timestamp on messages, otherwise it is a major pain
   when grepping through logs and trying to correlate events, or simply
   whem montitoring a logfile via "tail -f log | grep pattern".
   [Fixes bug #778183]
 * Fixed query_make_word_vec(), changed by Christian to make the first
   argument a const: it was not filling the vector at all when there was
   only one word in the query.
 * Now tells them exactly why they were denied a Gnet connection.
 * Fixed computation order for bw_max to avoid integer overflow.
 * Added url_params_xxx() routines to get parameters in URL query strings.
 * Added support for the "file=" parameter in push-proxies.
 * Removed all the code that dealt with legacy 0.4 servents.
 * Now that 0.4 support is gone, there cannot be any "ponging" connection.
 * Editing pane for filtering "flags" rules had fixed hardwired values for
   the "Mark only" and "Active" checkboxes instead of the current rule's ones.

- (2003.08.02 - Jeroen)
 * PARQ was banning an IP pernamently instead of max 20 minutes.
 
- (2003.08.02 - RAM)
 * Rolled back invalid change wrt reading/writing of IP addresses from/to Gnet.
 * Added magic number at the head of the cproxy structure.
 * Was writing the IP addess in LIME/22v2 as a 16-bit quantity!

- (2003.08.01 - Jeroen)
 * When an IP got banned by PARQ, it won't be added to the upload
   list anymore

- (2003.07.30 - Jeroen)
 * PARQ will now treat servents which do not honour the Retry-After header
   as hosts which are hammering the connection

- (2003.07.29 - Jeroen)
 * Increased dbg level for ultrapeer client/ip 'banning'

- (2003.07.27 - Jeroen)
 * Downloads through a push proxy should no longer crash gtkg due to 
   download_clone

- (2003.07.22 - Jeroen)
 * Fixed path array in gwebcache.c when in unstable mode.

- (2003.07.21 - guruz)
 * Added giFT vendor code

- (2003.07.20 - Jeroen)
 * Try to avoid to connect to unstable ultrapeer hosts. An ultrapeer
   is marked unstable when we are unable to connect to it for more
   than 2 hours
 * Initial import of tigertree source code.
 
# v 0.92.1c 2003.06.20 [candidate]

These are some of the changes made since 0.92 stable:

 * Support for push proxies was added which reduces problems with
   firewalled servents.
 * Support for pre-0.90 configuration files has been dropped.
 * Improved PARQ and fixed some problems with it.
 * The default directories for downloads are now set to $HOME.
 * A lot of minor bugfixes and code clean-ups so that it compiles on
   even more platforms and with other (C99) compilers.
 * The "Purge" button could be hidden due to long filenames (#770625).
 * A duplicate free() problem was fixed in _search_send_packet() (#706014).
 * The "Purge" button doesn't cause crashes any longer (#757276).
 * The bug which could cause a crash when resuming a download was fixed
   (#739262).

The following changes affect only the GTK+ 2.x front-end:

 * XFT support is not turned off by default.
 * The node and the uploads panel have been tuned (a little).
 * No more crashes if the uploads are sorted by status.
 * Non-UTF-8 encoded strings were passed to GTK+ 2.x causing warnings
   (#769342).

- (2003.07.19 - RAM)
 * Added server-side push-proxy support.
 * New routine base32_encode_str_into().
 * Added optional padding emission to base32_encode().
 * Factorized dl_request handling code into http.c, as http_buffer_t.
 * Fixed pushed download selection on GIV reception to also consider running
   downloads expecting a GIV when no exact fileindex is found.
 * Check for X-Push-Proxies lines in HTTP replies from firewalled hosts.
 * Allow http async users to customize the building of the HTTP request.
 * Now handles partial sending of the HTTP request for async http.
 * Added calls to pproxy_close() and pproxy_timer().
 * Fixed hex2dec() to report -1 on invalid hex char.
 * hex_to_guid() now returns boolean indicating proper decoding.
 * New guid_base32_str() and base32_to_guid() routines.
 * Added node_http_proxies_add() so we can send them our known push-proxies
   when we are firewalled.
 * Added paranoid sanity checks on reception of push-proxy request messages.
 * Added route_proxy_find() so that we can resolve push-proxy HTTP requests.
 * Added two new socket types: SOCK_TYPE_PPROXY and SOCK_TYPE_CPROXY.
 * Redirect incoming HTTP requests to /gnutella or /gnet to push-proxy.
 * Added upload_send_giv() to be able to send a GIV string directly.
 * Allow sending of push-proxy ACK (LIME/22v2) messages now that the
   server-side works and we can act as a push-proxy.
 * Replace all control characters in filename by '_'.
 * Added client-side push proxy support, with GUI feedback.
 * Added node_became_firewalled(), called whenever we are becoming firewalled
   to send push-proxy requests to non-leaf servents that we are connected to.
 * Made "data_ind" callback optional in HTTP aync.
 * Added message argument to the "header_ind" callback in HTTP async.
 * Added new optional callback to monitor HTTP async state changes.
 * Disable redirections by default, unless specified otherwise.
 * Added ip and port to http_async_get(), for when we know them.
 * Added new 'p' or 'P' node flag to indicate either our push-proxy or a
   node for which we are push-proxy, respectively.
 * Disabled broken equlity fix in qrp_step_compute(), pending later fix.
 * Now always send the GGEP "GTKGV1" in query hits, regardless of query sender.
 * Added sending of GGEP "PUSH" in query hits to list our push proxies.

- (2003.07.18 - RAM)
 * Always set QUERY_SPEED_NO_XML since GTKG does not parse XML in query hits.
 * Removed the "[No Push]" indication in download status: was misleading.
 * Added generic header formatting routines: header_fmt_xxx().
 * Rewrote formatted_connection_pongs() to use generic header_fmt_xxx().
 * Added state indication in HTTP async requests, for external monitoring.

- (2003.07.17 - RAM)
 * Reserved bit 10 of "min speed" for out-of-band reply delivery.
 * Added more debugging warning when parsing "ALT" in query hits.
 * Only open "u" in query hits if it looks like a sha1 or a bitprint URN.
 * Renamed alt_locs_t into host_vec_t and gnet_alt_locs_t into gnet_host_vec_t.
 * Added knowledge about the GGEP "PUSH" extension for push-proxy, and created
   new READ_GUINT16_BE() and WRITE_GUINT16_BE() supporting macros, required
   by "PUSH".
 * Changed signature of download_new() and download_auto_new() to include
   the known push proxies.
 * Moved search_gui_got_results() to search_gui_common.c
 * GUI now uses gnet_host_vec_t instead of host_vec_t: no need to make a
   particular data structure.
 * Result set now stores push-proxies given in query hit.
 * Finally, the IP is stored in big-endian within GGEP "PUSH".
 * Added logic for processing LIME/21v2 and LIME/22v2 messages (push proxy
   request and ack, respectively).
 * Heavy callback signature and message building refactoring in vmsg.c.
 * Can now send and receive LIME/21v2 and LIME/22v2.

- (2003.07.17 - Jeroen)
 * Made GtkG compile when xml was disabled

- (2003.07.16 - RAM)
 * Forgot to initialize `len' in dl_req_alloc().
 * Factorized common search GUI code to search_gui_common.c.
 * Moved type-specific GGEP extraction code to new ggep_type.c file.
 * New property "auto_feed_download_mesh", defaulting to TRUE, used to
   control whether we monitor query hits for alt-locs of files we are sharing
   or already have in our mesh.
 * Added read-only support for new GGEP "ALT" extension carrying alt-locs
   in query hit records.
 * Not only refuse to add private IPs in the mesh, also refuse multicast et al.
 * Factorized definition of blank_guid[] into guid.c.
 * Refactored checking of results set: moved file_info_check_results_set() and
   file_info_check_alt_locs() to search.c with proper name change.
 * Added indication of support of GGEP "H" in the "min speed" query field.
 * Will now reply with a GGEP "H" to servents that claim support for it.
 * Upgraded file_info_store() to use common file.c routines for saving.
 * Further factorized code into search_gui_common.c: search saving / restoring.
 * Rename XML searches as .orig before parsing.
 * Switched GGEP "H" support indication from bit 12 to bit 11, since bit 12
   is used for leaf-guided queries.
 * Handle retry-after time on a per-download basis, not only on a per-server
   one because of PARQ: we might need to retry one particular download earlier
   than the others queued on the same server.
 * The download "waiting" list is now sorted by increasing download retry time.
 * Processing of EXT_T_URN_BITPRINT in query hits was incorrect.
 * Added processing for GGEP "u" and "T" extensions in query hits.
 * Will now protect against a query hit record having several SHA1, to avoid
   memory leaks mainly.
 * Make a distinction between re-queuing a download that must not be
   rescheduled before some delay, and re-queuing a download from a host
   that is busy or is timeouting, in which case we want to hold further
   requests to that host.
 * Make sure to space requests to same host by 15 seconds or so.

- (2003.07.15 - Jeroen)
 * Made search_gui.c compilable again when xml was disabled

- (2003.07.15 - RAM)
 * Ran the new "fix_copyright" script to update all copyright notice dates.
 * Removed support for the loading of old (legacy) config files.

- (2003.07.14 - RAM)
 * Handle partial sending of the HTTP request, instead of stopping.
 * Fixed encoding of saved strings [Patch from Stephane Corbe, fixes #747501].

- (2003.07.13 - Jeroen)
 * PARQ won't assert on bad behaving clients anymore

- (2003.07.13 - RAM)
 * Fixed ban_record(): could be using the wrong callout queue callback.
 * Added ban_is_banned() to allow checking for the ban status without calling
   ban_allow() which is only supposed to be called on new connections.
 * When host refuses that we download from it, ban it for some time and kill
   all its pending uploads.
 * Don't send back QUEUE to a host that is banned.
 * Protect against subsequent ban_record() calls: free existing ban mesasge.

- (2003.07.12 - Jeroen)
 * PARQ doesn't like it when gets multiple requests for the same file from the
   same host while it is allready being upload to that host. Duplicate upload
   detection is now done before handing the upload over to PARQ.
 * PARQ now keeps track to an upload structure so it can look up information
   faster, as well as testing parq <-> upload integrity

- (2003.07.09 - Jeroen)
 * PARQ: Uploads->parq pointers were only assigned during parq_upload_create.
         Pointer is now also set when a existing parq upload is rerequested.
         Pointer is removed as soon as PARQ strucuture is freed.

- (2003.07.08 - RAM)
 * Call setlocale() and determine proper codeset [Path from Stephane Corbe].

- (2003.07.07 - Jeroen)
 * PARQ: Uploads contain a pointer to a parq structure now for fast lookups.

- (2003.07.06 - RAM)
 * Broadcast Push messages to all known routes to increase reception likelihood.
 * Double grace period when running in ultra mode: more connections to flush.
 * Added -mieee to the compile flags when building for Debian on Alpha
   [Patch from Christoph Reichenbach on Debian].
 * Raised default gnet connection timeout to 10 seconds.
 * Now fully supports special "min speed" field in queries.  The GUI min speed
   value as well as the default min speed are now ignored and should be removed.
 * We now have the IP address in version checks: log it when bad token is seen.
 * Added string evaluation code, that can evaluate ~/foo and $HOME or ${HOME}.
 * Added new generic prop_name() to convert a property into its name.
 * Property initialization strings are now run through eval_subst() to allow
   environment variables and ~ in their value.
 * Factorized setting callback for file path into one file_path_changed(),
   and added a verification callback for PROP_BAD_FILE_PATH.
 * Simplified debugging code to use new xxx_prop_name() calls.
 * File path properties have their default set to "~" instead of "/tmp".
 * Call locale_to_utf8() on filenames for GTK2 [Patch from Uriel].
 * Also "broadcast" our own Push requests if we have multiple routes.

- (2003.07.05 - RAM)
 * Parse all query hits for inclusion into the download mesh.
 * Don't activate the "no keepalive" flag on downloads if we detect that
   the server is performing some kind of "rotation" in the queue by closing
   our connection after having shrunk our request.
 * Prefix user-agent strings with a '*' when server appears to be banning us.
 * Only use an IP for clock skew computation once per 24 hours.
 * Apply queue regexp search to both download's filename and output filename
   [Patch #754923 from Stephane Corbe].
 * [GTK1] Print message in statusbar showing how many downloads were created
   from the many items selected.
 * Don't use GNU-isms for variadic macros, prefer the ANSI way
   [Patch #755639 from int_80h].
 * Avoid duplicate free in _search_send_packet() when empty word vector
   (fixes #706014).
 * Don't send queries unless there is a route for the possible replies.

- (2003.07.04 - RAM)
 * Added anti-403 "Network Disabled" code.
 * Don't insert alt-locs pointing to hostile IPs in the mesh.
 * Navigation pane updates correctly with 'jump to downloads' (fixes #612799
   and #629299) [From Emile le Vivre].
 * When banning due to vendor user-agent string, record the IP and forcefully
   ban it for 3 hours from then on, to defeat GTKG's own anti-banning code.

- (2003.07.03 - Jeroen)
 * PARQ: Should only actively queue one upload per ip

- (2003.07.01 - RAM)
 * Sort by size, then by SHA1 when sorting by size [From Thomas Schuerger].

- (2003.06.28 - RAM)
 * Added "torrent" to the default list of sharing extensions.

- (2003.06.25 - RAM)
 * Don't pick a suspended download in download_find_waiting_unparq().
 * Asserted that a verifying download must be in DL_LIST_STOPPED.
 * Mark fileinfo database as being dirty when a fileinfo is reset.
 * Code cleanup in parq.c.
 * Send blanked GUID in vendor messages that don't need a particular GUID.

- (2003.06.25 - Jeroen)
 * PARQ: QUEUE callback should now also 'help' activly queued downloads
		 (untested)

- (2003.06.24 - cbiere)
 * [GTK2] Re-worked removing of rows. Due to enabled sorting it seems to be
   possible that a list store contains the same row twice. I consider this
   a GTK+ bug, thus the changes are a bug workaround. The important part is
   setting the data column to NULL to prevent accessing already freed data.

- (2003.06.22 - Jeroen)
 * PARQ: Only sends one QUEUE command per IP at once. And aborts any other
		 pending QUEUE callback for that IP if the first one can't connect

- (2003.06.19 - RAM)
 * Optimized server banning test.
 * Don't send pong-cache pings on a flow-controlled connection.
 * Finished application of Angelo's symlink patch (fixes bug #756146).
 * Restored stripped out gtk_init(&argc, &argv) call (fixes bug #757504).
 * Moved verify_close() and move_close() calls before main_gui_shutdown()
   so that no ticks to the daemon thread be made whilst in shutdown!

- (2003.06.17 - Richard)
 * [Gtk2] No longer disable antialiasing. This confuses people who are 
   using Gtk2 and get font problems. If they want better performance, they
   should turn off AA manually using "export GDK_USE_XFT=0".
   (closes 754998).

- (2003.06.17 - RAM)
 * Now supports collection of multiple URNs from X-Gnutella-Content-URN,
   but still only look at ones containing a SHA1.
 * Use new dmesh_collect_sha1() to collect URNs.
 * Collect URNs from non-standard Shareaza X-Content-URN header.
 * When remote host turns out to be a genuine GTKG, stop anti-banning
   protection by faking a user-agent string, since we know the remote end
   won't be discriminating us.

# v 0.92   2003.06.15  [stable]

- Now supports Ultrapeers, which means GTKG can work as an ultra node or as
  a leaf node.  You can still run as a normal node, although this is not
  something wise to do, because that will likely relagate you in a small part
  of the Gnutella network.
- New icons for showing node state (leaf or ultra mode).
- The GTK2 front-end is no longer experimental, albeit it is slower than
  the GTK1.2 front-end.  This is due to the somewhat inefficient
  implementation of the underlying GTK library.  Don't use GTK2 unless you
  have the equivalent of a 1 GHz Intel chip.
- Added client-side PFSP support (partial file sharing). GTKG can download
  from servers holding partial files.
- Added full PARQ support (Passive / Active Remote Queuing), both for uplaod
  and downloads.
- New Gnet statistics: flow-controlled packets per TTL and hops.
- The "Type" column in the Gnet connection pane was turned into "Flags".
- Added support for GGEP in pings/pongs/pushes: those packets are now
  accepted and forwarded to connections advertising GGEP support.
- New "use surplus bandwidth" setting: all unused bandwidth for Gnet or HTTP
  can be stolen by the other in case it needs some.
- Added count for total bytes uploaded and downloaded.
- Added support for vendor-specific messages.
- New hops-flow support: remote flow-controlled connections can now warn us
  that thye are flow-controlling us, and so we can drop queries immediately
  instead of sending them, saving outgoing bandwidth.
- Will now show the GTKG version in query hits.
- The queue now shows the count of alive downloads, as well as the queue count.
  An "alive" download is an entry for which the remote server replies.
- Changed the connection algorithm: will now attempt to connect to more
  nodes than really configured, dropping the surplus connections later, when
  needed at all.
- Filters out hostile IP addresses.
- New "fileinfo" pane in the download screen.  Not finished, but will show
  the currently registered downloads and their status.
- Domain name resolution for Gnutella web cache are now done asynchronously.
  The GUI will no longer freeze due to a DNS request.
- Some performance improvements: removed the most important bottlenecks.

- (2003.06.14 - RAM)
 * Updated hostiles.txt to follow BearShare's modifications, and sorted it.
 * Forgot to mention PARQ id in header of persisted downloads.
 * Changed tooltip for "listen_port".
 * The new default listening port is now set to 8436 to avoid ISP censorship.
 * Fixed typo appereance -> appearance in GTK2.

- (2003.06.12 - Jeroen)
 * PARQ: Max uploads from single host is also detected and used in PARQ now.
 * PARQ: Timesout small upload chunks sooner now. This should make sure people
         who were unable to have all there upload slots used before, because
	 they were only sharing relative small and popular files, to maximize
	 their bandwith usage again if they want. This shouldn't affect PARQs 
	 behaviour for small files.
	 NOTE: This is:  #if 0 in the parq code, and thus actually disabled.
 * PARQ: No more assertion failure on gtk-gnutella shutdown (I hope)

- (2003.06.10 - RAM)
 * Don't send out an invalid IP/port in the X-Node header.
 * Integrated GTK2 icon patch [From Russell Francis].

- (2003.06.09 - RAM)
 * Raised default amount of downloads from 10 to 50.
 * Doubled max PARQ retry time, and lowered retry frequency for queued entries.
 * Fixed English: SHRINKED -> SHRUNK.
 * Avoid endless request/sinking loops: only allow one sinking per session.
 * Added some extra assertions in PARQ, little cleanup.

- (2003.06.09 - Jeroen)
 * PARQ: PARQ IP entries are now stored using their dotted notation.
 * PARQ: Fixed: Slots by IP didn't work yet
 * PARQ: Also preference by IP and not just by filename only. If client has
		 2 files A (pos 1) and B (pos 66) and it is requesting file B it will
		 still be allowed to upload. file A will have to wait for file B though.

- (2003.06.08 - Jeroen)
 * Prefer compressed connections should now also work in Ultrapeer mode
 * PARQ: Should not block anymore when a queued upload is not allowed to
		 continue due to 'max allowed uploads per ip'

- (2003.06.07 - RAM)
 * Decode base32 case-insensitively.
 * Fixed stupid memory leak: pmsg_free() called in a debug block.

- (2003.06.05 - RAM)
 * Don't parse incoming X-Node headers for PARQ if requestor did not advertise
   support for PARQ, since X-Node is not necessarily PARQ-specific.

- (2003.06.03 - RAM)
 * Append a trailing '-' in the download range size indication when the server
   is answering us with less data than we requested.  The amount shown then
   reflects what the server is giving.
 * Don't store downloads to disk every time we abort/stop one.  This should
   improve speed noticeably when aborting by SHA1 or by server!

- (2003.06.02 - Richard)
 * Applied symlink patch from Angelo Cano

- (2003.06.01 - RAM)
 * Fixed download_clone() to remap the parq ID to the children download.
 * Make sure to revitalize a stopped download upon receiving QUEUE.
 * Removed spurious trailing "\n" in warnings from parq.c.

- (2003.06.01 - Jeroen)
 * Uploads: HEAD requests won't be treated as a followup request anymore (which
            avoids an upload to ignore the max uploads per ip setting)
 * PARQ:    Fixed an assertion failure when an upload got removed due to too many
            disconnections

- (2003.05.29 - RAM)
 * Top makefile did not install "hostiles.txt".
 * Reset counter of QUEUE requests sent when remote servent replies to one.

# v 0.92   2003.05.25  [candidate]

Candidate 0.92 release.  The following are the main changes since 0.92b2:

- PARQ is now fully implemented.
- Filters out hostile IP addresses.
- New icons for showing node state (leaf or ultra mode).
- New "fileinfo" pane in the download screen.  Not finished, but will show
  the currently registered downloads and their status.
- Minor bugs fixed.

WARNING: Leaf node bandwidth is now stolen from HTTP when running in ultra
mode.  If that brings outgoing HTTP bandwidth to 0, sharing is disabled.

- (2003.05.25 - RAM)
 * Miscellaneous cleanup before release of 0.92c.
 * Now trace vendor string in the "Cancelling upload" messages.
 * Mentionned in GUI hints that number of PARQ queue is governed by the
   number of upload slots, and that it should be at least set to 2.
 * Tell them that when host runs NTP, the computed clock skew is ignored.
 * Display lifecount of the fileinfo, not its refcount [From Hans de Graaff].

- (2003.05.25 - Jeroen)
 * When in leaf mode: Prefer compressed connections is honoured again.

- (2003.05.24 - RAM)
 * Also package the pixmaps in the RPM [Patch #635484 from Sam Varshavchik].
 * Don't store download queue at each download inserted [Patch #699251 from
   Paul J. Mantyla].
 * When ignoring a download due to an hostile IP address, make sure we don't
   clear all the downloads for that file: it's just the server that we ignore,
   not the download entry.
 * Remember disabled searches when persisting (fixes bug #625314) [Patch
   #739466 from Stephane Corbe].
 * Increased max HTTP header size on reception to 16K.
 * Cleaned up patch from Stephane Corbe.
 * Added some assertions regarding fileinfo lifecount.
 * Try to report a more specific message to servents mis-handling Retry-After
   whilst passively queued.
 * Include vendor string in PARQ warning messages about early retries.

- (2003.05.24 - Jeroen)
 * PARQ: New ETA calculations. It now takes the current uploads into account too.
 * PARQ: Don't save PARQ entries from which the upload was finished.
 * PARQ: Avoid abusing: re-using the ID for another upload which got finished.
         (a client could keep an upload slot for eternity)
 
- (2003.05.23 - RAM)
 * Fixed punishing of hosts that re-request too early without paying attention
   to the Retry-After header.

- (2003.05.22 - Jeroen)
 * PARQ: A broken/disconnected upload can reclaim its queue position
 * PARQ: Upload pane now shows the Queue the current upload is queued in
 * PARQ: Dynamic upload slots also honours parq now.
 * PARQ: Fixed: No more infinite Waiting uploads.

- (2003.05.20 - Jeroen)
 * PARQ: Fixed: An upload can't get actively queued more than once at a time.

- (2003.05.19 - Jeroen)
 * PARQ: Shouldn't assert anymore when using dynamic slot allocations
 * PARQ: If a client does not obey the Retry-After header it will be
         removed from the PARQ queue.

- (2003.05.19 - RAM)
 * Forgot a "continue" statement in download_remove_file().
 * Likewise, on a file info change, don't requeue actively queued downloads
   or connecting ones.
 * Make sure the message queue kept track of the right amount of items.

- (2003.05.18 - RAM)
 * Added the @INTLLIBS@ macro in the linking flags for I18N
   [From Christian Biere].
 * Reset some fields to NULL in download_remove().
 * Must ignore downloads marked as GTA_DL_REMOVED when iterating on the
   download list.
 * Don't call download_free_removed() from fi_purge().  That call must be
   done asynchronously.
 * Changed status type in uploads to upload_stage_t.
 * Don't send the PARQ ID on 2xx for HEAD replies and follow-up requests.
 * Added extra pre-condition to fi_purge().

- (2003.05.17 - RAM)
 * Doubled half period for remote flow control computations to 5 minutes.
 * Don't requeue actively queued downloads or connecting ones when the
   underlying file is removed.
 * When a download has PARQ information, don't stop it when a write to the
   remote host fails, but requeue it instead.  Those downloads have a chance
   of being resumed.
 * Renamed download_free() into download_remove().
 * Clone lists before iterating in bg_close().
 * Reverted to using casts in clock_update().
 * Made clock_update() ignore the new timestamp if delta is within precision
   (making the ignore interval 2*precision instead of just precision).
 * Increased period for alive pings between ultrapeer and leaf to 120 seconds.
 * Flag when we send a QUEUE, and determine whether they refused our callback.
   After they refused it MAX_QUEUE_REFUSED times, we give up and never send
   them a QUEUE during this session.
 * Added parq_upload_add_header_id() to add an X-Queued header on 2xx replies.
 * Always call parq_upload_remove() from upload_remove().
 * Plugged call to parq_upload_add_header_id() to send queue ID on 2xx replies.
 * Renamed upload_push_conf() as upload_connect_conf().
 * Added call to parq_download_parse_queue_status() even on 2xx replies.
 * Call parq_upload_add_header_id() before upload_http_status() to avoid
   lacking room in the headers if alternate locations are present.
 * Remember when a PARQ id was sent, to avoid sending one back on 2xx replies.
 * Fixed assert failure in ban_force() when only 1 fd is used for banning.

- (2003.05.16 - RAM)
 * Limit clock skew to one day maximum: avoid badly synchronized remote clocks
   to let the skew deviate out of proportions.
 * Avoid issuing a connection to a node we're already connected to
   [From Rafael R. Reilova].
 * GTKG could loop in malloc(): block was freed twice in the case a config
   file was retrieved from the .orig version.
 * Ignore SIGQUIT in the adns process, so that CTRL-\ makes GTKG dump a core.
 * Must call parq_init() before retrieving the downloads now that PARQ IDs
   are stored.

- (2003.05.15 - RAM)
 * Allow server to give a smaller range than the one we're requesting.
 * Reject download when range end is greater than what we asked for.
 * Persist download PARQ ids.
 * Added download_find_waiting_unparq() to elect replacing download on QUEUE.
 * Fixed handling of QUEUE callbacks: was not parsing the ID correctly.
 * When looking up a PARQ download by ID, if we don't find one for the host,
   try to pick any non-PARQ waiting download for that host instead.
 * PARQ ids are now random GUIDs, tagged for GTKG.
 * Don't call file_info_update(DL_CHUNK_EMPTY) to clear the tail of a range.
   The routine is not prepared to handle that case.  As a workaround, 
   call file_info_clear_download() first, then file_info_update(DL_CHUNK_BUSY)
   on the complementary part.
 * New file_config_open_read_norename() to open config files that are never
   written, and which therefore don't need to be renamed as ".orig".
 * Fixed file_config_open_read() so that it displays "instead" when we open
   the ".orig" version.
 * Fixed file_info_update() so that it accepts DL_CHUNK_EMPTY on *whole* ranges.
 * Open hostiles and whitelist with new file_config_open_read_norename().

- (2003.05.15 - Jeroen)
 * PARQ: Don't display status Waiting when there are no upload slots available
 * PARQ: Send a QUEUE command when an upload slot is available
 
- (2003.05.14 - Jeroen)
 * PARQ: Saves and loads the expiration time of a queued upload. This should
         speed up starting uploading on startup.
 * PARQ: Fixed an assertion bug in upload_timer
 
- (2003.05.13 - RAM)
 * Avoid casting to (gint32), and use the "* (gint32*)" dereferencing trick.
 * In the download pane, display ETA for queued entries in a readable way.
 * Forgot to make a variable "static", causing endless promoting and demoting
   to/from ultra mode.
 * Fixed memory leak in sq.c, when query is ignored.

- (2003.05.12 - RAM)
 * Stopped removing half the slot contribution to writing b/w schedulers for
   all the slots that don't trigger.
 * Added missing RCSID to hostiles.c.

- (2003.05.12 - Jeroen)
 * PARQ: Fixed an assertion when connecting back to another IP than the IP
         the upload connected from.

-(2003.05.11 - Richard)
 * [Gtk1] Added clock skew to gui (calculation seems broken).
 * [Gtk1] Added PROP_RUNS_NTP to gui.
 * [Gtk1] Reordered connection settings in gnet pane.
 * [Gtk1] Updated list of contributors in about dialog.
 * Show all connection settings on gnet pane in leaf and ultra mode and hide
   ultrapeer setting in legacy mode.
 * Changed displayed info when failing to load config files.
 * Properly update PROP_CLOCK_SKEW instead of modifying the variable directly.

- (2003.05.11 - RAM)
 * Updated PARQ to revision 1.0.a of the specs.
 * Added flags to record whether a QUEUE is pending.
 * Try sending as many QUEUE messages as possible until we have 100 uploads.
 * Don't expire a PARQ entry if a QUEUE message is pending but was delayed
   because there are too many uploads running.
 * Exported download_redirect_to_server() for PARQ.
 * Send QUEUE messages spaced by at least 10 minutes for a given entry.
 * Give dead downloads a chance to come back to life by sending them QUEUE.

- (2003.05.10 - Jeroen)
 * PARQ: Displays retry time when queue slot is waiting for its upload slot
 * PARQ: Use uploads alive instead of queue size when displaying
         position out of <size>
 * PARQ: Only send QUEUE when library is not being rebuilt
	    
- (2003.05.10 - RAM)
 * Fixed "memory leak" in fileinfo_gui.c.
 * New -DTRACK_ZALLOC compilation switch that will track down the allocation
   points of all the zalloc blocks to display leaks at the end.
 * New properties "host_runs_ntp" and "clock_skew".
 * Will now try to automatically figure out the clock skew relative to GMT.
 * Use the Date: HTTP header as a source for clock skew computation.
 * Use token timestamps as another source for clock skew computation.
 * Trace Ultrapeer selection criteria for debugging.
 * Made sort order in the search pane persistent (fixes bug #557696) [From
   Emile le Vivre].
 * Was not using the forced 95% threshold for flow-control limits in leaf mode.

- (2003.05.09 - RAM)
 * Accidentally inverted condition for hostile checks on pongs: was dropping
   all the non-hostile pongs as being hostile!
 * Integrated PARQ patch #19 [From Jeroen Asselman].
 * Integrated PARQ patch #20 [From Jeroen Asselman].

- (2003.05.08 - RAM)
 * Added monitoring of average outgoing bandwidth.
 * Further tuned the bandwidth scheduler to maximize available bandwidth use.
 * Ultrapeer election now takes into account system params and bandwidth.
 * Don't further limit query propagation to leaves with no pending messages.
 * Integrated hostile IP parsing [From Markus Goetz].
 * Plugged dropping of connections and packets from/to hostile IP addresses.

- (2003.05.07 - Richard)
 * [Gtk1] Added "purge" button to fileinfo pane.
 * [Gtk1] Removed "sources" tab from fileinfo pane. This has not been used yet
   and will not be completed before the next release.
 * Export download_free_removed() so it can be used in fi_purge.
 * [Gtk1] Added tooltips to peermode icons.

- (2003.04.17 - RAM)
 * Integrated PARQ patch #15 [From Jeroen Asselman].
 * List PARQ development explicitly in the AUTHORS file.

- (2003.04.16 - RAM)
 * Added new "configured_peermode" property.  Old "current_peermode" is
   no longer persistent.
 * Leaf node bandwidth is now stolen from HTTP.  If that brings outgoing
   HTTP bandwidth to 0, sharing is disabled.
 * Reordered the computations in bsched.c: resort to early floating point
   division by 1000.0 then to multiplication to avoid overflowing integers.
 * Shut up compiler warning about uninitialized var in adns.c.
 * Removed "force_ultrapeer" and "force_leaf" properties.
 * Addded automatic promotion of leaf to Ultrapeer based on uptime (for now).
 * Don't send non-ultra pongs to leaf nodes.
 * Fixed memory leak in searches: limit MUID list to 4 per search.
 * Throttle leaf node pings to 60 seconds instead of the 3 seconds for others.
 * Adjusted bandwidth scheduler for low-activity sources.
 * Removed unused function on_the_net().
 * When switching to the "auto" configured peermode and there is no connection
   yet, force leaf mode as the current mode.

- (2003.04.13 - RAM)
 * Forgot to update node's timestamp after having sent the Gnutella hello.
 * Added files created by gettext for internationalization (i18n).
 * Integrated i18n patch [From Nicolas Lichtmaier].

- (2003.04.09 - RAM)
 * Be sure to requeue all active downloads that were referencing a file
   we are removing.
 * Make sure we're not over-querying new connections by limiting the amount
   of queries sent to the configured outdegree.
 * Propagate random unsollicited ultra pongs to leaf nodes.

- (2003.04.02 - RAM)
 * Added icon.xpm, the default gtk-gnutella icon for GTK1 [From Michael Gray].
 * Also remove all downloads from host when push route is lost, or when we
   can't reach a host through a direct connection.
 * Fixed icon.c to have it work with GTK 2.0 [From Michael Gray].
 * Avoid setting the IP ToS on a freed socket descriptor.

- (2003.03.31 - RAM)
 * Optimized sha1_eq() and guid_eq() when pointers are identical.
 * Added Retry-After header in parq_upload_add_header().
 * Be more stringent when generating the QRP table: no more than 1% full.
 * Integrated PARQ patch #14 [From Jeroen Asselman].
 * Integrated IP TOS patch [From Mike Mestnik].

- (2003.03.29 - Richard)
 * downloads.c:
   - Added some skeletons for having events on the downloads (sources).
   - Added handles to downloads.
 * downloads.c,downloads_cb.c,settings_gui.c:
   - download_clear_stopped can clear failed and/or completed downloads.
 * event.h: 
   - Typedefed frequency_t and event_t.
 * fileinfo.c: 
   - Put events into an array instead of keeping several event_t variables.
   - Removed event specific add/remove listeners functions and added 
     general fi_add/remove_listener() function. Event types are defined
     in gnet.h.
 * fileinfo_gui.c:
   - Correctly show when a file is finished.
   - Use generalized fi_add/remove_listener().
 * gnet.h: 
   - Added basic support for download/source related events.
   - Added event type enumeration for download/source related events.
   - Added event type enumeration for fileinfo related events.
 * oldconfig.c: 
   - Mapped old "clear_downloads" configuration variable to both new 
     PROP_AUTOCLEAR_*_DOWNLOADS properties.
 * settings_gui.c:
   - Fixed connection odometer in NODE_P_LEAF.
 * gnet properties:
   - Added PROP_AUTOCLEAR_COMPLETED_DOWNLOADS.
   - Added PROP_AUTOCLEAR_FAILED_DOWNLOADS.
   - Removed PROP_AUTOCLEAR_DOWNLOADS.
 * gui properties:
   - Added PROP_SHOW_DL_SETTINGS.
 * [Gtk1] gui modifications:
   - Download settings on download pane hidable.
   - Added detail panel to fileinfo pane.

- (2003.03.28 - RAM)
 * Integrated PARQ patch #13 [From Jeroen Asselman].
 * Abort all downloads from a host to which we can't connect.

- (2003.03.27 - RAM)
 * Added inclusion of <sys/time.h> before <sys/resource.h> for FreeBSD.
 * Added handle_to_queued() to verify the PARQ_UL_MAGIC magic whilst casting.

- (2003.03.26 - RAM)
 * Split parq_upload_request() into two to avoid assertion failures.
 * New parq_upload_get() call to return an opaque PARQ slot for uploads.
 * Moved down inclusion of "gnutella.h" to avoid warnings on MIN/MAX redefine.
 * Integrated PARQ patch #12 [From Jeroen Asselman].
 * Fixed function declarations to avoid compiler warnings in downloads.c.

- (2003.03.25 - RAM)
 * Fixed stupid trailing char truncation when quoting download mesh URLs.
 * Integrated icon patch #2 [From Michael Gray].
 * Added Jeroen Asselman to the glade file in the authors list.
 * Integrated PARQ patch #10 [From Jeroen Asselman].

- (2003.03.23 - Richard)
 * Regenerated configure and friends.
 * Fixed max-nodes calculation in the connection-odometer.
 * Missing ";" in misc.h broke compilation when HAVE_STRLCPY was not set.
 * Added means to fetch aliases of a file from fileinfo database.
 * Show aliases in fileinfo screen.
 * Added link between fileinfo and associated downloads (fi->dl).

- (2003.03.16 - RAM)
 * Regenerated configure and friends.
 * Integrated icon patch from Mike Gray.
 * Suppress error message from DNS helper upon final exit.
 * Make sure we don't try to parse ranges if the file size is zero bytes.
 * In leaf mode, allow flow control from ultrapeer up to 95% of the time.
 * Fixed flags display for nodes: was no longer showing 'I' or 'O'.
 * Adjusted bandwidth scheduler to limit starvation effects when we have
   a large amount of entries.

- (2003.03.11 - Richard)
 * Added possibility to tap into the fileinfo database from the gui.
 * [Gtk1] Added file info table to the downloads pane. This is not finished, 
   but already helpful.
 * Added download_restore_state() (seperated out from download_init())
 * Changed init sequence: first init gui, then read back downloads+fileinfo
 * Changed shutdown: first close downloads, then gui, then fileinfo
 * Introduced file_info_ref() and file_info_unref() to make it possible to
   watch for changes here and notify the gui.
 * Fixed: PROP_BAN_MAX_FDS not updated in gui

- (2003.03.09 - RAM)
 * Change web cache when an ERROR (HTTP or web cache) is reported.

- (2003.03.06 - Richard)
 * Fixed odometers (were all showing "in")
 * [Gtk1] Added odometers for leaf traffic
 * [Gtk1] Added 3 new icons to the gui
 * Fixed connections odometer for the different peermodes
 * Converted the *_LE and *_BE macros to glib style using G_STMT_START and
   G_STMT_END
 * Moved some gui code from downloads.c to downloads_gui.c

# v 0.92   2003.03.04  [beta2]

Bugfixing release:

- Fixed Gnutella web cache hammering.  A buggy test caused GTKG to query
  the caches each time it was establishing an outgoing connection!
- Domain name resolution for Gnutella web cache are now done asynchronously.
  The GUI will no longer freeze due to a DNS request.
- Some performance improvements: removed the most important bottlenecks.
- Fixed flow-control bug, exercised mainly with compressed connections: they
  could stall abruptly, no longer transmitting data.
- Fixed assertion failure in PARQ client code.
- Fixed incomplete clearing of downloads from a given host.

- (2003.03.04 - RAM)
 * Ban 0.92b as an hostile servent, due to its GWC hammering.
 * Only emit the exec() argument size warning if lib_debug.
 * Fixed version_tagcmp(): was not anti-symetric for 'b' and 'u'.

- (2003.03.03 - RAM)
 * Optimized guid_eq() and sha1_eq() to not call memcmp().
 * Rewrote the callout queue to have a more efficient ev_link() routine, the
   drawback being a slightly more costly cq_clock() call.
 * Fixed GWC hammering bug.
 * Avoid using / and % in macros from idtable.c.
 * Removed spurious trailing "\n" in some warnings.

- (2003.03.02 - cbiere)
 * [GTK2] gtk2-gnutella.glade:
    Added spinbutton_config_track_props (sync with GTK1)
    main_window_config_sel_tab: center contents
 * oldconfig.c/config_set_param(): Translate proxy_connections to
    proxy_protocol=PROXY_NONE from old config files
 * sockets.c/socket_connect_prepare():
    Moved ip parameter to socket_connect_finalize()
 * sockets.c/socket_connect_finalize():
    Fixed typo: addr <-> lcladdr
    Added another memset() to clear lcladdr
    Don't call socket_destroy() if the function was called from the
    ADNS callback which would cause a second socket_destroy() later
 * sockets.c/socket_connect_by_name_helper():
    Don't call socket_destroy() but set SOCK_ADNS_FAILED in case of an error
 * sockets.c/socket_connect_by_name():
    If the callback for adns_resolve was already invoked, check the status
    and call socket_destroy() in case of an error
 * sockets.h/struct gnutella_socket:
    Replaced `gboolean adns_pending' with `gint adns' as status variable
    Added `adns_msg' which should point to a static error message when
    SOCK_ADNS_FAILED is set, points to NULL otherwise
 * Removed all GDK legacy from core i.e., s/GDK_INPUT/INPUT_EVENT/ and
    no #include <gdk/gdk.h> any longer
 * Applied patch by Murphy <juncus@telus.net> which fixes typos in tooltips
 * nodes_cb(2).c: Added add_node_helper() for proper type translation
 * adns.c:
    Use adns_callback_t instead of a lazy gpointer
    Revised client-side to use non-blocking pipes which prevents
    deadlocks, allows partial transfers and to handle filled
    pipe buffers
 * adns.c/adns_resolve(): Returns FALSE if the resolution happened
    synchronous, otherwise returns TRUE.

- (2003.03.01 - RAM)
 * Show that we sent crawler info when remote disconnects after our reply.
 * Fixed assertion failure when parsing PARQ replies.
 * Added gm_setproctitle().
 * The ADNS subprocess will now be identified by "ps" as the "DNS helper".
 * Changed socket_timer() to avoid removing entries whilst iterating on list.
 * Special case the insertion to an empty array in qlink_insert().
 * Avoid uninitialized memory reads by bind(): zero the addr structs.
 * Forgot to free the list in socket_timer().

- (2003.02.28 - RAM)
 * The `dl_by_time' list was split into a hashed array, to cut down the number
   of item comparisons we do when inserting, at the cost of more work when
   traversing the list.
 * Optimized filter_apply() by pre-computing the length of the matching text
   at filter "compilation" time, to avoid endless strlen() calls.
 * Optimized search_has_muid(): sent MUIDs are now stored in a hash table.
 * Turned old g_return_if_fail() from legacy code into a g_assert() (tx_link.c).
 * Added some debugging traces whilst chasing the "connection freeze" problem
   (tx_deflate.c).
 * Fixed mq_service(): need to saturate the lower layer whilst running, lest
   we run the risk of never being called again when the lower layer has
   finished flushing its data => the TX side freezes.

- (2003.02.27 - RAM)
 * Optimized message queue to avoid huge CPU utilization during flow-control.
 * Optimized mq_service() to avoid useless I/O vector building.
 * Don't encode '/' in the query portion of URLs.

- (2003.02.27 - Richard)
 * event.[ch]: Added as a replacement for listener.h. For now it's used only
   in the property system. The bonus over listener.h: control of callback 
   frequency on a per-listener base.
 * Added seperate property to control debug level of the property system.
 * props.tpl: Upgraded to use event.[ch], regenerated property sources.
 * prop.[ch]: 
   - Upgraded to use event.[ch]
   - Added prop_get_by_name(): look up a property by name.
   - Added prop_to_string(): converting a property to string reprsenentation, 
     doesn't work for all property types yet.
 * settings_gui.c: Upgraded property_map to make use of the new frequency
   control feature of prop.[ch]
 * shell.c: 
   - No longer show auth cookie in debug output
   - New command: "PRINT [property]" to display current value of a property

- (2003.02.25 - RAM)
 * Added CRC32 code.
 * Fixed the base32/base64 code to correctly process padding, and return the
   amount of decoded bytes, padding not included.
 * Some servents send X-Try headers at every handshaking step, so process them.
 * Added token level.
 * Restored old ban_vendor() signature.

- (2003.02.23 - cbiere)
 * adns_do_transfer(): forgot to rename write to do_write
 * adns_gethostbyname(): use host_to_ip() instead of gethostbyname()
 * adns_callback(): remove the callback manually because the relay in
        inputevt.c doesn't propagate the return value;
    close() pipe if adns_do_read() fails
 * adns_init(): close() stdin and wire the file descriptor to /dev/null,
        just in case because it's shared with the main process;
    use _exit() instead of exit();
    close() all opened file descriptors in case fork() fails
 * adns_resolve(): close() pipe if adns_do_write() fails and don't retry
 * main(): ignore SIGINT and SIGPIPE before adns_init();
    use sig_ignore also for SIGXFSZ
 * host_to_ip(): declare hostname as const
 * upload_write(): Hide variable "pos" if HAVE_SENDFILE is undefined
 * adns.c:
        * Added caching; caching happens server-side, if the server dies
        * caching will be started client-side;
        * Fixed typo (children -> child);
        * Debug warnings depend on dbg > 1 or dbg > 2, now;
        * Declared larger variables as static;
        * adns_resolve(): usage of fallback is only reported once
 * [GTK2] locale_to_utf8: moved function from misc.[ch] to utf8.[ch]

- (2003.02.23 - RAM)
 * Forgot to negate the return of version_check().
 * Partially validate version whose token is given.
 * Avoid always polling at the minimum specified by the download server.
 * Applied Christian's patch fixing the type of gtk_tag and inputevt_add().
 * Forgot to use network order when writing token's timestamp.

- (2003.02.22 - guruz)
 * Added MLDonkey vendor code (MLDK)

- (2003.02.22 - cbiere)
 * The user_callback (parameter for adns_resolve()) was called twice if
   the hostname was an IP string; this caused s->gdk_tag != 0 in
   socket_connect_finalize() because it was called twice due to this bug.

- (2003.02.21 - cbiere)
 * Added socket_connect_prepare() to reduce double code
 * Added adns_pending to which indicates whether the adns callback has been
   invoked
 * Added socket type SOCK_TYPE_DESTROYING which is used free the socket after
   the adns callback has been invoked; prevents accessing already free()d
   memory.
 * Replaced assertion in socket_connect_finalize() because an event handler
   might have been installed while resolving the hostname; this is only a
   temporarily work around and not a solution!

- (2003.02.21 - RAM)
 * Integrated Christian Biere's ADNS patch (fixes bug #662916).
 * Now uses G_N_ELEMENTS() to determine the amount of items in array.
 * Added version tokens.

- (2003.02.17 - RAM)
 * Would not remove all the downloads from a given host sometimes.

- (2003.02.15 - RAM)
 * Associate download with move context early in case we cannot create the
   file on the filesystem: d_end() processing must still be able to run.

- (2003.02.11 - RAM)
 * Forgot to add the "sinking" state to the ESTABLISHING macro.
 * Don't lead them to the leaf status if we can't accept leaves.

# v 0.92   2003.02.08  [beta]

Highlight of changes (user-visible):

- Now supports Ultrapeers, which means GTKG can work as an ultra node or as
  a leaf node.  You can still run as a normal node, although this is not
  something wise to do, because that will likely relagate you in a small part
  of the Gnutella network.
- The GTK2 front-end is no longer experimental, albeit it is slower than
  the GTK1.2 front-end.  This is due to the somewhat inefficient
  implementation of the underlying GTK library.  Don't use GTK2 unless you
  have the equivalent of a 1 GHz Intel chip.
- Added client-side PFSP support (partial file sharing). GTKG can download
  from servers holding partial files.
- Added client-side PARQ support (Passive / Active Remote Queuing).  GTKG
  can now queue downloads from either active-queuing servers or PARQ.
- New Gnet statistics: flow-controlled packets per TTL and hops.
- The "Type" column in the Gnet connection pane was turned into "Flags".
- Added support for GGEP in pings/pongs/pushes: those packets are now
  accepted and forwarded to connections advertising GGEP support.
- New "use surplus bandwidth" setting: all unused bandwidth for Gnet or HTTP
  can be stolen by the other in case it needs some.
- Added count for total bytes uploaded and downloaded.
- Added support for vendor-specific messages.
- The "prefer compressed connections" settings no longer works as expected
  when running in non-normal mode.
- New hops-flow support: remote flow-controlled connections can now warn us
  that thye are flow-controlling us, and so we can drop queries immediately
  instead of sending them, saving outgoing bandwidth.
- Will now show the GTKG version in query hits.
- The queue now shows the count of alive downloads, as well as the queue count.
  An "alive" download is an entry for which the remote server replies.
- Changed the connection algorithm: will now attempt to connect to more
  nodes than really configured, dropping the surplus connections later, when
  needed at all.

WARNING:

- The amount of bandwidth configured for leaves is currently automatically
  added to the HTTP connections when not in leaf mode, regardless of whether
  "use surplus bandwidth" is activated.  This will change in the release.

- (2003.02.08 - RAM)
 * Fixed memory leak in gwcache.c.
 * Refactored upload_stats_dump_history(), and added upload_stats_close().
   Cleanup and dumping are now clearly separated.
 * Suppressed settings_upload_stats_save(): there is no an explicit call
   to upload_stats_close() done at exit time.
 * Be sure to call bsched_set_peermode() each time a bandwidth value is changed
   so that we can adjust the schedulers according to the current mode.
 * New FALSE default for the "fuzzy_filter_dmesh" property.
 * When downgrading from ultra to leaf mode due to peer request, be sure to
   use the property system to change the "current_peermode" property, instead
   of writing directly to the variable!
 * Make sure we react to the peermode change asynchronously.

- (2003.02.07 - RAM)
 * Fixed memory leaks in dmesh.c, fileinfo.c, qrp.c.
 * Allow user to abort actively-queued downloads.
 * Added upload_stats_free_all() to clean up memory on exit.
 * Fixed reading of free'd memory in mq.c.

- (2003.02.06 - RAM)
 * Had mistakenly added the "sinking" state to DOWNLOAD_IS_ACTIVE().
 * Prefix all warnings with a timestamp [From Christian Biere].

- (2003.02.05 - RAM)
 * Fixed dmesh fuzzy matching memory corruption.
 * Send PUSH messages at max TTL value, not my TTL in case it needs re-routing.
 * Added missing memory cleanup to shutdown calls, preventing leak detection.

- (2003.02.04 - RAM)
 * Abort download if handed out an URL that is too large (probably garbage).
 * Integrated fuzzy dmesh filtering for non-N2R entries [From Alex Bennee].
 * Shortened the string displayed for queued download entries.
 * New properties "pfsp_server", "pfsp_first_chunk" for PFSP (unused for now).
 * New property "fuzzy_filter_dmesh" to toggle fuzzy dmesh filtering.
 * Give unused reserved bandwidth for leaf nodes to HTTP traffic.
 * Integrated fix in get_header_value() [From Jeroen Asselman].

- (2003.02.03 - RAM)
 * Added inclusion of "common.h" for FreeBSD 4.7 (utf8.c).
 * Integrated PARQ patch: client-side is fully supported [From Jeroen Asselman].
 * Raised minimal query routing table size to 128 K slots, and lowered the
   sparseness and conflict ratios to check whether we can double the routing
   table size.

- (2003.02.02 - RAM)
 * No longer free remaining atoms in atom_warn_free(), for leak detectors.
 * When seeking to get the fileinfo trailer, don't use SEEK_END with a
   negative offset, but use SEEK_SET with an explicit positive value to
   avoid problems when off_t is 8-byte wide [From Christian Biere].
 * When doing SEEK_SET, check that lseek() returns the right offset.
 * Be sure to not truncate the headers for crawler replies in the middle
   of an IP address [From Christian Biere].
 * Fixed final cleanup in pcache.c to also discard the recent pong cache.
 * Changed freeing order for the existing query table when a RESET is received.
 * Protect against broken servents that don't send us QRP patches covering
   the whole query table.
 * Fixed memory leak on the query sending path in ultra mode.
 * Made sure `n' is no greater than INT_MAX for gm_*snprintf() calls.
 * Don't forget to reset str[0] to NUL in case we have to strlen(str) within
   the gm_*snprintf() calls.
 * First experimental support for PARQ (active queuing only, client-side)
   [From Jeroen Asselman].
 * Fixed parq_download_add_header(): now gets length of buffer explicitly.
 * Fixed status display for remotely queued entries.
 * Fixed get_header_value() to look for a ',' separator as well.

- (2003.02.01 - RAM)
 * Limit lifetime of download mesh entries to 1 day.
 * Added pre-condition to file_info_find_hole(): no busy chunks for download.
 * Forbid outgoing connections to a Gnutella crawler.
 * Apply vendor-specific banning early, so banned people know about it even
   if we're otherwise busy.
 * Limit the headers sent back to crawlers to the strict minimum.
 * Replaced all broken g_snprintf() and g_vsnprintf() calls by calls to
   fixed gm_snprintf() and gm_vsnprintf().  Broken calls are now forbidden.
 * configure now looks for vsnprintf() and defines HAVE_VSNPRINTF.

- (2003.02.01 - Richard)
 * [Gtk2] Reduced padding on uptime
 * [Gtk2] Added "edit filters" button back to search pane
 * Integrated patch by ko <junkpile@free.fr>:
   - shell.c: Remove unnecessary (GdkInputCondition cast)
   - gtk-missing.c: Optimize clist collect_data
   - gtk-missing.c: added tree_selection_collect_data
   - moved/renamed filter rule adding convenience functions from
     search_cb.c and search_cb2.c to filter.c
   - moved/renamed add_targetted_search from search_cb.c and search_cb2.c to
     gui.c
   - moved/renamed record comparing functions from search_cb.c and
     search_cb2.c to gui.c
 * Integrated patch by T'aZ <tazdev@altern.org>
   - search_cb.c, search_cb2.c: show "none auto selected" in the status bar 
     when no additional results were autoselected
     
- (2003.01.30 - RAM)
 * Immediately reset the qrt_ fields and query_table to NULL after having
   freed those items, to prevent accidental reuse.
 * Forgot to remove QRT patch compression task from the list of running tasks
   upon a cancel.
 * Clone directory list before traversing it with recurse_scan() since we
   loop back to the GUI and the directory list could be changed whilst the
   scanning is proceeding.
 * Suppressed warning about handle_messages_supported() not being done.
 * Removed spurious assert() in qrt_patch_computed_add_listener().
 * Added support for LimeWire's crawler.

- (2003.01.29 - RAM)
 * If downloaded filename is empty, use "noname" as the filename.
 * Forgot to test for swapped ranges in the trailing range listed.
 * Fixed bug when cancelling QRT computation due to rescanning.
 * Fixed another bug when cancelling QRT computation due to rescanning.
 * Tell whether we're an ultranode or not on handshaking errors.

- (2003.01.27 - RAM)
 * Will now show when a download is from a partial file, and how much of
   the total file the remote server has.
 * New http_range_size() routine.
 * Now makes sure ranges are well-specified before calling http_range_add().
 * Also detect overlapping with next range in list during http_range_add().
 * Changed detection place of so-called "gnutella2": will now abort earlier,
   without giving the chance for the remote ultranode to become a leaf.
 * Dynamic upload slot computation was not co-existing peacefully with
   the ability to steal bandwidth: now compare both instantaneous and average
   to the min usage percentage.
 * Handle only the very first range in upload requests, instead of replying 500.

- (2003.01.26 - RAM)
 * Added glib-missing routines.
 * New HTTP range parsing routines.
 * Range requests now handled through new HTTP parsing routines.
 * Don't add words less than QRP_MIN_WORD_LENGTH chars to the QRP vector.
 * Fixed RX flow-control ratio computation.
 * Don't accept nodes claiming so-called "gnutella2" support as peers.
 * Added support for client-side PFSP (Partial File Sharing Protocol).
 * New download state "sinking" when slurping HTTP reply between requests.

- (2003.01.24 - RAM)
 * Reworked the bandwidth stealing algorithm to behave less aggressively when
   the kernel flow-controls us on the way out.
 * Do not send out duplicate addresses in X-Try* headers.
 * Fixed `elapsed' to be a time_t instead of a guint32 (http.c).

- (2003.01.19 - RAM)
 * Must not free word vector if it was not allocated (matching.c).
 * Update node flags after the first handshake reply.
 * Only send about 50% of queries to flow-controlled leaf nodes.
 * Understand specially marked speed in queries, but do not emit them yet.
 * Warn users running an unstable version after 60 days, ban them after 90.
 * Was not emitting X-Try-Ultrapeers correctly.
 * New flag 'd' shown instead of 'F' when the queue is non-empty, to indicate
   that there is some delay in the packets sent.
 * Based on my experiments about the necessary bandwidth to run an Ultrapeer,
   changed the default amount of leaves to 15 and the minimum to 5.
 * Display max amount of leaves/ultra/nodes when rejecting connections.
 * Added necessary callback from mq.c to warn when queue count changes, so
   we can update the node's flag immediately.
 * Was not parsing version tag properly, and therefore started to ban recent
   stable GTKG versions.
 * Do not trigger "activity timeout" for leaf nodes.

- (2003.01.18 - RAM)
 * Added new properties: "bw_gnet_leaf_in_enabled", "bw_gnet_leaf_out_enabled",
   "bw_gnet_lin" and "bw_gnet_lout" to control leaf node bandwidth.
   Those are special: values configured are automatically added to Gnet
   bandwidth when not in ultra mode, regardless of whether the shaper is
   enabled.
 * Set decent default Gnutella bandwidths.
 * Added leaf bandwidth scheduler, that can steal bandwidth out of Gnet only.
 * Reordered creation of TX and RX stack so that the peermode is known.
 * Can now properly switch between all three modes (normal, leaf, ultra).
 * Upon mode change, reshape the Gnet bandwidth (leaf versus regular).
 * Added support for QRP infinity 1 to not rule out Shareaza.
 * Have the TX and RX link layers write/read using proper bandwidth scheduler.
 * Had inverted proportional bandwidth repartition computations.
 * Adjusted the bandwidth scheduling algorithm to behave a little better
   in the advent we lack bandwidth and lots of stealing occurs accross shapers.
 * No longer kills a connection when the send queue becomes full, unless
   the message was a prioritary one.
 * RX and TX stacks now provides access to the underlying link-level I/O source.
 * GUI now displays the node TX / RX speeds in k/s.
 * Leaf nodes have their send buffer shrank to as low as 256 bytes.
 * Doubled the time between two alive pings.
 * Don't route the query if the hashing vector is empty.
 * Don't send queries from the search queue on flow-controlled connections.

- (2003.01.18 - Richard)
 * [Gtk1] Added following props to gui:
   - PROP_SEARCH_MAX_RESULTS (search pane settings)
   - PROP_NODE_RX_FLOWC_RATIO (gnet config quality management)
   - PROP_NORMAL_CONNECTION (gnet config)

- (2003.01.17 - RAM)
 * Added routing of queries based on QRT.
 * Don't even try to insert in the search queue if hops-flow is set to 0.
 * Don't put leaf node's address in the hostcache for crawler pings.
 * Added highest_bit_set() routine.
 * Lowered the minimum amount of leaves from 50 to 25.
 * Refactored management of connections to be more aggressive when we
   lack nodes and avoid turning incoming connections down too early
   (closes 607268).
 * Don't ping leaf nodes to get pongs from them.
 * Avoid routing back a leaf node query to its sender.
 * Forgot to free word vector built for query routing purposes.
 * Fixed URL unescaping when given a truncated trailing escape sequence.

- (2003.01.14 - RAM)
 * New drop reason "Unexpected message".
 * New QRP Flag 'p' indicates ultrapeer receiving routing patch.
 * Fixed wrong QRP patch computation for leaf nodes.
 * Finalized reception of QRP patches and application to routing table.
 * Warn when receiving unknown vendor message, in debug mode.
 * Added QRP to the list of messages we "route", for routing tracing.
 * Do not drop routed TTL=0 messages whose target is a leaf node.
 * Drop leaf nodes that route messages.

- (2003.01.13 - cbiere)
 * [Gtk2] Set encoding for GIOChannels to NULL which is safe to use with 
   binary data

- (2003.01.12 - RAM)
 * Quote mesh URLs that contain the ',' character so other servents are
   not confused (GTKG does not need this).
 * Fixed skipping of trailing quote in URL parsing [From Alex Bennee].
 * New properties "normal_connections", "node_leaf_count", "node_normal_count"
   and "node_ultra_count".
 * The leaf node mode is no longer experimental, but Ultrapeer mode is.
 * Added Ultrapeer negotiation management (inter-ultra nodes and ultra / leaf).
 * Is now lenient about TTL=0 messages sent from ultrapeer to leaf.
 * Will ban ancient versions after 1 year only, instead of 1.5 years.
 * First take at QRP reception message management (partially done).

- (2003.01.11 - cbiere)
 * Fixed wrong date for ChangeLog
 * Tried to pop non-existent message from statusbar
 * [Gtk2] New locale_to_utf8: non-convertible characters are replaced by an
   underscore ('_')
 * [Gtk2] Downloads: Reenabled multi-selection
 * [Gtk2] Gnet stats: Save and restore column widths; use pretty alignments
 * [Gtk2] Nodes: Save and restore column widths
 * [Gtk2] Search results: Stop autoselecting during shutdown phase;
   Added status column; Sync column widths (still buggy but harmless);
   Use highlighting;
 * [Gtk2] Upload stats: Use custom CellDataFunc instead of invisible columns;
   prepared save/restore for column widths (not complete yet)

- (2003.01.11 - RAM)
 * New property "node_rx_flowc_ratio".
 * Make sure we're not remotely flow-controlled too often.
 * Replaced magical "7" with the new GTA_NORMAL_TTL constant.
 * New property "dl_qalive_count".
 * Downloads now update the "dl_qalive_count" to reflect the amount of
   sources that still reply to our requests.

- (2003.01.10 - RAM)
 * Was reading '*p' but could peruse 'c' instead (dmesh.c).
 * Generalized the use of walloc/wfree for small structures.
 * Try to allocate chunks of 4K at most for walloc(), or 8 objects at least.
 * Created new GTKG-specific GGEP extension "GTKGV1" to propagate version
   information and servent startup time in query hits.
 * Added inet_init() to ensure we have the no-connection timer set if we
   startup in non-firewalled mode.
 * Will now emit "GTKGV1" extensions in query hits when replying to a GTKG
   query, and display version information in search pane.
 * Exported version_str() for version string formatting.
 * Be sure to not call inet_firewalled() on first listening port change,
   i.e. when we read back the configuration file, or the persisted
   "is_firewalled" property will be ignored!

- (2003.01.08 - RAM)
 * Forgot to check for alternate locations on 503 replies.
 * Also compare SHA1 of requested files when checking for upload duplicates.

- (2003.01.05 - cbiere)
 * [Gtk2] gnutellaNet: Nodes can be removed manually    
 * [Gtk2] Enable proper sorting of upload stats by size and normalized
 * [Gtk2] reenabled "clear" buttons for caches
 * [Gtk2] Revisited code; removed unnecessary functions in search_{cb,gui}2.c
 * [Gtk2] removed unused variable 'error' in monitor_gui2.c
 * [Gtk2] locale_to_utf8: extended error message
 * Include version.h for version_is_too_old() in ban.c

- (2003.01.04 - RAM)
 * Had forgotten that we must "goto next" instead of "continue" in
   the URL parsing loop from dmesh_collect_locations().
 * Added argument to download_remove_file(), so that we can reset the fileinfo
   of manually removed files, in order to not discard the entry at the
   next startup.
 * Fixed hops-flow handling in mq_service(): was generating bad iovec entries
   for dropped messages!
 * Don't need to send the "Connect Back" message as a control message.
 * Seeing a vendor-specific message sets the NODE_A_CAN_VENDOR attribute as
   if we had seen a Vendor-Message header.
 * Drop ping/pongs/pushes that are smaller than their normal size.
 * Added support for initial advertising of supported vendor messages.
 * Count unhandled vendor-specific messages as being of an "unknown type".
 * Was wrongly putting a trailing 's' to the Vendor-Message header.

- (2003.01.03 - RAM)
 * Added support for vendor-specific messages.
 * Ban ancient-enough versions of GTKG.
 * Ignore leading/trailing quotes in "quoted" URLs from Alternate-Location.
 * Keep track of IDs from unknown GGEP extensions we see.
 * New miscellaneous routing hex_escape().
 * Now supports the "Hops Flow" vendor-specific message (BEAR/4v1).
 * New version_is_too_old() routine.
 * Exported vendor_code_cmp() and added vendor_code_str().
 * Make sure there is a private extension in the query hit before calling
   ext_parse() on it.
 * New Gnutella node flag 'h' or 'f' to indicate hops-flow or flow-control
   on the receiving side (hops flow message sent to remote node so that it
   limits the traffic sent to us).
 * Added pre-condition to gmsg_check_ggep().
 * Sockets now allocated via walloc0() instead of g_malloc0().
 * Implemented the "Connect Back" vendor-specific message (BEAR/7v1).

- (2003.01.03 - cbiere)
 * [Gtk2] Added multichoice for toolbar style
 * [Gtk2] Added property for collapsed/expanded status of nodes in tree menu
 * [Gtk2] Added multichoice for toolbar style
 * [Gtk2] Several syncs with Gtk1 version
 * [Gtk2] Moved "Freeze queue" button from toolbar to download pane
 * Gtk2 version isn't marked as experimental any more
 * Added check for 192.0.2/24 TEST-NET [RFC 3330] to host_is_valid()

- (2003.01.02 - Richard)
 * Added GtkHBox around child where GtkViewports are used.
 * Added new props to gui ("dl_queue_count", "dl_running_count", 
   "dl_byte_count" and "ul_byte_count")
 * Fixed percentage toggle for "drop reasons" table in gnet stats  

- (2003.01.02 - RAM)
 * New properties: "dl_queue_count", "dl_running_count", "dl_byte_count"
   and "ul_byte_count".
 * Maintains two new property counters: amount of running downloads and amount
   of queued downloads.
 * Now counts total useful bytes uploaded.
 * Now counts total useful bytes downloaded.
 * Added error reporting for failed download mesh URL parsing.
 * Added error reporting for failed HTTP URL parsing.
 * Added Shinobu (SHNB) vendor code.
 * Fixed "was a duplicate" computation, which falsely reported duplicates
   with oneself!
 * Was not filling the ultra cache correctly upon startup.

- (2003.01.02 - cbiere)
 * Bugfix: Wrote into stats array out of bounds (gnet_stats.c)

- (2003.01.02 - Richard)
 * Added UP host catcher to gnet panel
 * Redesigned a few config panels
 * Added "ko" to contibutors
 * Added information about the OS to the about dialog
 * Added hidden RCSID label to the gui (about dialog)

- (2003.01.01 - RAM)
 * Removed the G_INLINE_FUNC attribute in node_add_tx() and friends, as
   it no longer links properly.
 * Template props.tpl was not defining the default value correctly for
   the new "multichoice" type, resulting in badly initialized properties
   whereby the default of the previous property was used.
 * Replaced an "inline" directive in nodes.h with G_INLINE_FUNC.
 * Added a wrapper on top of the qrp_patch_compress() user-defined callback to
   cleanly remove the task from the list where we put it at creation time.
 * Added tracing of extensions for big pings/pongs/pushes.
 * Validate all the /uri-res/N2R?urn:sha1 alternate locations we might get.
 * Whenever we can do a successful /uri-res/N2R? request, force the download
   to always request that URL from the server to avoid problems in case the
   library is reshuffled remotely (for non-GTKG servents).  This also forces
   the /uri-res/N2R? URL into the download mesh.
 * Fixed logic bug in upload code for checking that followup requests still
   refer to the same source.
 * Check for duplicate download in new download_convert_to_urires().
 * In leaf node mode, ignore the "hops_random_factor" property.

- (2003.01.01 - cbiere)
 * Fixed identifiers with leading underscores
 * Removed usage of __FUNCTION__ as it's a gcc-only feature
 * [Gtk2] Hide label with RCSID

- (2002.12.31 - RAM)
 * Added static RCS Id to all the C files.
 * Now accepts and forwards big pings/pongs/pushes to nodes that will
   advertize "GGEP: 0.5" (at least) in their handshakes.  Other nodes
   will get a stripped down message without the GGEP extensions.
 * Do not send a RESET before subsequent PATCH messages if we already
   sent a routing table to our ultrapeer, unless the new table has a
   different size.

- (2002.12.31 - cbiere)
 * [Gtk2] Added and removed properties for gnet stats
 * Size for received packets was wrongly added
 * Added enum PROXY_NONE (gnet.h)
 * Rearranged gnet stats
 * Simplified proxy and peer mode configuration
 * Use enums for proxy protocol (sockets.c)
 * [Gtk2] Upload stats are sortable now (not by size yet)
 * Skip manual int->string conversion (upload_stats_gui2.c)
 * Added RCSID macro which should be used in every .c file: RCSID("$Id")

- (2002.12.30 - Richard)
 * Added PROP_BW_ALLOW_STEALING to gui
 * Replaced radiobuttons with GtkCombo for PROP_PROXY_PROTOCOL
 * Removed cruft code from gui_update_all()
 * Removed cruft code: on_search_stats_type_selected()

- (2002.12.30 - RAM)
 * Added ability to share bandwidth between HTTP and Gnet.
 * New property "bw_allow_stealing" to control bandwidth sharing.
 * New flag q/Q to indicate query routing table sending/sent.
 * Send query routing table faster, as bandwidth permits.
 * Prevent bandwidth stealing from a disabled scheduler.
 * Avoid overflow of signed integer when stealing bandwidth.
 * Actually limit the memory size we figure by the max allowed size for
   the data segment.
 * Made the "is_firewalled" property persistent to accelerate warm startup.

- (2002.12.30 - cbiere)
 * Fixed phys. RAM detection so it should work with Linux, Free/Net/OpenBSD
   and Solaris (settings.c)

- (2002.12.29 - RAM)
 * When "enable_ultrapeer" is FALSE, forbid setting "current_peermode" to
   anything other than NODE_P_NORMAL, forcing the value if necessary.
 * Fixed improper assertion in node_send_qrt(), and forgot to cleanly
   unref the old query table, if present.
 * Space alive pings more for a leaf <-> ultra connection.
 * When in leaf mode, no need to demultiplex pongs.  Also don't forward
   cached pongs when we get a ping.

- (2002.12.28 - guruz)
 * [Gtk1] Made PROP_MAX_ULTRAPEERS GUI-configurable depending on the setting
   of PROP_ENABLE_ULTRAPEER.

- (2002.12.28 - Richard)
 * Added PROP_CURRENT_PEERMODE and PROP_ENABLE_ULTRAPEER to gui
 * Added PROP_BAN_MAX_FDS and PROP_BAN_RATIO to gui
 * Added PROP_LIB_DEBUG to gui
 * Removed PROP_DEFAULT_POLICY: can be done using a filter rule in global
   post filter. Is hardcoded to DO DISPLAY now.
 * Added new property type: PROP_TYPE_MULTICHOICE. This is useful for 
   property-controlled dropdown menus (GtkCombo).
 * Added automatic bindings for GtkCombo widgets if they are in the
   property_map in settings_gui.c.
 * Added gtk_combo_init_choices to gtk-missing.c
 * Dropdown menu for PROP_SEARCH_STATS_MODE is now fully property controlled.
 * Dropdown menu for PROP_CURRENT_PEERMODE is now fully property controlled.
 * Cleant up props.tpl. Uses more scheme code now.

- (2002.12.28 - RAM)
 * Added ban_max_recompute() to recompute max amount of file descriptors.
 * Now sets the "max_banned_fd" property with the configured amount of fds.
 * New properties: "max_banned_fd", "sys_nofile" and "sys_physmem".
 * Added assertion in gnet_stats.c: cannot send a message with TTL=0.
 * Don't send our IP to web cache if we're a leaf node.
 * Renamed network_init() as node_init() for consistency.
 * New routing next_pow2().
 * Reworked the code sending BYE messages to not include a header payload
   on 200, and force a trailing NUL.
 * Was sending the QRT too early after connecting (before setting up the
   TX stack).
 * Refuse connections from leaf nodes when we're a normal node.
 * Don't demultiplex pongs nor honour TTL=2 pings when in leaf mode.
 * Pre-compute the default QRT patch (against NULL table) to immediately
   be able to send it on new connections.
 * Added computation of sys_xxx properties at startup.
 * Don't try to compact queries when in leaf mode, since we don't relay.
 * Fixed node_bye_flags() to skip already removing or shutdown nodes.

- (2002.12.27 - RAM)
 * Only report compression error when there is actually an error, not when
   the task is cancelled.
 * Forgot to send the X-Query-Routing header when not in "normal" mode.
 * Fixed hcache_get_caught() to swap the caught/valid lists if necessary.
 * Fixed bad trailing assertion in qrt_update_send_next().
 * Was sending QRP patch messages with wrong length -> desynchronizing.
 * Forgot that we could still get 0.4 connections whilst in leaf mode.
 * Was returning bad status in qrt_update_send_next(), not sending last patch.
 * Wrong signature for node_qrt_changed().
 * Fixed wrong complaint from bg tasks about user code forgetting exit status.
 * When in leaf mode, pong all 0.4 connections.
 * Fixed cleanup order in qrp update to avoid crash at exit time.
 * Fixed wrong complaint about error whilst freeing compressor.
 * Also forbid outgoing connections to 0.4 nodes when in leaf mode.

- (2002.12.26 - RAM)
 * New properties: "current_ip_stamp", "average_ip_uptime", "start_stamp",
   "average_servent_uptime", "force_ultrapeer", "force_leaf",
   "max_ultrapeers", "max_leaves", "enable_ultrapeer", "current_peermode".
 * Plugged support for GTA_MSG_QRP messages.
 * Added management of QRP updating messages (RESET and PATCH).
 * Now recognizes Ultrapeer-marked pongs (non-GGEP).
 * Added support for handshaking as a leaf node and sending QRP updates.
 * Added is_pow2() routine.
 * `start_time' is no longer a variable, we now use the "start_stamp" property.
 * Added host_add_ultra(), and adapted connecting loop to pay attention to
   the "max_ultrapeers" property when acting in leaf mode.
 * Made sure leaf nodes don't send connectible pongs back.

- (2002.12.24 - cbiere)
 * 'Uploaded stats: splitted into gui and core
 * renamed ul_* functions to upload_*' (src/Makefile.am, src/Makefile.in,
   gnet.h, gui.h, main.c, main_gui.c, settings.c, settings_gui.c,
   upload_stats.[ch], upload_stats_gui.[ch], uploads.c, uploads_cb.c)
 * [Gtk2] Upload stats: Replaced GtkCList with GtkTreeView
 * [Gtk2] About dialog: freenode.org -> freenode.net (gtk2-gnutella.glade,
   interface-glade2.c)

- (2002.12.22 - RAM)
 * Turned the Type colum in the gnet display into flags.
 * Forgot to cancel the hostcache reading tasks at shutdown time.
 * Look at the file's timestamp to ensure the SHA1 we have is up to date.

- (2002.12.22 - cbiere)
 * [Gtk2] Added columns for connected time and uptime (sync with Gtk1)
   (nodes_gui2.c)

- (2002.12.20 - cbiere)
 * Rearranged gnet stats; reduced CPU load for gnet stats (gnet_stats_gui2.c,
   gtk2-gnutella.glade, interface-glade2.c)

- (2002.12.18 - cbiere)
 * Fixed race condition in shell_dump_cookie(); moved g_string_printf
   compatibility quirk to misc.h (shell.c)
 * Added #define for g_string_printf (misc.h)
 * Fixed non-local #include (shell.h, gnet_stats_gui2.c)

- (2002.12.17 - RAM)
 * Had to regenerate configure et al. because it complained it could not
   find automake-1.4 on my system with --enable-maintainer-mode.
 * Avoid writing back the fileinfo trailer when there was no new data
   and the fileinfo is not otherwise dirty.
 * Simplified gnet_stats.c to always use the stats_lut[] array.
 * Fixed typo "Prefered" -> "Preferred".
 * Was wrongly using strcasecmp(var, "http://") instead of the correct form
   strncasecmp(var, "http://", 7) in dmesh.c.

- (2002.12.17 - Richard)
 * Added optional remote shell support (add --enable-remote-shell to configure)
   Documentation is in doc/other/remote-shell.txt
 * About dialog should be opened centered now
 * Quit dialog should open at mouse position now
 * [Gtk2] Moved #define of g_ascii_strcasecmp from dmesh.c to misc.h
 * Fixed wrong argument type in inputevt_add (gint -> guint).
 * Added inputevt_remove(). Please use this instead of g_source_remove().
 * Removed reissue_timeout argument from search_gui_new_search(). (Also [Gtk2])

- (2002.12.15 - cbiere)
 * [Gtk2] Replaced deprecated GtkCList in gnet stats pane by GtkTreeView

- (2002.12.12 - RAM)
 * Fixed crash at exit time: was calling hcache_clear() from hcache_free().

- (2002.12.10 - Richard)
 * Updated gnet stats again
 * Split off gnet_stats_gui2.h

- (2002.12.09 - Richard)
 * Fixed typo: c_gs_recieved
 * Backported new stats from Gtk2 and reorganized stats display.

- (2002.12.08 - cbiere)
 * [Gtk2] Added new stats pane with information about flow-control

- (2002.12.08 - RAM)
 * Added TASK_F_RUNNABLE flag to ensure non-duplication of tasks in run queue.
 * When a host cache is freed, reset its pointer to NULL to prevent reuse.
 * Was calling hcache_close() too soon.
 * Made sure Location headers in replies are absolute URIs, per HTTP/1.1 specs.
 * Added hcache_remove_all() to decouple hcache_free() from hcache_clear().

- (2002.12.07 - RAM)
 * Even when node is connected, it can lack the "alive_ping" object.
 * Refuse connection from "gtk-gnutella" (spoofed/tempered-with string).
 * Changed "Transmit timeout" message into "Flow-controlled for too long".
 * Added vendor codes GDNA and GNTD.
 * Switched vendor searching from linear to dichotomic lookup.

- (2002.12.06 - RAM)
 * Added properties "download_require_urn" and "download_require_server_name".
 * Added more cases where we remove source from the download mesh on error.
 * Added alive_get_roundtrip_ms() to extract roundtrip times.
 * Show average/last ping-pong roundtrip time in milliseconds in node's Info.
 * Two query hits or push messages with same hop count are now discriminated
   via their TTL: the lowest it is, the more priority we give.
 * Removed all GDK input dependencies, using a new input event facade on top
   of the Glib I/O routines [Patch from ko].

- (2002.12.05 - cbiere)
 * Cleanup for 64-bit architectures; replaced non-portable casts by
   GINT_TO_POINTER() et al.

- (2002.12.02 - RAM)
 * ban.c: forgot missing trailing space after the "Gnucleus" name.

- (2002.11.30 - RAM)
 * Was passing 'len' as a macro argument, which was then copying this into
   a local variable called 'len' => was getting garbage into that value.
 * Do not store trailing NUL within aliases (in fileinfo trailer).
 * Regenerated configuration files via autogen.sh: was complaining that I
   needed automake-1.4 on my system, which I have!  Grr, I hate auto* tools.
 * First take at the separation between the regular "host" cache and the
   new "ultra" cache which will store ultranode pongs.
 * Renamed check_valid_host() into host_is_valid().
 * Would fail to parse saved downloads whose filename starts with a '#'.
   We now forbid comments in the file passed the preamble.
 * Allow file moving and SHA1 verification tasks to process zero-sized files.

- (2002.11.29 - RAM)
 * Added "Gnucleus 1.6.0.0" to the servent ban list (broken Morpheus version).
 * Safely handle very long lines when parsing the fileinfo text file.
 * Do not write aliases larger than 1024 bytes to the trailer.

- (2002.11.25 - RAM)
 * When considering whether a download has a SHA1 for abortion, use the
   SHA1 information in the fileinfo, not the one in the download structure.
 * Factorized configuration file opening/creating logic into "file.c".
 * Will now allow HTTP headers of up to 8K in size, before failing with
   a "header line too long" error.

- (2002.11.24 - RAM)
 * Parse Mutella's Uptime header (xDD xHH xMM).
 * Also collect pongs from X-Try lines if the third handshaking step fails.

- (2002.11.26 - cbiere)
 * Fixed detection of zlib because it could accidently default to "yes"

- (2002.11.24 - cbiere)
 * [Gtk2] Port search pane to Gtk2 (search_cb2.[ch], search_gui2.c)

- (2002.11.23 - RAM)
 * Flag downloads when overlapping checks have been done to avoid doing
   them twice when we got exactly as many bytes as the overlapping window.
   (Bug found by Richard)
 * Also apply vendor-specific banning to nodes we connect to.
 * Added bootstrapping web cache file [Patch from Markus Goetz].
 * Added Markus Goetz to the AUTHORS file.

- (2002.11.23 - Richard)
 * Added key != NULL assertion to atom_get and atom_free.
 * Made dmesh cope with buggy alternate locations from LimeWire.

- (2002.11.22 - RAM)
 * Will now ban gtk-gnutella/0.90 and gtk-gnutella/0.91u because they are
   harmful (could corrupt Gnutella traffic).
 * Fixed buglet that caused GTKG to warn again and again for the same "more
   recent" version on stderr.

- (2002.11.22 - Richard)
 * Show more information on failed uploads (the HTTP request).
 * Add new debug level variable "common_dbg" controlled by PROP_LIB_DEBUG
 * Clean up includes
 * Polished toolbar
 * Show URN queries in search stats
 * Moved parsing of magnet: and urn:sha1: searches from 
   search_cb.c to search_gui.c
 
# v 0.91.1  2002.11.22  [stable]

Highlight of changes (user-visible):

- Will now verify the SHA1 of downloaded files in the background.
- New configuration parameter for the directory where "bad files" not
  matching their advertised SHA1 should be put (don't forget to configure
  it, as it defaults to /tmp).
- Files are now copied in the background, so it is possible to setup the
  various "download" directories on different filesystems.
- Node connection time and remote node's uptime (if available) are now shown.
- It is now possible to paste a "magnet:" URI in the search to launch a
  SHA1 search.
- The "connection indicator" at the bottom left is now a toggle.  Depressing
  it will terminate any Gnet connection but will continue to serve uploads and
  process downloads.
- The active download status now shows how many sources are available and
  how many are currently active (i.e. downloading).  It will also show the
  estimated remaining time for the whole file, as well as the global reception
  rate for the file, accounting for all currently active sources.
- Fixed bug that prevented proper downloading from recent BearShare (4.1.x or
  better) and Shareaza (1.6.0.x or better) nodes when the SHA1 of the file
  is known.
- Will now protect against "PUSH floods" by banning the relevant IPs.
- At startup, scan the download "tmp" dir for orphan files and reintegrate
  them into the fileinfo database, moving completed files to the relevant
  directory (depending on whether its SHA1 checked OK).
- Minor bug fixing: improper countdown for push timeout when falling back,
  fixed corner-case processing that could lead to crashes or incorrect
  behaviour, accidental localization on X-Live-Since headers, freezing of the
  GUI when clearing many uploads, obscure portability fixes.

- (2002.11.20 RAM)
 * New `version_number' variable is now built to hold the version number string.
 * Do not show them new development versions if they don't run one.
 * Display message every 10 minutes in the status bar if they run an ancient
   version, more than one year old.
 * Added copyright statements for David Walker.
 * Do strftime("%z") formatting ourselves, since %z is a GNU extension.

- (2002.11.22 RAM)
 * Moved sendfile() checks where they belong, i.e. in bio_sendfile(), with
   additional paranoid checks.
 * Unplugged QRT computation for 0.91.1.
 * Fixed maximum random value computation when random() is being used on
   other machines than Linux [With the help from Uros Bizjak].

- (2002.11.17 Richard)
 * [Gtk2] Fix crash when removing a search and switching to a new search.
   [Patch from Christian Biere].

- (2002.11.17 RAM)
 * Added support for urn:bitprint:, although only its SHA1 part is processed.
 * Always verify that we have 32 chars before calling base32_decode_into()
   to decode an urn:sha1.
 * Now understands "magnet:" URIs in search [Patch from David Belius].
 * Will now use GGEP "H" in query hits when replying to a query from GTKG 0.91
   or better, since we're sure the querying host will understand it.
 * Clearing of completed uploads now done "incrementally" to avoid freezing
   the GUI when there is a lot to clear [Patch from Christian Biere].

- (2002.11.15 RAM)
 * Servers understanding /uri-res/N2R? may not send X-Gnutella-Content-URN.
 * No need to unlink the file in download_move_done().

- (2002.11.14 Richard)
 * Don't try to connect to new hosts in offline mode
 * Display "loading..." in host catcher while reading the file
 * Change plug icon if manually switching to offline mode

- (2002.11.12 RAM)
 * New file moving code was not properly stripping trailing fileinfo.

- (2002.11.12 Richard)
 * [Gtk2] Add new widgets from Gtk1 frontend
 * [Gtk2] Filled in contributors to about box
 * [Gtk2] Greatly improved search monitor performance

- (2002.11.11 Richard)
 * Added entry for PROP_BAD_FILE_PATH to download config
 * Added icons to reflect state of PROP_FILE_MOVING
 * Added uptime and connected time columns to nodes table

- (2002.11.11 RAM)
 * New http://gwebcache.bearshare.net/gcache.php replaces the old zero-g.net
   hardwired bootstrapping web cache, which was shutdown due to traffic.
 * No longer uses strftime() to format date string for X-Live-Since, since
   it insists on using the user's locale.
 * Added asynchronous moving of downloaded files.
 * Renamed node_connected() as node_is_connected().
 * The verify_queue() routine no longer knows about download states.
 * Don't reject PUSH comming from a private IP if we're connected to it
   (this is mainly for testing purposes but will not hurt).
 * Changed property descriptions of "download paths" to remove any constraint
   on them being on the same filesystem.
 * Also parse the Uptime header instead of X-Live-Since (Gnucleus nodes).
 * Show the server's uptime, even if we're not connected to the node.

- (2002.11.09 RAM)
 * The BSD sendfile() requires that first two arguments be swapped (wrt linux).
 * Now computes and displays the overall swarming downloading rate and the
   time that remains to get the complete files.  Also shows how many sources
   we're currently using out of the ones we know.
 * New unique_filemame() routine.
 * New "file_moving" property to indicate that we move files in the background.
 * Default for dynamic upload slot allocation is now FALSE.
 * Added logic to make the new "online mode" toggle actually work.
 * Shortened retry delay to 2 seconds when server cannot understand /uri-res.
   (unless server explicitly set a Retry-After, in which case we honour it).
 * When we abort a download due to a header reception timeout, we might
   not have got the full status line.
 * Now computes the "startup date" for the nodes to which we connect, parsing
   the X-Live-Since header.
 * Ensure we have "LC_TIME=C" in our environment.  Some X-Live-Since headers
   are still incorrectly localized by strftime().

- (2002.11.07 RAM)
 * Fixed memory leak in search_stats_notify_word() [From Christian Biere].
 * Added new property "bad_file_path" to indicate where files which do not
   match their advertised SHA1 should be moved.
 * Was wrongly testing for queued download instead of running one in
   queue_suspend_downloads_with_file(), which could mess up with lifecount.
 * Will now retry downloads for which the SHA1 did not match.
 * When unlinking a file, display its SHA1 (if any) and the done/size info
   to stderr.
 * The BSD sendfile() has different signature and semantics.  Emulate the
   Linux behaviour on those systems.

- (2002.11.07 Richard)
 * [Gtk2] Added new icons from Gtk1 and"prefer compressed" switch.
 * [Gtk2] Columns in gnet panel automatically grow in width again
 * [Gtk2] Fixed bug showing status information in version row on gnet panel.
 * Fixed sizeof issue (memory corruption?). Thanks to Christian Biere for
   pointing it out.

- (2002.11.06 RAM)
 * More tweakings with fileinfos: will now physically remove files that are
   SHA1 or name/size ignored (if not completed already).
 * Forgot a few calls to file_info_clear_download() which releases the
   association between a download entry and a chunk in the file.

- (2002.11.05 RAM)
 * Don't show SHA1 computation rate if we did not hash anything (e.g. after
   a recovery crash where we jump to the "SHA1 verified state" directly).
 * Revisited fileinfo handling: try to not discard them when a download
   stops, unless it was an explicit removal from the user or we are told to
   ignore its SHA1, for instance.
 * Fixed possible discrepancy between the download's SHA1 and the fileinfo's.
   In particular, we could associate a download with a known SHA1 with a
   fileinfo not bearing a SHA1 at all.

- (2002.11.04 RAM)
 * Restored broken support for sendfile(): configure was no longer setting
   the proper variables, leading to sendfile() being ruled out everywhere
   even when present.
 * Inclusion of sys/sendfile.h now protected by HAVE_SYS_SENDFILE_H.
 * Prevent concurrent downloads from being stuck in the "Waiting for SHA1..."
   when another one finishes: requeue them as they are suspended.
 * Will now say "SHA1 figure OK" instead of "SHA1 check OK" when we correctly
   computed the SHA1 but none was originally known for the file.
 * Skip non-plain files when scanning the "tmp" directory for orphan files
   [From Uros Bizjak].
 * Persist settings of the "prefer compressed connections" toggle button
   [From Christian Biere].
 * Will now protect against "PUSH floods" by banning the relevant IPs.
 * Avoid doing some work if we are going to use the sendfile() system call.
 * Added temporary sanity checking around sendfile(), just in case it does
   not behave as advertised.
 * Freeze GUI list when clearing completed uploads [From Christian Biere].

- (2002.11.03 RAM)
 * Refuse to start a "suspended" download, requeuing it as "Suspended".
 * Moved settings of the DL_F_SUSPENDED after download is allocated
   (thanks to Paul Cassella for spotting this).
 * Log vendor string when HTTP/1.1 server gives us more bytes than requested.
 * When we have to trim data, we can't use keep-alive connections: remember
   bad servers so we don't request upper-bounded ranges from them again.
 * When logging to "done.sha1", use the output filename as name, not the
   server name, which could be an obscure urn:sha1: string.
 * When resuming after crash, forgot to handle the case where a completed
   file could be listed many times in the queue.
 * Was showing bytes/s instead of kbytes/s in the final SHA1 computing
   rate display.
 * Added new is_faked_download() routine.

- (2002.11.03 Richard)
 * Added default extensions: doc, nes, smc, smd, rom
 * Changed default sidebar width to 140
 * Changed default filter-tree size in filter dialog to 140
 * Changed default 'Jump to download' to FALSE
 * Fixed tooltips of the firewalled/non-firewalled icons
    
- (2002.11.02 RAM)
 * Added asychronous SHA1 verification routines.
 * Extended the background task model to also support "daemon" tasks, which
   are tasks that sleep in the background and are woken up when work is to
   be performed.
 * Plugged in SHA1 verification when a download is complete.
 * Display SHA1 computation status in the download window.
 * At startup, scan the download "tmp" dir for orphan files and reintegrate
   them into the fileinfo database, moving complete files to "done".
 * Only send urlfile requests to web caches once every 8 hours.
 * Split ignore_add() into ignore_add_sha1() and ignore_add_filesize().
 * Old code that could move back a file from the "done" directory to the "tmp"
   directory was removed.  We now have stricter file management with SHA1.
 * Fixed routing_log() which was not logging anything.
 * Removed spurious checks in get_file_to_upload_from_index(), replacing
   them with assertions.

- (2002.10.30 RAM)
 * Raised logging level for some innermost traces in bg.c.
 * Moved check for "no GUID to use PUSH" to download_push() to avoid seeing
   retry countdowns when a connection cannot be made.
   This updates yesterday's fix.
 * Integrated batch of portability and cleanup fixes from Christian Biere.
 * Don't call search_close() too early [Fix from Juli Mallett].
 * Avoid dereferencing a NULL `current_search' variable [From Juli Mallett].
 * When falling back to push, reset the time for accurate push timeout.

- (2002.10.29 RAM)
 * New background task layer.
 * Added X-Host: support to specify non-firewalled server's IP address to
   pushed uploads.  A pushed download seeing X-Host in the reply knows that
   the server is not firewalled and that a direct connection can be made.
 * Added provision for storing computed SHA1 in fileinfo trailer.
 * Plugged background task timer.
 * Converted existing SHA1 and QRP computation code to new background tasks.
 * Integrated random() support from Christian Biere.
 * Added Christian Biere to AUTHORS.

- (2002.10.26 RAM)
 * varargs copying fixes from Michel Daenzer for powerpc platforms.
 * Raised size of the search queue to 256 entries.
 * Integrated portability fixes from Christian Biere for NetBSD.

- (2002.10.24 RAM)
 * Opening version 0.92u.
 * Stricter banning policy: ban after 5 reqs/minute instead of 10.
 * Fixed typo "interaface" -> "interface" in some includes.
 * Show download's disk filename when all we have from server is an URN.
 * Don't show "503 rebuilding library" when in fact we don't share anything.
 * New walloc0() routine.
 * Now allow again setting "min Gnet connections" to 0.

# v 0.91   2002.10.19  [stable]

Highlight of changes (user-visible):

- Now uses HTTP/1.1, which implies support for persistent connections.
- gtk-gnutella will now monitor whether we're connected to Internet and
  slow down its connection requests when it detects the connection was broken
  (after a delay of ~3 minutes at most).
- Download swarming is now supported: gtk-gnutella will download different
  portions of the same file from many hosts, as long as alternate sources
  are available.
- The download mesh (alternate source collection during downloads) is now
  used to fill the download queue with more sources.
- Alternate locations can also be passively collected from query hits.
  You can enable this in the swarming section on the download config pane.
- Download scheduling was entiretly redesigned to avoid hammering busy hosts
  and scale to 5000+ entries in the queue without slowing down the whole.
- Is now smart about the "push" flag and will try to ignore it if possible,
  in case the remote host wrongly set the flag but is not firewalled.
- gtk-gnutella now remembers the files it downloaded and will ignore further
  requests to download the same file.  It will visually mark those files, as
  well as the ones it already shares, by showing them in lighter color in the
  search results.
- It is possible to supply to gtk-gnutella your own ignore lists by SHA1 and
  by name/size but the feature is under-documented.
- Added an "expert mode".  Only when this is enabled will gtk-gnutella show
  the users some of the most complex settings.
- New Gnutella statistics pane, showing the packets we sent and received,
  how many we generated, and the reasons why we drop packets, by packet type.
- Now understands UTF-8 queries, but does not generate them.
- Fixed important bugs whereby all earlier versions of gtk-gnutella were
  unintentionally corrupting the Gnutella traffic!
- Moved away from the public hostcaches and now uses the Gnutella Web Cache.
- Will now show all upload attempts, not only the ones that are transferring.
  If the connection is aborted, the reason is also shown.
- New search stats types: queries by router, whole query.
  . "Queries by router" shows how many queries have been recieved
    from any node gtk-gnutella was directly connected to.
  . "Whole query" shows stats based on the complete query string
    instead of individual query words.
- New visual indications via icons in the status bar: whether gtk-gnutella
  is rebuilding the library, computing SHA1 of shared files in the background,
  and whether we are connected to Internet or not.

KNOWN BUGS/PROBLEMS:

- When changing the directory for incomplete/complete files, all 
  partially downloaded files recorded in ~/.gtk-gnutella/fileinfo 
  will still be downloaded to the old directory. You need to manually
  change the paths in above file using search/replace and your 
  favourite text editor.
- Sorting order of tables is not perserved across sessions.
- Marking/highlighting of results/downloads/uploads heavily depends
  on your GTK theme. Especially most themes do not set fg[ACTIVE] and 
  fg[NORMAL] to different values.
- There is currently no way to un-ignore a file via the gui. You 
  can however edit the done.sha1 and done.namesize files in your
  ~/.gtk-gnutella directory manually. Unignoring via gui is planned
  for the next release.

- (2002.10.19 RAM)
 * Changed error code for non-compressed connections from 401 to 403.
 * Cleaned up manual page: removed obsolete information about config options.
 * Cleaned up Gnet & GUI properties.

- (2002.10.18 RAM)
 * Small cleaning of whitelist/local (patch #623100).
 * Switched from 409 to 503 when "already downloading that file" so that
   user can retry later on: this is not a fatal error.
 * Added pre-condition in download_request().
 * Revised the descriptions of gnutella properties, and changed a few
   limit values that were wrong (TTL, max TTL, etc...).
 * Make sure we do not fill a query hit with more than 255 results.
 * Only trim TTL larger than our max_ttl for broadcasted packets.

- (2002.10.17 RAM)
 * Reset "Clear Completed" correctly in upload pane when auto-clear is on.
 * Disabled failing assert in file_info_find_hole(), replaced by a warning
   for now, pending further investigation after the release.
 * Fixed Gnet compression rejection messages.
 * Also send out X-Try when rejecting connections based on lack of compression.

- (2002.10.17 Richard)
 * Fixed several bugs in filter_cb.c when copying/pasting a rule.
 * Fixed bug: hostcatcher does not update properly in gui if no hosts 
   file was found.
 * Added "prefer compressed connections" option to gnet config pane.
   (expert mode) [thanks to Markus "guruz" Goetz]
 * Replaced GtkSpinButtons with GtkEntry in the size-rule part of the
   filter dialog. Should give the full range of sized up to 2GB.

- (2002.10.15 RAM)
 * Added GGEP parsing and generation code.
 * Added support for COBS (required by GGEP).
 * Fixed "abort from host" routine.
 * Fixed improper lifecount in downloads, when resuming leads to a Duplicate.
 * Added assertions in gmsg_dump() and gmsg_split_dump().
 * Forgot to cancel the "urlfile" retry event during shutdown.
 * dump_hex() can now handle zero-sized dumps.
 * Will now recognize GGEP "H" extensions in query hits.
 * Protected some GUI warnings with "if (gui_debug)" tests.
 * Now knows how to generate GGEP "H" extensions in query hits, code disabled.

- (2002.10.14 RAM)
 * Fixed bug when following HTTP redirection during downloads.
 * Lowercase the Content-Range header value before parsing.
 * Don't send them the download mesh entries if they abort on "Stopped (EOF)",
   as they might choke on the HTTP continuation.
 * Converted to new gnet_prop_get/set_type_val() macros.
 * Generated property routines now have the opening "(" after the name.
 * Merge adjacent "unknown" extensions in vector.
 * Added new REMAP_ZALLOC compile flag to remap zalloc() and walloc() to
   malloc(), indepently of the USE_DMALLOC flag.
 * Added new properties: "library_rebuilding" and "sha1_rebuilding".
 * Forgot to reclaim current web cache URL atom during final cleanup.
 * Be nice to pushed uploads and don't impose them to follow a 301 if they
   don't request the proper file and give a SHA1 in the HTTP header.

- (2002.10.14 Richard)
 * Added icons to display state of background processes (building lib/sha1)
   to statusbar. 

- (2002.10.13 RAM)
 * Made socket_destroy() a private routine of sockets.c, which now takes
   a reason string that can be propagated back to the socket's resource
   for better error logging.
 * Fixed stupid error in vendors.c: was comparing aginst '0', instead of '\0'.
 * Give more precise feedback for failed pushed uploads.
 * Forgot to initialize flags in HTTP async requests.
 * Fixed HTTP redirection bug: had put a wrong assertion.
 * Applied Solaris portability patch [From Uros Bizjak] (patch #579522).
 * Always parse query hits bearing 4 bytes of open data, whatever the vendor.
 * Fixed some function formatting, according to point 4.5 of STYLE guide.
 * When creating a new search, immediately send message to the search queue
   as soon as the search is unfrozen (fixes bug #617206).
 * Turn fuzzy name matching off by default, since it is potentially unsafe.

- (2002.10.12 Richard)
 * Option to visually mark ignored files in the search results.
 * Update local address displays when listen port is changes (closes 622020).
 * Optionally accept the first chunk of a file from a source that does not
   supply a urn to match against. This dramatically reduces the number of
   "No URN on server". This only helps in cases where you never get a file
   because the only source you have does not provide a urn.
 * Add a viewport to all config panes so they can be scrolled if the window
   too small to show them completely.
 * In gwcache.c: when stopping because we get 50+ lines, use
   http_async_close() and not http_async_cancel() as it is not an error,
   so we don't want the error callback to be called.
 * In http.c: when making a subrequest, disable timeouting of the now idle
   parent request.

- (2002.10.12 RAM)
 * Fixed get_file_to_upload_from_index() to avoid writing to freed memory.
 * Added pre-condition in io_read_data().
 * Added asynchronous disposal of HTTP async requests to avoid writing
   into freed memory upon user callback returns.
 * Just because a hostname starts with a digit does not mean the host was
   given as an IP address (fixes bug 617315).
 * Display pushed uploads in light gray ("insensitive"), just as we do for
   pushed downloads.
 * Was not properly reporting errors when given bad URN in /uri-res.
 * Also report 503 if given a /uri-res and we are still rebuilding, in case
   we do not find the file for the URN: we might not have parsed it in the
   library if it is large.
 * When downloading, ignore SHA1 of files we already share in our library
   (fixes bug #618722).
 * Made `current_url' an atom in gwcache.c to avoid race conditions with
   the entry being superseded.
 * Delay next urlfile webcache request when the previous failed.

- (2002.10.05 RAM)
 * Never send pushes if we think we're firewalled.
 * Made "misc.h" include "config.h" for compiles on FreeBSD.
 * Further changed the upload request checking order for better GUI reporting.

- (2002.09.28 RAM)
 * Added ATOM vendor code.
 * Check HTTP upload request after we extracted the vendor information.
 * Drop "QTRAX2_CONNECTION" queries.
 * When we're firewalled, answer pings at regular intervals, to help us
   determine whether we're really firewalled.  Even if we have no slot.
 * Moved "TTL exceeded" reason at the top, with related reasons.
 * Fixed download fileinfo reparenting bug.

- (2002.09.25 RAM)
 * Added ACQX and EVIL vendor codes.
 * Shuffled code around in upload_request() to gather as much information from
   the request as early as possible for GUI display purposes in case of error.
 * Now recognizes UTF-8 queries starting with Byte Order Mark tag.
 * Drop and count malformed UTF-8 queries we encounter.
 * Removed unused count_running_downloads_with_sha1().
 * Added my own cache to the bootstrap list.
 * Fixed the _shutdown() routine in property template to avoid freeing NULL.
 * Vendor ACQX can include XML payload in query hits.

- (2002.09.24 - Richard)
 * Cleant up search_xml.c a little
 * Fixed another memory leak in search_xml.c
 * Partially fixed: Uploads and downloads won't abort (#612374)
   Should work for uploads, "abort by SHA1" and "abort by name". The
   "abort by host" was optimized by Raphael and I dont see the bug right now.

- (2002.09.24 RAM)
 * Added the EXT_NONE extension to hold separator overhead.
 * Don't warn at exit time on fileinfo entries with refcount=0.
 * At debug level 5+, can now log the packets we emit, and the non-broadcasted
   messages we relay..
 * Suppressed MSG_DROP_MULTIPLE_SHA1, added MSG_DROP_QUERY_OVERHEAD.
 * Renamed MSG_DROP_MISFORMED_SHA1_QUERY as MSG_DROP_MALFORMED_SHA1_QUERY.
 * Documented web cache usage policy.
 * Added cache seeding when the caches we inspect have few entries.
 * Fixed memory leak in nodes.c.
 * No longer send the trailing "urn:\0" in queries.
 * When issuing SHA1 queries, was not copying the trailing NUL.
 * Will now drop queries with too many (unneeded) separators in extension.
 * Now supports queries with multiple SHA1.
 * Split our query hit packets in chunks of ~2KB for better flow control.
 * Fixed missing counter decrements on completed uploads.

- (2002.09.23 RAM)
 * When replacing URLs in the web cache, delete from the known URL table
   before re-inserting, for the rare cases where we're inserting the same
   URL at the same slot.
 * Removed spurious block that crept in inside gwc_store().

- (2002.09.23 - Richard)
 * fixed memory leak in:
   - search_xml.x (config_comment)
   - hosts.c (parse_netmasks)
   - settings.c (move_file_path_changed)
   - settings.c (save_file_path_changed)
   (thanks Rhamphoryncus for spotting)
 * Gui/core separation for uploads
 * Better monitoring of the gtk-gnutella internal server activity including
   monitoring of failed upload attempts and connections that are being kept
   open.
 * Fixed: upload status bar fails to decrement (closes #609479)
 * Should no longer give floating point exception on Alpha (closes #609253)
   Always use gtk_progress_bar_set_fraction and check that we don't do a
   div-by-zero when calculating the fraction.
 * Started to move gui initialization code from main_gui.c to the respective
   initialization functions of the different gui modules. That gives less 
   problems with migrating to Gtk2 specific frontend modules.
 * Revisited gui/core separation code for gNet connections. Don't transfer
   the whole node information on each update. Don't alloc/free memory on
   each status update.
 * Use GtkTreeView instead of a GtkCList to list the gNet connections.
   Breaks popup menu and removal of nodes in the experimental Gtk2 version.
 * Destroy sorting arrow in search results panel when a search is closed.
   (thanks to Bjorge Dijkstra for spotting and providing a fix).
 * Moved PROP_AUTOCLEAR_UPLOADS from gnet_props.ag to gui_props.ag
 * Give more warnings if a widget is not found in settings_gui.c
 * Added "searches by router" to search stats.
 * Remove sidebar viewport again (Gtk1)

- (2002.09.22 RAM)
 * Forgot to initialize a field when starting an aync HTTP request.
 * QRP hash code no longer uses tolower() and only translates [A-Z] to [a-z].
 * Adapted zalloc/walloc code to be usable under dmalloc.
 * Added support for transparent redirection in async HTTP requests.
 * Unplugged all support for the now-dead public hostcaches.
 * Fixed a few "free(NULL)" calls spotted by dmalloc.
 * Save URLs in gwcache starting with the oldest ones.
 * Rotate the web cache used after a few updates.
 * Downloads were still using obsolete index==0 convention to indicate the
   /uri-res URLs.  It is now index==URN_INDEX that must be used.
 * Fixed embarrassing bug: we were bluntly changing the query text on the
   fly by calling st_search() on the original query text!
 * Fixed memory leak in fileinfo.c.

- (2002.09.21 RAM)
 * Removed hostcache "gnutella-again.hostscache.com": no longer resolves.
 * Added http_async_close() to cleanly request connection close.
 * Added url_escape_query() to escape query string parameters in URLs.
 * Periodically save Gnutella web cache ring if dirty.
 * Finalized web cache support to publish our IP and propagate ring.

- (2002.09.20 RAM)
 * Forgot to update the name hash-table when changing fileinfo.
 * Must always seek before writing to a downloaded file, even when swarming
   is OFF, since we always update the trailer, hence changing the write
   pointer.
 * Don't lseek to the trailer if we're not going to write it anyway.
 * Finalized asynchronous HTTP request support.
 * First implementation of Gnutella web cache support.  No update yet.
 * Added new core property "incoming_connecting_timeout".
 * Improved str_chomp() to also strip trailing "\r\n" or plain "\r".

- (2002.09.19 RAM)
 * Added COCO to the vendor list.
 * Check for sendfile() or write() returning 0 in case the underlying file
   disappears on a non-Unix filesystem such as FAT32.  This avoid endless
   loops (fixes bug 611537).
 * Check for the HTTP protocol tag before URL-unescaping the request,
   which could shift the string backward in the buffer.
 * Vendor tags are now defined in "vendors.h".
 * Fixed wrong drop message.
 * More untested code on asynchronous HTTP requests.

- (2002.09.18 RAM)
 * Factorized asynchronous I/O header parsing code.
 * More embryon of code for asynchronous HTTP requests.
 * Automatically compact query text in messages we send.
 * Now only compacts white-spaces in query text, and only for messages
   we are going to relay.

- (2002.09.16 RAM)
 * Fixed Alternate-Location parsing to avoid mistaking an URL for a date.
 * Should now correctly guess whether a "," in an URL is a separator of
   two URLs or is part of the current URL.
 * Special index to indicate URN is now 0xffffffff instead of 0.
 * IP/port parsing of URLs is now done in http.c.
 * Embryon of code for asynchronous HTTP requests.
 * Fixed download problem with swarming deactivated.
 * Socket type/direction constant refactoring.
 * Capitalized first letter of all Gnet stats.
 * Removed MSG_DROP_RESULT_DOUBLE_NUL, which was wrong.
 * Changed MSG_DROP_QUERY_TOO_LONG into MSG_DROP_QUERY_NO_NUL.
 * Added MSG_DROP_PONG_UNUSABLE.
 * Query compaction is now enabled by default.
 * Now counts unusable pongs that we drop.
 * No longer alter open-data of query hits inplace for LimeWire/Swapper hits!
 * Will now detect query hit trailer with GGEP extensions.
 * Parse trailer extensions for validation only (currently).
 * Count queries with no trailing NUL as such.

- (2002.09.15 Richard)
 * (Hopefully) fixed flickering in gui by jailing label_items_found and
   label_search_stats_count into GtkViewports (Gtk1 & Gtk2)
 * Added "(Globally) drop results from host" to search popup
 * Added "New search from selected" action from search results
   pane. Creates a new search based on the filename found and
   adds a filter to it based on the sha1 hash if it has one or the
   exact filename if it hasn't.
   (patch by Andrew Meredith <andrew@anvil.org>)
 * Fixed up build files following suggestions from Andrew
 * Bumped version in configure.in
 * Fixed warnings in gtk-missing.c when compiling with Gtk2

- (2002.09.12 RAM)
 * Was mistakenly going through routing_log() formatting even if the debug
   level did not justify it.
 * Query compacting is now UTF-8 safe.
 * No longer transform UTF-8 queries into ISO-8859 inplace: we now let UTF-8
   queries go through as-is.
 * utf8_to_iso8859() forgot to decrement length of original string.

- (2002.09.12 Richard)
 * Renamed share_gui2.c to monitor_gui2.c
 * Added checkbutton to config-UI panel to toggle expert mode
 * Fixed freeze-bug when adding filter rules via search popup
 * Optional compaction of queries (default off). This cleans up
   the search stats and saves a little bandwidth but in turn costs
   a little cpu.
 * Enabled Gtk2 frontend again (experimental)
 * Fixed typo "No item found" => "No items found"
 * Reordered result processing in share.c: first check wether results
   should be dropped, then notify listeners (search monitor/stats), 
   then check wether to perform a local search.

- (2002.09.11 RAM)
 * Make sure we leave enough room in the reply HTTP header for final "\r\n".
 * Re-organized download_request(), with better detection and handling
   of header timeouts.

- (2002.09.10 Richard)
 * Expanded gnet statistics
 * Added percentage display for gnet statistics
 * Moved "(globally) drop..." do submenus. More to come
 * Renamed "local" to "generated" in the gnet statistics
 * "Can't remove node" bug should be fixed now
 * Fixed serious bug in idtable: last_id was not initialized!
 * Removed wrong assertion: node handle may be 0
 * Fixed bug: when removing multiple nodes, only the first is
   removed
 * Expanded search stats. Can choose between "word" and "query" stats.
 * Renamed search_stats.[ch] to search_stats_gui.[ch]
 * Integreted search stats in gui_update_global.

- (2002.09.09 RAM)
 * Fixed reference count problem when resetting fileinfo.
 * Made socket_connected() private.
 * Count sent message size from queue accurately.
 * Cleanup of statistics, separating reception: header and payload counted
   separately.
 * When reading back fileinfo cache, guard against duplicate ALIA entries.
 * Split sent statistics into local and relayed.
 * Requeue downloads with a SHA1 in the fileinfo but for which the server
   gives no URN: it will wait for an overlap to resume, provided the user
   has at least configured 64 bytes of overlap (fixes bug #606373).

- (2002.09.09 Richard)
 * Finally added the "expert mode". This means you'll not see lots of 
   settings in the config panes next time you start. If you want to
   enable the expert mode, edit your "config_gui" file in ~/.gtk-gnutella
   manually and set "expert mode" to TRUE.
 * Added drop statistics for every message type and accumulated traffic
   statistics for every message type.
 * Reduced number of drop reasons and use same reason for different
   message types.
 * Don't bother trying to find a hit if we don't share any file.
 * Added stats for local query hits
 * Again changed gNet pane update behaviour (once per second)

- (2002.09.08 Richard)
 * Update nodes in gNet panel more often.
 * Added gnet statistics
 * Added "User interface" settings to config pane.
 * Made (most) tooltips optional.
 * Show confirmation dialog when leaving gtk-gnutella (optional)
 * Moved code from callbacks.[ch] to downloads_cb.[ch] and uploads_cb.[ch]
 * Moved code from gui.[ch] to main_gui.[ch]
 * Moved code from gui.[ch] to downloads_gui.[ch] and uploads_gui.[ch]
 * Moved code from main.c to main_gui.[ch]
 * Moved declarations of functions needed by gui from downloads.h to
   gnet.h
 * Temporarily relocated a struct declaration from upload_stats to gnet.h
 * Changed code to update sidebar stats
 * Added feature summary to output of configure script
 * Mark files downloaded by "Watch searches for alternate sources" as
   "queued" in search results (same marking as when you manually download
   them)
 * Don't generate duplicate filter rules when creating rules from
   a number of selected search results.
 * Updated clist_collect_data to be more usable
 * Moved code from upload_stats.[ch] to upload_stats_gui.[ch]
 * Use properties to set scan extensions

- (2002.09.08 RAM)
 * Fixed problem when requeuing a stopped download from the GUI.
 * Internal invalidation of the "fileinfo" was leaving a NULL pointer and
   this is confusing: always reget a proper fileinfo when invalidating.
 * Resize fileinfo when we get a larger file with same SHA1.
 * When about to move to "disconnected from the Internet" state, look whether
   there was incoming traffic received recently.
 * Don't assert that size_atom exists on fi_free(), it could be missing.
 * Fixed Richard's sent counter stats.

- (2002.09.07 RAM)
 * Added "int" atoms.
 * Refactored swarming meta-information management to avoid conflicts between
   different files, and really put identical sources to the same output file.
 * Make sure we don't display negative retry times for downloads.

- (2002.09.06 RAM)
 * Factored out handling of (name, size) tuples.
 * Was wrongly forwarding query hits with bad SHA1s when debugging disabled.
 * Made guid_random_fill() a public routine.
 * Was badly computing position in queue when it holds more than 1024 entries.

- (2002.09.02 RAM)
 * Fixed duplicate server free bug (fixes bug #603365).

- (2002.09.01 RAM)
 * Made local_ip persistent, in case it takes time to determine dynamically.
 * Fixed some English typos in the gnet properties ("then" -> "than").
 * Was missing a trailing "\n" in whitelist.c debugging statement.
 * Added workaround for sscanf() parsing bug: always end parsing with a
   scanned parameter.
 * If remote HTTP/1.1 does not honour keep-alive on the connection as promised,
   mark it as not supporting keep-alives.
 * Also defer reclaiming of the server structure when freeing a download.

- (2002.09.01 Richard)
 * Search panel redesign
 * Minor cosmetic fixes
 * Adjust idtable to RAM's suggestions
 * Make search reissue timeout setting in GUI behave properly again

- (2002.08.31 RAM)
 * Changed the way GUID are generated for messages and servents.

- (2002.08.29 RAM)
 * Actual freeing of download structures is now deferred to avoid race
   conditions with list traversals.
 * Plugged download ignore lists.  The lists are kept in ~/.gtk-gnutella.
   Files ignore.sha1 and ignore.namesize are user-supplied, files
   done.sha1 and done.namesize are generated by gtk-gnutella.  The format
   of the *.sha1 file is that of "sha1sum", the format of *.namesize
   is that of "wc -c".
 * Removed wrong assert in file_info_recreate() (fixes bug #601626).
 * Make sure upload slot is reserved between two consecutive queries on
   a persistent HTTP/1.1 connection.
 * Fixed minor style issues in  vendors.h and whitelist.c.
 * Fixed improper display when new version is encountered.
 * Fixed file descriptor leak in ignore.c.

- (2002.08.29 Richard)
 * Droped g_hash_tables to lookup handles in search.c and nodes.c and use
   new id_table instead.

- (2002.08.28 Richard)
 * Changed justification of columns in search stats
 * Moved search stats to gui side. Use the same callback as the
   search monitor to get information from backend.
 * Fix search stats so that a change in the update interval does immediatly
   take effect.
 * Expanded search_request_listener signature to contain a query type and
   a query string. This way the gui can decide how to handle SHA1 queries.
   (Search monitor displays them, search stats drop them)
 * Fixed up search monitor to handle SHA1 queries on the gui side.
 * Moved all search stats properties to gui.
 * Moved more stuff out of callbacks.[ch]
 * Moved build_url_from_download from misc.c to downloads.c
 * Moved gtk_gnutella_exit prototype to common.h
 * Cleant up gui.[ch]. Moved code to downloads_gui.[ch] and search_gui.[ch]
 * Made column headers insensitive for tables that can not be sorted.
 * Moved node_ip and message_dump from misc.c to nodes.c
 * Added upload_kill() to uploads.[ch]
 * More include cleanups for gui<->core separation
 * Export host_clear_cache in gnet.h

- (2002.08.27 - RAM)
 * When swarming: if we do not upper-bound the chunk, display a "+" after the
   displayed chunk size in the download Range column.
 * Banned URLs with an /uri-res/N2R? were not properly recorded/persisted.

- (2002.08.27 Richard)
 * Moved vendor code resolving to vendors.[ch]
 * Added ARES to known vendors 
 * Juggled includes: 
   - All GUI modules should include gui.h
   - All CORE modules shound include gnutella.h
   - Both, gui.h and gnutella.h include common.h
   - Any module included by common.h may not include any module from
     the GUI or CORE. 
   Later we will moved files belonging to the different sections of
   gtk-gnutella to sub-directories.
 * Moved more gui initialization and shutdown code to main_gui.c
 * Moved main gui timer to main_gui.c
 * Moved loading of legacy config file to main_gui.c
 * Moved search_extract_host from search.c as node_extract_host to nodes.c
 * Display message in statusbar when manuall connection to node failed
 * oldconfig.c is now considered GUI code (needs to access gnet and gui
   props)
 * Properly update GUI when listen_ip or listen_port changes
 * Moved all code from share_gui.[ch] to monitor_gui.[ch]
 * Moved gui_new_version found as version_new_found to version.c
 * Removed gui init calls from share.c

- (2002.08.26 - Vidar)
 * Added a node whitelist. Listed entries will always be allowed a
   connection, and we will actively try to stay connected to them.

- (2002.08.26 - RAM)
 * When cloning downloads, was properly duplicating "push state" of the clone.
 * Fixed assertion failure when bumping into a BUSY chunk (fixes bug #600272).
 * When HTTP/1.1 download chunk is done, mark it as "Chunk done" and not
   as "Completed" to avoid confusion.
 * Fill in Range column of downloads with the actual range requested.

- (2002.08.26 Richard)
 * Added Vidar to the "About" dialog
 * Fixed minimum speed callback in search pane (connect after now)
 * Adjusted lots of files to the new function names exported from
   search.[ch] and search_gui.[ch]
 * Moved all GUI code from search.c to search_gui.c and have them
   communicate via callbacks. Still there is work to do cleaning up
   includes and function naming.
 * search_xml.[ch] are now considered GUI code. As are filter.c, filter_gui.c
   and filter_cb.c, since the saving/restoring of searches/filters and all
   the filtering takes place inside the GUI. The backend is only responsible
   to collect search results and push it to the GUI.
 * search.c and nodes.c use a g_hash_table now to resolve handles and don't
   map the internal pointers directly as handles.
 * current_search is no longer exported and must be accessed through
   search_gui_get_current_search().
 * __search_send_packet uses minimum speed setting from search and not
   global default minimum speed setting.
 * Moved from gnet_props.ag to gui_props.ag (reset to default on startup):
   - PROP_MINIMUM_SPEED (now PROP_DEFAULT_MINIMUM_SPEED)
   - PROP_FILTER_DEFAULT_POLICY
 * Added "Range" column to active downloads
 * Move lots of callbacks from callback.[ch] to search_cb.[ch]
 * Clobbered some more unwanted includes in several files

- (2002.08.25 - RAM)
 * Use /dev/urandom to initialize seed on systems that have it.
 * Skip empty lines silently when retrieving banned mesh entries.
 * Added support for HTTP/1.1 connections on downloads.
 * Swarming code now uses persistent connections and tailored range requests
   when remote server is known to support HTTP/1.1.
 * GUI will now report proper completion speed for the range requested.
 * Could think we were disconnected from the Internet when not making any
   outgoing connections, whilst still receiving some.

- (2002.08.24 - RAM)
 * Fixed style issues in fileinfo.c.
 * Mark changes to the dl_by_time list so we know it was modified when we
   are iterating through it.
 * Converted download mesh to zone allocator.
 * Added banning mesh to avoid filling the mesh with URLs we know are bad.

- (2002.08.23 - RAM)
 * Properly reparent all downloads after a file_info_recreate() call which
   creates a new fileinfo structure to supersede the old one.
 * Dump handshaking header on misparsing to stderr, if debugging.
 * Fixed misparsing of header fields: allow spaces before the ':' separator.

- (2002.08.23 - Vidar)
 * Added a missing status reset in search.c, which should fix the wrongly
   set Push flags.

- (2002.08.22 - RAM)
 * Refactored scheduling of chunk ranges, and re-enabled checks for completed
   file in the "done" directory when swarming.
 * Detect disconnection from Internet sooner: 150 seconds instead of 300.
 * Doubled allowed max line size and header sizes because too many broken
   servents don't use header continuations yet, although it's a standard!

- (2002.08.22 - Vidar)
 * Fixed Search Monitor to display urn:sha1-queries properly.
 * Changed fileinfo.c to use hashes instead of a linked list.
 * Made manual node 'Add'ing accept a ":port" suffix.

- (2002.08.20 - RAM)
 * Integrated Christophe Tronche's patch to schedule alternative sources
   from the download mesh.
 * Stopped downloads now get requeued immediately and no longer lag in the
   upper pane.

- (2002.08.20 - Vidar)
 * Added fuzzy autoselection in Search pane.

- (2002.08.19 - RAM)
 * Suppress warning about "truncated fileinfo" when file was empty.
 * Use SHA1 to create a decent random seed, portably (no use of /dev/urandom).
 * All bytes of message GUID are now random: removed internal message counter.

- (2002.08.18 - RAM)
 * Defer disposal of vendor string in nodes for GUI display.
 * Added duplicate detection and eviction in fileinfo retrieval.
 * Only sync metainfo to files every 10 seconds or so, not at every write.
 * Fixed the crash when aborting a stopped download.
 * Try to smartly ignore the Push flag and attempt direct connection, since
   many broken servent wrongly set the flag.
 * Stop scheduling downloads when we detect we're no longer connected.
 * Query hit parsing now resets Push flag on servers known to wrongly set it.
 * When comparing filesizes for auto-downloads, account for the possible
   swarming trailer within the "download" directory.
 * Fixed stupid typo in atoms that caused final memory fault.
 * Forgot to dispose of file_info structure during final download shutdown.
 * No need to flush fileinfo trailer when resetting chunk states for downloads
   that are moved back to the queue.

- (2002.08.17 - RAM)
 * Integrated swarming patch from Vidar Madsen.
 * Will now drop query hits with bad SHA1 records.
 * Obsoleted "appconfig.h".  Superseded by the new property system.
 * Ensure `search_table' is initialized early in the process.

- (2002.08.15 - RAM)
 * Re-organized firewall detection code, and added Internet connection
   monitoring.

- (2002.08.15 - Richard)
 * Support NULL as default value of string properties.
 * Fixed default listen port (typo)
 * Don't display "no new version" in the statusbar all the time.
 * Set default min/max values (0x0000000/0xFFFFFFFF) for guint32
   properties when not specified in .ag file.
 * Ignore incomplete number-vector config lines when reading in
   legacy config file.
 * Check value of PROP_NODE_SENDQUEUE_SIZE when PROP_NODE_SENDQUEUE_SIZE,
   PROP_SEARCH_QUERIES_KICK_SIZE or PROP_SEARCH_ANSWERS_KICK_SIZE are
   changed and adjust when needed.
 * Mapped more properties in GUI.
 * Debug levels configurable from GUI.
 * Makefile target to generate sources from the glade file is now
   glade_files in both Makefiles.
 * Fixed bug: changes to bandwidth settings have no effect.
 
- (2002.08.14 - RAM)
 * Send them back a "501 Method not implemented" if we can't figure out
   what they send and we see the string HTTP somewhere.
 * When listening port changes, move back to firewalled state
   (fixes bug #594477).
 * The "is_firewalled" flag is now handled by the property system.

- (2002.08.14 - Richard)
 * Updated scan extensions (Affects 583093)
 * Changed label of the "remove downloaded" checkbutton to explain that
   we only mean to remove items manually selected for download. 
   (Closes 594503)
 * Changed tooltip texts of "firewalled" and "not firewalled" icons.
 * Added preliminary configuration interface and properties for swarming.
 * Made callbacks for GtkToggleButtons and GtkSpinButtons automatic and
   generic when connecting them to the property system. Callbacks for those
   widgets are not defined within Glade, but added automatically when the
   widget is bound to a property.
 * Always update vendor and protocol information when updating node information.
 * Removed all spinbutton callbacks which modify a property from settings_cb
   and from the glade file and add callbacks for them manually in
   settings_config_widget(). All call a common callback function which makes
   use of the property map in settings_gui. Some special cases are filtered
   out in this common callback function (spinbutton_adjustment_value_changed).
    
- (2002.08.13 - Richard)
 * Introduced property system. A property can be monitored for changes.
   They are defined in the gui_props.ag and gnet_props.ag files. From those
   the actual C sources are generated with autoconf. Properties can be 
   persistent and thus make the old config.c obsolete. oldconfig.c acts
   as a legacy config loader. If none of the new config files are found,
   it will read in the old config file and save to the new ones on exit.
   The tooltips of widgets and (where applicable) the bounds of values
   enterd into the widgets are also read from the property definitions.
 * Creating a separation layer between GUI and core. The property system is
   part of this. gnet.h contains the core API and common definitions.
 * Added 'properties' target to Makefile to regenerate the property source
   files.
 * Changed all GtkSpinbutton callbacks to react on the "changed" signal 
   instead of the "focus lost" and "activate" signals. (Closes #558906)
 * Changed some more GtkEntries to GtkSpinbuttons
 * Added "Default reissue timeout" to gnet config pane
 * Reissue timeout is configurable individually for every search and
   persistent.
 * Recoded a lot of the callbacks and moved them from callbacks.c to
   various other _cb files, mainly to settings_cb.c
 * Recoded a lot of the update calls from gui.c which were responsible
   of updating the GUI when a config variable was changed. This is done
   via callbacks by the property system now. Moved most of the property-
   change callbacks to settings_gui.c.
 * Moved other calls which update the GUI when something in the core has
   changes from gui.c to nodes_gui.c, search_gui.c or statusbar_gui.c.
 * Small changes to various files to make them work with the property system.
 * Created custom gtk_spin_button_get_value which parses the value to a 
   double instead of a float.

- (2002.08.11 - RAM)
 * We know that gtk-gnutella hosts support /uri-res if they returned HUGE data.
 * Renamed socket_monitor_incoming() as socket_timer().
 * HTTP server now at the 1.1 level, supporting persistent connections.

- (2002.08.10 - RAM)
 * Added RCS Id expansion to all source files.
 * Fixed display of hosts in cache (fixes bug #585830).
 * Fixed display of servent ID in the Info column, vectorized flags procesing.

- (2002.08.09 - RAM)
 * Forgot to update filename counters when server replied with 301.
 * All protocol exchanges now logged at dbg=3.
 * When closing node connection, don't log EOF as a failure: stick to the
   original BYE condition.

- (2002.07.27 - RAM)
 * Finished writing download_redirect_to_server().

- (2002.07.13 - RAM)
 * Forgot to initialize GUID in results_set after switching to new
   zone allocators (fixes bug #580817).
 * Now also triggers "Nothing more to get" when the file to download
   is smaller or equal than something we have in the "done" dir,
   preventing eclosion of .01, .02 files...

- (2002.07.11 - RAM)
 * Installed workaround for the reception of SIGPIPE on broken systems,
   despite explicit SIG_IGN action (but does not fix bug #578151).
 * Added zone allocators.
 * Forgot to send "Content-Range: bytes */size" on HTTP 416 errors.
 * Refactored download scheduling queue for scalability.
 * Optimized pattern matching and searches further.
 * Remove assert in gmsg_cmp(), a routine called many times!

- (2002.07.11 - Richard)
  * Fixed segfault when creating new IP rule
  * Fixed some widget names in filter_gui.c which caused the wrong
    widgets to be updated when editing a size or text rule.
  * Fixed "widget not found: popup nodes remove" warning

- (2002.07.10 - Richard)
  * Fixed two serious typos in filter_gui.c causing removed filters
    to be removed from dialog. gtk-gnutella would crash when selecting
    such a filter.

- (2002.07.09 - Richard)
  * Have two versions of share_gui (API compatible), one for Gtk1 using
    a GtkCList and one for Gtk2 using a GtkTreeView (GtkListStore)
  * Optimized redrawing of download queue.
  
- (2002.07.09 - Richard)
  * gtk-gnutella is now compatible with Gtk2. To compile against Gtk2, 
    use the --enable-gtk2 switch with the configure script.
  * Now have two glade files, one for Gtk1.2/Glade 0.6.4 and one for
    Gtk2/Glade 1.1.0. The format is not trivially upgradable, so for
    a while changes will have to be maintained in both files, until
    we abandon Gtk1.2.
  * Remove the extern.tcl HACK. Now using the Glade-way of doing things
    with a lookup_widget() call.
  * Also now have interface-glade[12].[ch] and support-glade[12].[ch].
    Depeding on which version of Gtk you compile against, the one or
    the other will be included in gui.h and linked against. Don't
    include any of the files directly, include gui.h instead.
  * Added some _gui.h files. The gui.[ch] files are too monolothic and
    there are still gui calls in some backend files. Those should be
    moved to the corresponding _gui.[ch] files from now on. 
    Actually we will need 3 files: 
    - backend (model: what will one day become the lib/deamon api) 
    - gui (view: gui modification/update and callbacks)
    - control (controller: application workflow)
    Backend and gui should not communicate directly with each other, but
    must call the control layer to mediate. We should already now try
    to separate into gui and backend parts. The control layer is still
    spread across the callbacks and what we now have as "gui.c" or
    "_gui" files.

# v 0.90   2002.07.07  [stable]

Highlight of changes (user-visible):

- All configuration can now be made from the GUI.
- Fully redesigned search filters to work like ipchains/iptable on Linux.
- Obsoleted experimental "auto-download", superseded by the new filtering code.
- Added Gnutella bandwidth management.
- Both HTTP and Gnet bandwidth is now displayed real time.
- Added full HUGE support (Hash/URN Gnutella Extensions).
- Added support for local host preference.
- gtk-gnutella can do traffic compression when connecting to a node that
  also supports it.
- Upload and downloads will now show User-Agent/Server information.
- Added status to the download queue.
- You can now freeze the download queue whilst manipulating it.
- Searches can now be listed on the left side of the screen, or as tabs like
  in the previous versions.
- Added automatic banning of servents that are hammering us.
- Many more cool new features that you'll discover whilst playing with it.

- (2002.07.07 - RAM)
  * Raised limit for requeries from 300 to 600 seconds.
  * Updated manual page.

- (2002.07.06 - RAM)
  * In case there are unfreed atoms at exit time, dump their values.
  * Don't forbid connections to local host on different port.
  * Allocate only minimal amount of memory when simply validating query hits.
  * When notifying for new versions, distinguish between releases and
    development, and show their timestamps.
  * Protected more warnings to show only in debugging mode.
  * Default TX flow-control timeout of 300 was too much: reduced to 60.

- (2002.07.05 - RAM)
  * Random cleanup: sanity checks in query hits and pongs, RX timeouts.
  * host_init() was spuriously declaring pcache_init() in its body.
  * Don't enter SHA1 filtering rules for records with no SHA1 [From Richard].
  * Added regular alive pings.
  * Preserve status message when moving stopped downloads to the queue.
  * Will now send "connection" pongs during the first 5 minutes of startup,
    even if it thinks it's firewalled, in the hope we'll get an incoming
    connection.

- (2002.07.02 - Richard)
  * Added "Apply" and "Revert" buttons to filter dialog
  * Made the "filter enabled" state work with shadows
  * Added "Add/Replace" and "Abort" buttons to rule editors
  * Removed double meaning of "Ok" button in filter dialog and replaced
    that with the "Add/Replace" button in the rule editors
  * Filter rule count, rule list and enabled/disabled states should
    properly show after a apply/revert
  * Try to preserve expansion state of nodes in the filter tree.
  * Removed the notion of a "session" from the filter code. Now 
    filters_current, filters_added and filters_removed are always expected
    to have valid content.
  * Gave search_xml access to the filters_current list to properly load
    the saved filters.
  * Added missing "if (filter_dialog == NULL) return" to some callbacks.
  * Try to reduce list updates in filter window to a minimum.
  * Fixed some debug messages where refcount was shown wrong.
  * Increased debug level on rule matching.
  * Pressing [enter] in search results list will download the selected items.

- (2002.07.02 - RAM)
  * Will no longer be tricked into saying it's not firewalled because a local
    connection to the node is attempted. (fixes bug #562127).
  * Added pseudo-extension "--all--" which allows to share all files, whether
    they have an extension or not [Debian patch from Zygo Blaxell].
  * Don't enter ourselves in the pong/host cache.
  * Typo minumum -> minimum in GUI.
  * When overriding upload slots, use recent bandwidth for computation, not
    the average, or we'll override more often when the limit is raised.
  * When "Nothing more to get" on downloads. remove all identical files from
    the queue as well.
  * Avoid needless display flickering in search screens [From Richard].
  * During shutdown, make sure we neither accept nor make Gnet connections.
  * Ignore XML size in QHD for Swapper.
  * Remove freeze/thaw calls to node clists during update.

# v 0.90   2002.07.01  [beta2]

Highlight of changes (user-visible):

- Bug fixes and slight improvements.
- Greatly enhanced auto-selection in searches to use far less CPU.
- Will now warn user when encountering a newer version of gtk-gnutella.
- URN searches now supported, by typing "urn:sha1:" in search text, followed
  by the base32 value.

- (2002.07.01 - RAM)
  * Added configure check for mandatory zlib.
  * Was wrongly stopping at GGEP magic byte when grabbing XML extension.
  * Optimized GUI update of node information, traversing list once only.
  * When closing a search, remove pending messages from all the search queues.

- (2002.06.30 - RAM)
  * Tuned auto-selection in search window to be an O(n) algorithm instead
    of O(n*n), which greatly improves performance [From Richard].
  * Protected a few pong-cache warnings, so that they be emitted only
    when running in debugging mode.
  * When removing completed downloads from queue, also remove first-order
    aliases by SHA1, if available.
  * Fixed upload crash when we can't send back the whole HTTP status
    [From Paul Cassella].

- (2002.06.29 - RAM)
  * More Solaris fixes [Uros Bizjak, patch #575037].
  * Added hardwired list of servent GUIDs to ban for push routes.
  * Now banning GUID "20d262ff0e6fd6119734004005a207b1" for push routing.
    (this GUID seems to be bundled as a constant in Morpheus)
  * Rationalize right-click menu handling in all panes [From Richard].
  * Fixed crashes with the filter popup window when search was closed
    before the filter popup [From Richard].

- (2002.06.28 - RAM)
  * Portability fix in socks v5 code [From Bruce Momjian, patch #574919].
  * Portability fixes for FreeBSD [From Aron, patch #574111].
  * Can now enter an urn:sha1: search directly (will beep if invalid).
  * Simplified URL parsing, and accept leading http:// case-insensitively.
  * Raised BYE grace period to 30 seconds to be compatible with shutdown grace.
  * Don't flag as new a version bearing the same timestamp as ours.
  * Don't throw away node from hostcache if we can't connect due to lack
    of file descriptor.

- (2002.06.27 - RAM)
  * Stop all processing for 0.4 handshaking after Tue Jul  1 00:00:00 2003.
  * Added configure check for glib >= 1.2.10 [From Richard].
  * Make sure GUI configuration for download overlap does not exceed the
    size of the socket's buffer [From Richard].
  * Added version checking: gtk-gnutella will now warn when it sees a newer
    version than itself.
  * Fixed base32 decoding to use gint8 instead of gchar to be sure to
    get signed characters.
  * Removed heartbeat warnings about skewed clock when not debugging.
  * Fixed dynamic upload slots spinbutton sensitivity (fixes bug #574592)
    [From Richard].
  * Changed getdate to parse dates as DD/MM/YYYY, not as MM/DD/YYYY.
  * Fixed Gnutella size reading in message headers: alignment constraints
    would cause a bus error on some CPUs.
  * Added configure check for strcasestr(), which is present on some systems.
  * Better seed the random number generator.

- (2002.06.25 - RAM)
  * Did not include proper gui.c version in 0.90 beta.
  * Do not abort when regular expression in queue matching is invalid!
  * Avoid using all file descriptors for banning.  Now configurable via two
    new config variables, namely ban_max_fds and ban_ratio_fds.
  * Fixed bug in dmesh_url_parse(), caused by buggy sscanf(), grrr...

# v 0.90   2002.06.24  [beta]

History of changes since 0.85 stable:

- (2002.06.24 - RAM)
  * Debian package now requires glib1.2 >= 1.2.10.
  * Added warning in dmesh_alternate_location() in case we overflow buffer.
    Also check returned val from g_snprintf() to account for trailing NUL.
  * Integrated Richard's filter cleanup patch.
  * Added nicer servent name for two new servents: RAZA and SWFT.
  * Mark callout queue event as freed to avoid memory corruptions in case
    of misuse (i.e. usage bug).
  * Forgot that dm_expire() could empty the mesh entry (fixes bug #573027).
  * Fixed buggy node_remove_non_nearby() (closes bug #572918).
  * Added vendor information to warning about improper pong-caching.

- (2002.06.23 - Richard)
  * Added RETURN back to filter tree on request
  * Enabled stats for RETURN
  * Free rule clipboard before exiting to prevent dmalloc from suspecting
    a memory leak.
  * Update credits
  * Made vertical scrollbars at some points always visible to reduce 
    flickering

- (2002.06.23 - RAM)
  * Forgot that scheduling in callout queue uses milli-seconds units: was
    purging uploading mesh info too often.  Also added mesh info traces.
  * Added periodic savings of the search/filters.
  * Saving of search.xml is done to a .new file, renamed upon success,
    to prevent one loosing precious data in case of a crash whilst saving.
  * Forgot to clear callout queue callback info before freeing structure
    (fixes bug # 572800).
  * Fixed root cause of GTK critical warnings regarding progress bar.
  * Forgot to include Alex Bennee in AUTHORS.
  * Make sure we detect a duplicate node connection before dropping a node
    in favour of a local one (fixes bug # 572748).

- (2002.06.23 - Richard)
  * Also set foreground color for root nodes and builtin targets in 
    filter dialog
  * Removed "search again" items from download/queue popups
  * Correctly unselect when doing a "connect to host" on download/queue popup
  * Don't display RETURN target in filter tree. Stats don't work properly
    and it's actually a metatarget which is not intersting to see.
  * Removed coloring of builtin targets in filter dialog because I can't set
    the foreground of the leave node.

- (2002.06.23 - RAM)
  * Fixed size computation problems when generating alternate location header.
  * Now displays Server name in downloads as soon as it is known.  Previously,
    it needed to be known beforehand (from a previous try) to be displayed.
  * Obsoleted old "autodownload" feature, since we now have more flexible
    download selection features with the filter chains.
  * Mesh information will now only be sent to uploaders when a change occurred.
  * Christophe Tronche was missing from AUTHORS.

- (2002.06.23 - Richard)
  * Fixed bug: active downloads not unfreezed after "force push"
  * Mark active "push mode" downloads and "always push" downloads in queue
  * Tagret combos are correctly updated when adding and removing a filter
  * "About" box added.
  * Added builtin targets to filter tree to have the stats (not selectable)
  * Added stats to builtin targets
  * Remember node state in filter tree
  * BEEP if user tries to create filter with invalid name (empty or filter
    with same name does already exist) It's not a problem to have two
    searches for exactly the same though.
  * added filter_find_by_name_in_session routine to filter.c (used to 
    determine wether a filter name is valid, i.e. does not exist)

- (2002.06.22 - RAM)
  * Fixed memory leak in search queues.
  * Fixed possible use of uninitialized value in analyse_status().
  * Added debugging traces in huge.c cache flushing... Which made the
    problem I witnessed go away.
  * Unplugged non-functional QRP stuff.

- (2002.06.22 - Richard)
  * Added STATE rule which uses the DOWNLOAD and DISPLAY filter result
    properties for the condition.
  * Added RETURN target to filter dialog. It aborts the processing of the
    current chain returning to the caller.
  * Make filter root-nodes in filter dialog not selectable
  * Builtin filter targets have uppercase names.
  * Removed cruft: search_strict_and
  * Synced GUI limits with config reader limits. (Closes #557681)
  * Removed "autodownload" checkbox from GUI and deleted it's callback
    This is to be replaced by the filtering system.
  * More cleanup of the config.c file
  * Rule count in filter tree is correctly updated when a rule is
    inserted/removed.
  * #527208 is closed since autoselection does respect hashes since
    a few days.
  * Hopefully now really fixed: access rule members after freeing the rule in
    filter_replace_rule_in_session
  * Added filter_gui_update_rule_count call to filter_gui
  * Rename old searches file when moving to XML mode instead of delting.
    Also move this from search_init to search_shutdown.
  * Item count above results list is correctly updated when the
    search is cleared.

- (2002.06.22 - RAM)
  * Bandwidth limit is now up to BS_BW_MAX, included.
  * Now attempts to free memory as soon as a search record is removed from
    the GUI, and not when the search is closed.
  * Would be omitting to send a SHA1 starting with a leading NUL byte.
  * Forgot to clear the node's search queue at final cleanup.

- (2002.06.21 - Richard)
  * BUG: access rule members after freeing the rule in 
    filter_replace_rule_in_session
  * Added popup to rules list in filter dialog (copy/paste rule)
  * Made filter_free_rule public

- (2002.06.21 - RAM)
  * Forgot to free dmesh slots sometimes.
  * General cleanup to be able to compile with dmalloc.
  * Watch out the g_snprintf() return code: it can return more than the
    buffer size with glibc >= 2.1.

- (2002.06.20 - RAM)
  * Was not properly parsing more than one GGEP extension block in a row.
  * First take at download mesh implementation, with code refactoring.
  * Lowered max banning period to 3 hours, instead of 1 whole day.
  * Removed the gnotella.fileflash.com host cache: host no longer exists.
  * New date_to_iso_gchar() to emit the ISO date for the download mesh.
  * Now keeps track of the time we received the query hits, for the
    download mesh.
  * Simplified parsing of the query hit trailer, keeping only the vendor
    code around instead of the whole trailer.  Adapted sorting algorithm
    accordingly.
  * shared_file_by_sha1_base32() is no longer used (share.c).
  * New url_escape_into() routine (url.c).
  * HTTP status parsing routine now called http_status_parse().

- (2002.06.20 - Richard)
  * Bug: segfault during autoselection (NULL rowdata) (Thanks Daniel)
  * Filtering now supports multiple properties to set (display/download)
  * Added "Auto-download by [name|hash]" to search popup
  * Changed valid values for the filter_default_policy config value from
    0,1 to 1,2 (mapped on load for backward compatibility)
  * Changes in filtering code make all filter stats count double
    (one count for every property).
  * merges search_gui_update into search_matched (search.c)
  * split search_gui_add_record out of search_gui_update

- (2002.06.17 - Richard)
  * Bugfix to "Autoselect identical" is handled
  * Column visibility is persistant in search panel

- (2002.06.16 - Richard)
  * Added ability to filter by urn:sha1 and by flags (push, stable, busy)
    (urn:sha1 filter is not editable yet)
  * Added "Don't show results with urn:sha1" to search popup
  * Added "Edit filter" back to search popup
  * Changed header of urn column in search results to "urn:sha1" and
    centered it
  * Added "Abort all with urn:sha1" to downloads and queue popup.
  * Made the download_remove_all* return the number of removed downloads
  * Display the number of removed downloads in the status bar
  * Freeze queue and downloads list when acting on a "Abort all..."
  * When a new rule or filter is added, display "new" instead of
    "none yet" in the stats column to show that this filter will
    not be used unless the user closes the filter dialog with "Ok".
  * Started to use scid_info for general temporary information in 
    the status bar.
  * Make autoselection also select files with the same hash as the
    selected in addition to those with the same name
  * Added "Globally drop results with [name|urn:sha1]" to search popup.
    I wanted to be able to drop definite spam once and for all.
  * Netmask for ip filter rules defaults to 255.255.255.255
  * Column visibility in search pane now affects all searches
    (internally the visibility state is propagated from the old to
    the new clist on a switch)
  * Added "Autoselect identical" checkbutton to search pane.

- (2002.06.15 - Richard)
  * Added URN column to the search results (hidden by default)
  * Made gui and backend use same code for comparing records
    (search_compare). 
  * Made passive searches persistant

- (2002.06.15 - RAM)
  * Propagate SHA1 from query hits to download requests.
  * Now recognizes old base32 encoding, translated into new one.
  * Had not properly plugged in the 301 Moved triggering for uploads.
  * Until we have received a message from nodes, handle them with the
    "connecting" timeout.  This works because of the handshaking ping.
  * Reworked upload HTTP parsing so that we can handle HEAD requests on
    /uri-res/N2R? queries as well.
  * Download code will now honour 301 Moved replies from other nodes.
  * Added debugging traces for queries/hits holding more than 32 extensions.

- (2002.06.13 - RAM)
  * Added rigorous extension parsing.
  * Fixed hash table init for GUID/SHA1 atoms.
  * Make sure we use POSIX extended regular expressions.
  * Added strcasestr() routine to misc.c.
  * Now extracts SHA1 out of query hits for each record.
  * Now validates SHA1 representation in queries, dropping bad queries.
  * Fixed handling of GET /uri-res/N2R: the "urn:sha1:" part is a
    case-insensitive string.  Likewise when extracting SHA1 from HTTP headers.

- (2002.06.11 - Richard)
  * Fixed bug: default filter not set on passive searches.
  * Fixed bug: rule editor not properly cleared when work_filter
    gets removed because it's bound search got removed
  * Fixed bug: filter dialog size not remembered correctly
  * More clean up of the filter api
  * More moving gtk code to from filter.c to filter_gui.c
  * Adding/removing of filters is also shadowed now (meaning you can
    cancel it in the dialog)
  * Added calls to bypass shadowing for adding and removing rules.
  * Added "Don't show selected" to search popup. This adds a drop rule to
    the search filter for all files which match exactly the filenames from
    the selected records. It does not jet check for duplicates.

- (2002.06.08 - Richard)
  * Remove optionmenu widget for selecting filters from filter dialog
    and added a tree instead.
  * Filters can now be deactivated
  * Added some buttons to reset filter/rule stats
  * Started to split up callbacks.c/h and filter.c/h and created
    filter.c (controller), filter_cb.c (callbacks) filtler_gui.c
    (gui calls). This is a first attempt to seperate backend from
    frontend calls so we don't fix something up now and tear it
    apart later. Better try to do it right from the start.
  * Fixed bug: bw_ul_usage_enabled was not properly persistant
  * Added general macros to set/clear flags to misc.h
  * Added a flag_t type for storing flags binary (use with above macros)
  * Filter stats update periodically

- (2002.06.07 - RAM)
  * Added atoms, allowing sharing of common constants.
  * Made callbacks.c use new gui_allow_rescan_dir().
  * Raised default TTL to 7 (was 5) and default max TTL to 10 (was 7) to
    match what appears to be a common setting in other servents.
  * Plugged in atom strings for downloads.c, huge.c, main.c, search.c,
    share.c and uploads.c.
  * Moved Gnutella query message definitions from search.h to gnutella.h.
  * When non-local nodes are removed to favor local ones, send BYE 202 messages.
  * Second stab at QRP: Computes routing table patches incrementally.
  * Now requests URNs in all our queries.
  * Reworked library scanning to use atoms, and in particular store the full
    file path as an atom (shared with huge.c in the SHA1 cache).
  * Added support for transparent index remapping for older servents sending
    a request with an incorrect index.
  * Made common warnings in sockets.c silent unless debugging enabled.
  * Fixed improper dump of incoming data on first long lines.
  * Send a 301 Moved with proper Location redirection when requesting a file
    with an improper index and an X-Gnutella-Content-URN is given and does
    not match the request, but another file we have.
  * Added incremental deflating routines for QRP patch compression.

- (2002.06.03 - RAM)
  * Fixed improper semantics of the "contains words" filter.  ALL the
    words must be present for a match to occur.

- (2002.06.02 - Richard) 
  * Format of RULE_SIZE display string changed.
  * Added "Create filter" button to dialog.
  * Normalize upper/lower value in filter_new_size_rule()
  * Replaced all g_message calls with printf (fixes log corruption)
  * Filter rules can now be deactivated
  * When a filter has the "don't display" target, the user may choose
    to grey out the result instead of completely dropping it using the
    "mark only" flag.
  * Make filter dialog size persistant.
  * The xml backend gives better information when unable to read in the
    xml file and can cope with missing rule flags.
  * Information about how often a rule matched is displayed in the
    filter dialog (but not updated periodically)
  * Fixed default filter selection when adding a new search.
    
- (2002.06.02 - RAM)
  * Added build dependency on libxml2-dev in debian control.
  * Force --enable-xml-store in debian's build.
  * Will now prevent propagation of badly formed/too short queries.
  * Replaced more gtk_idle_add() calls with g_idle_add().

- (2002.06.01 - Richard)
  * Disabled xml backend by default. Use "configure --enable-xml-store"
    to enable it. You need libxml2 and libxml2-dev packages installed 
    for it to work.
  * Fixed bug: assertion failure when trying to edit filters without
    any search existing.
  * It's no longer possible to edit the builtin filters (was a bug
    that this was possible).
  * Added widgets to configure the minimal upload b/w percentage patch 
    [From Tobias Frech] to the bandwidth config panel.
  * Changes build scripts to remove dependency on gnome-config and 
    added checks for libxml2.

- (2002.05.30 - Richard)
  * New filter code and dialog.
  * Moved from callback.c on_search_switch as gui_view_search to gui.c 
  * Changed searches list from GSList to GList.  
  * Use search_t instead of struct search.  
  * Began to move search related gtk code to gui.c (gui_search_close) 
  * Optionally use xml backend or simple text file for makeing searches
    persistent.  
  * Use "search_close" instead of manually closing searches in
     search_shutdown().
  * Changed handling of "minium speed" widget. You can change the minimum 
    speed on a existant search and change the default minimum speed on the 
    gnutellaNet config pane.
  * Moved the gui part of removing a search from search.c to gui.c 
  * Removed macro definitions of the notebook page numbers
    and switched to enums.  
  * Moved main_window and shutdown_window to gui.c and have them as externs 
    in gui.h 
  * Added gui_show_search(search).
  * Added some functions to handle option menus more easily (gtk-missing)

- (2002.05.29 - RAM)
  * Added date parsing.
  * Now parses Retry-After in HTTP replies, supersedes user-defined timeouts.
  * When banning, emmit a Retry-After header.
  * Renamed getdate() to date2time() to avoid conflict on Solaris.
  * Integrated minimal upload b/w percentage patch [From Tobias Frech].

- (2002.05.27 - RAM)
  * Fixed ipf_unban() to test rounded integer counter and not float in removal.
  * Was not properly updating SHA1 info when library was being rebuilt.
  * Was not properly sending back urn:sha1 in query hits (truncating the
    ':' separator).
  * All SHA1 digests are now stored in binary internally.
  * Added padding chars to base32 encoding, and "const" in the signatures.

- (2002.05.24 - RAM)
  * First stab at QRP.  Computes the routing table, but it is not used yet.
  * Added QRP message definition.
  * Callout queue is now a global service and is initialized from main.
  * Scan library after GUI is brought up.
  * Was not accounting Gnet header traffic as Gnet bandwidth.
  * Added anti-hammering feature, that will ban users sending more
    than 10 requests per minute (sliding window).
  * Always honour HEAD requests, even when busy, provided no hammering.

- (2002.05.24 - Richard)
  * allow shrinking of main window to smaller then minimum size required
    by the child widgets
  * Added a optional search list to the sidebar. Displays: search name,
    hits, new hits (number and color), paused searches (color)
  * Made tree menu resizable in both directions.
  * Added "copy url" item to queue popup
  * Added "connect to host" item to queue and downloads popup
  * Added "configure columns" item to search results popup.
    Note: the visibility state of the colums is not persistent, this
    is only a proof of concept for the selection widget yet.
  * Carry information about which tab is associated with which menu item
    from the tree menu directly in the user_data of the node instead
    of in a static array.
  * Freeze clists during all actions which take place on the the selection.
  * Replaced g_assert(0) with g_assert_not_reached() where found.
  * Made "unselect" signal callback for downloads and queue call the
    "select" signal. Same actions needed.
  * Instead of unrealizing and removing the arrow widget, just destroy
    it. 
  * If the tab in notebook_main is switched, the tree menu reflects the
    change.
  * Fixed bug which caused both, "firewalled" and "not firewalled" icons
    to be displayed when hiding and then showing the statusbar again.
  * Increased default sidebar size to 128 pixels. (closes #558890)
  * Almost finished cleaning up config.c. The config file looks much
    cleaner again.
  * Use gtk_events_pending() instead of g_main_pending() in gtk_main_flush().
  * Add hack to set the internal column name in a clist. Currently this is
    needed for the GtkColumnChooser widget to work properly.
  * Moved menu initialization from main.c to gui.c. This means most of
    the gtk stuff is now removed from main.c
  * Added more enums to gui.h to describe important gui values (like
    giving names to notebook pages)
  * Moved the updateing of the traffic stats from gui_update_global() to
    gui_update_traffic_stats and only call it in the main timer. No need
    to call it more often (gui_update_global is called from some callbacks
    and stuff).
  * Made notebook tabs in search results tab not hide if there is no search.
    This had conflicted with either showing tabs or sidebar list.

- (2002.05.21 - RAM)
  * huge.c: cast all file sizes to long before printf("%ld") since some
    machines have 64-bit off_t (but Gnuetlla only has a 32-bit field for
    propagating file sizes, so it does not matter).
  * Forgot to emit initial header when appending values to disk SHA1 cache.
  * Hacked a quick fix for the duplicate SHA1 work problem.
  * downloads.c and huge.c: Another batch of off_t args cast into gulong.
  * Added UTF-8 decoder for queries, and transformation to ISO-8859-1.
    The query text are now interpreted as ISO-8859-1 by default, unless
    the query "looks like" UTF-8.  In any case: no full Unicode support.
  * Fixed search statistics scheduling mess, and removed spurious main
    initialization since GUI settings already triggered search_stats_enable().

- (2002.05.20 - RAM)
  * When queuing a download from the same GUID/file, check the IP:port in
    case it changed since we queued it, and not solely reject it as a
    duplicate.
  * When the full SHA1 hashing credit is not used, do not perform the
    feedback adjustment, since those assume all the credit was used.
  * In share.c: now uses gtk_main_flush() to update the GUI, not the single
    loop iteration.
  * uploads.c: fixed segfault at shutdown time (dup free of user_agent field).
  * Honour X-Gnutella-Content-URN in requests and send a 404 error if
    the file we have does not match.
  * Will now send back X-Gnutella-Content-URN in the HTTP reply with the SHA1
    (if we have it) on 503 Busy errors.
  * Applied cleanup patch #557071 [From Uros Bizjak].
  * Applied Solaris compile patch #558202 [From Uros Bizjak].
  * Applied structure packing, SOCKS error message fix, and cleanup patch
    [From Michael Core].

- (2002.05.20 - Richard)
  * Switched names of arrow_up.xpm and arrow_down.xpm (closes #558219)
  * Added "User agent" column to uploads
  * Added "Server" column to downloads and queue
  * Display sort order in searches in column header
    (closes #557690)
  * Remove "stop sorting" from search popup. This can now be achived
    by clicking on the column headers.

- (2002.05.19 - RAM)
  * Integrated SHA1 / HUGE patch [From Ch. Tronche].
  * Force creation of config directory if it does not exist
    (fixes bug #557114).
  * Don't run file name searches on small query texts when there is an URN
    match attempted.
  * Keep track of User-Agent and Server in HTTP requests.
  * Further adjustments in huge.c:
    + Use glib timeouts, not gtk ones to not needlessly tie to the GUI.
    + Improved timer adjustment feedback to shoot for 3/2 of the max life.
    + Added debugging SHA1 computation rate traces.

- (2002.05.19 - Richard)
  * Removed "clear queue" button. This is not necessary. To clear the
    whole queue, just use a empty regex to select all and then use
    "abort" from the popup menu. We don't want people to accidentially
    purge thier queue.
  * Made non-editable entries sensitive, so that at thier content is
    copy-pastable.
  * Increased sleep time during shutdown to 200ms again, but process any
    pending Gtk events before sleeping.
  * Made size of sidebar (menu, stats) persistent.
  * Changed tooltip text for the "local netmask" stuff.

- (2002.05.18 - RAM)
  * Improved shutdown code to avoid segfaults in grace period and deny all
    pending Gnet connections cleanly.
  * Moved pong-caching code to pcache.c.
  * Reorganized the way we detect that BYE was sent, and added support for
    probing the size of the TX stack.
  * Pay attention to GUI settings for bandwidth limitation before enabling
    the corresponding schedulers: only do so when they explicitly wish
    to limit traffic (provided allocated bandwidth is >0).

- (2002.05.17 - Richard)
  * Fixed bug: drag in queue while queue is freezed unfreezes queue.
  * Reflect freezeing of queue in the gui (as would explicit freezing).
  * Reduce min value for listen_port to 0 in glade.
  * Display notice window when shutting down.
  * Made menu expand and used gtkpaned so size of sidebar can be changed.
    Size is not yet persistent.
  * Removed stream button from search panel since unused.
  * Tried to fix problem with segfault during shutdown and thus
    disabled timer calls in main timer for things that were
    already closed (uploads/downloads) during grace period.
    Failed miserably because we still have a segfault.

- (2002.05.17 - RAM)
  * Applied enum/macro cleanup patch #555837 [From Uros Bizjak].
  * Display download queue status entries.
  * Fixed guess_local_ip() to never replace a previous non-private IP with
    a private one.
  * Added exit grace period to make sure final BYE messages get a reasonable
    chance of being sent.
  * Added extended copyright notices, per FSF recommendations.
  * Added copy of the GPL in the LICENSE file.

- (2002.05.16 - Richard)
  * The position of the divider in the downloads pane is persisitent.
    Attention: I implemented the missing gtk_paned_get_position function
    and it has the same name as the GTK2 function will have.
  * Started to tidy up config file
  * Hopefully fixed sourceforge bug #555758: Crash when drag lasts too long?
    Catch the drag signals and freeze the queue during drag. This prevents
    items to be removed from the list during the drag which I think was
    the cause for the crash.

- (2002.05.15 - Richard)
  * Fixed bug with spinbuttons: manually entering a value did require
    to hit enter two times or did not work at all. Had to use
    connect_after() to connect the signals.
  * Save width of "Status" column added to queue.
  * Display notice in the statusbar if the address has changed.
  * Added gNet traffic display and reworked the View menu and stats
    display a little
  * Replaced the hosts_in_catcher entry with a progressbar.
  * Changed some limits on the new configuration items.
  * Obsoleted all *bps* config variables and replaced them with
    *bws* counterparts to reflect the internal changing of names
    within bsched. Kept code to load the values from the *bps*
    variables though.
  * Added configuration of gNet bandwidth control

- (2002.05.14 - Richard)
  * Added lots of config stuff.

- (2002.05.14 - RAM)
  * Added traffic compression ratios.
  * Added support for Gnet bandwidth limiting (core only, no GUI settings).
  * Fixed flow-control problems on TX stack.
  * Fixed assertions on search sending to account for initial random hop count.

- (2002.05.12 - Richard)
  * Added "Status" column to queue. Not working properly yet.
  * Added icon to display "firewalled" and "not firewalled"
    status in statusbar
  * Change spinbutton support from using int to using float.
  * Fixed decimal values in the bandwidth settings
  * Unselect all before using regex to select (more intuitive)
  * Updated debian/substvars: added depends on zlib1g

- (2002.05.12 - RAM)
  * Removed debugging warning on Z_BUF_ERROR when TX flushing.
  * Search stats configuration unit is now the second.
  * Fixed assertion failure in deflate_rotate_and_send(): the culprit
    was deflate_nagle_timeout(), calling that routine without checking.
  * Added Debian build dependency on zlib1g-dev (in debian/control).
  * Compressed node traffic indicated by TXc and/or RXc in Info field.
  * Fixed typo in cq.c that caused hash bucket chaining to be mixed up.
  * Fixed order in the CH_INSERT_AFTER macro that was corrupting tail too
    early (forgot it was a macro, and not a function call).
  * Made destruction of the RX stack a true depth-first operation.
  * The RX inflater will stop delivering packets as soon as RX is disabled.
  * The TX deflater writev() routine was not accurately detecting flow-control.
  * Need to dispose of the RX stack asynchronously, not on the interrupt stack.

- (2002.05.11 - Richard)
  * Added a saftey call to disable the tabs of notebook_main even
    if left on in glade.
  * Added "local node" information to the main nodes display.
  * Added boxes around the queue and downloads frames, so the vpaned
    scales better.
  * Changed "Remove all matching regex" to "Select all matching regex".
  * Renamed some config variables and widgets to get better naming
    consistency.
  * Changed "Listen port" and "proxy port" to spinbuttons.
  * Added "Enable autoselect" to search panels. This binds to the
    search_pick_all config variable.
  * Made missing checkbutton states persistent.
  * Added some macro magic to gui.c, config.c and callbacks.c. More readbility,
    less writing effort.
  * Moved updating of gui widgets at startup from config_init() to
    gui_update_all().
  
- (2002.05.11 - RAM)
  * Allowed "configure --enable-no-rfc1918" to default to off (was forced on).
  * Exported bsched_disable().
  * Re-architected RX stack.
  * Added first support for Gnet traffic compression (still some rough edges).

- (2002.05.08 - RAM)
  * Ensured no line is longer than 80 characters in main.c and gui.c.
  * Dynamically setting bandwidth to 0 prevented all traffic instead of
    disabling bandwidth limiting.
  * Even if bandwidth scheduler is disabled, go through the EMA computation
    of the bandwidth actually used, for GUI display purposes.
  * Added Roles section to the AUTHORS file.

- (2002.05.07 - RAM)
  * Now that local_ip is persistent, we need to refresh it regularily in case
    it changes from one invocation to the other, and not always trust its
    persisted settings.
  * Changed "Shutdowning" -> "Closing".

- (2002.05.07 - Richard)
  * Added "Remove all matching regex from queue" to downloads panel
    (case sensitivity is not persistent yet)
  * Fixed memory leak in dialog-filters.c regex handling code
    (g_free(re)).

- (2002.05.04 - Richard)
  * Added "Max uploads to single host" to uploads panel
  * The usual cleanup of spacings and labels and stuff I came across
  * Added preliminary designs of a new filter dialog to the glade
    file. No functionality yet. Will probably be redesigned before
    actually being integrated.
  * Fixed bug: search field does not clear when search is added
  * Fixed bug: search tab headers do not update the result count
    properly when having "remove downloaded items from list" checked.
  * Fixed typo: "QUEUE FROZEN" instead of "QUEUE FREEZED"
  * Note: for autocompletition on a GtkCombo (e.g. search combo), try
    Alt-Tab. Works in any application.
  * moved more code from main.c to gui_init
  * removed clist_connections (old stats) from glade and gui code

- (2002.05.02 - RAM)
  * Fixed bug #551185: was not initializing local_netmasks_string.
  * Fixed bug #552255: could be wrongly freeing static string.

- (2002.05.01 - RAM)
  * Integrated the search queue patch: searches are now sent once every
    10 seconds on a per-connection basis [From Alex Bennee].
  * Was improperly counting duplicates as "bad" messages.
  * Now displays both dup/bad message counts in the Info column for nodes.
  * Searches now made persistent [From Michael Tesch].
  * Got rid of the local-config-file overwriting.  All configuration files
    are now exclusively saved in the config dir, never locally (unless you
    run from that config dir!).
  * Fixed bug #538946: was incorrectly moving complete files out of the
    done directory.  Also, "Nothing more to get" error is now reported if
    one tries to downloads a smaller file (it was not flagged as an error,
    so the "Completed" message was shown instead of the error text).

- (2002.05.01 - Richard)
  * fixed sensitivity of "copy url" in downloads popup
  * make search history work (though not persistent)
  * added "Remove downloaded items from list" checkbox to search panel
    Use this to have items selected for download automatically be 
    removed from the result list.

- (2002.04.30 - Richard)
  * Put statistics into a handlebox so they can be displayed seperatly
    from the main window
  * Went throught the gui layout and set a consistent layout style:
    horizonal spacing: 4; vertical spacing: 2; border: 2
  * removing of unnecessary widgets and more clean up of the widget
    tree
  * make "remove file" in downloads popup work
  * removed "abort and delete file" from downloads popup
  * made "copy url" really supply an escaped url which should work
    when pasted to a browser
  * changed the widget for entering search strings in the search panel
    from a GtkEntry to a GtkCombo as a preparation to supply a search
    history in future.
  * fixed sensitivity of several items in the downloads popup which
    were sensitive even if they would have done nothing when activated.

- (2002.04.27 - RAM)
  * Reversed logic for forced IP, to make it behave properly: the IP is
    now only updated dynamically when "force IP" is not checked.
  * Added download_remove_file() and download_file_exists().
  * Check for new "download_delete_aborted" condition in download_abort() to
    remove file when it is set.
  * Added debug logging of bad packets, to help diagnose why we receive
    bad packets from gtk-gnutella.
  * Made nodes.c compile on the Alpha, where varargs objects are different.
    (fixes bug #537460)

- (2002.04.25 - Richard)
  * moved more code from main.c to gui_init() in gui.c.
  * added checkbutton "Delete file on abort" to downloads panel. When this
    is on, aborting a download will also remove the associated file from the
    hard disk. This is to prevent us from having multiple "Abort..." and
    "Abort and delete..." entries in the popup menu.
    This functionality still has to be integrated into the download logic.
  * remove the "update" button for port configuration on the config network
    panel. This entry now behaves just like every other entry (enter or 
    change focus to accept changes).
  * replaced more entries in the config panels with GtkSpinButtons.
  * added a "copy url" item to the downloads popup. This can be used to 
    copy the url of a single download to the clipboard and paste it
    e.g. to your browser. This is only selectable, if a single download
    is selected.
  * added build_url_from_download() to misc.c because of the above
  * cleaned up lots of stuff in gui.c, including coding style but mostly
    changing the way focus-out signals were handled. Now a focus-out signal
    triggers a activate-callback on all widgets to update the program state. 
    Meaning, we no longer use "grab_focus(menutree)" to trigger a focus-out
    event (useless focus jumping). Instead when pressing "enter" on a widget,
    the change is accepted and the focus stays where it is.
  * more layout in the config panels.
    
- (2002.04.22 - RAM)
  * Always update actual bandwidth used, even when the scheduler is disabled,
    so that the GUI can display the current usage whether bandwidth is
    limited or not.
  * Removed useless SIG_Ignore() signal handling trap, just SIG_IGN them.
  * Ignore SIGXFSZ so that subsequent write() fail: if not ignored, that
    signal will kill the process.
  * Added debugging output for auto-downloads, and refactored list iteration
    bits to be more in line with the other uses.

- (2002.04.21 - Richard)
  * click on bandwidth stats to toggle display mode (normal/average)
  * added "authenticate to proxy" to network config. The associated
    config variable is called proxy_auth.
  * made bandwidth stats more readable

# change of changelog format to better accomodate multiple contributors.

- made reissue timeout spinbutton on search-pane wider. (Richard)
- made config pane a tabbed pane. (Richard)
- added bandwidth control to config pane. (Richard)
- added support for temporary statusbar messages (Richard)
- reorganized configuration pane (made a tabbed pane) (Richard)
- added gui controls for changing bandwidth allocation in the config
  pane. (Richard)
- added indicators for current bandwidth allocation to left panel.
  (Richard)
- now really use statusbar contexts and the GtkStatusbar stack features.
  (Richard)
- Moved freeze toggle-button out of the context menu and display a
  message in the statusbar to warn the user that the queue is freezed.
  (Richard)
- added several new popup menu items to popup-download and popup-queue,
  but disabled them for now since they are not backed up by code yet.
  (Richard)
- removed useless host catcher popup code (Richard)
- added "freeze" toggle button to queue context menu. This can be used to 
  enable/disable the automatic moving of files to and from the queue
  (i.e. disable download_timer). To make this work properly, the
  download timer is the only function now to call download_pickup_queued.
  (Richard)
- added "kill all named" and "kill all from" to popup-queue and popup-downloads.
  These will remove all queued downloads and abort all active downloads
  matching any of the selected items. (Richard)
- visually distinguish items in search list that where already selected for
  downloading (Richard)
- Added uptime of servent to statusbar. (Richard)
- Modified multiple-selection handling in on_button_uploads_kill_clicked,
  on_button_downloads_queue_remove_clicked and on_download_start_now_activate.
  This should fix problems where the selection was not actually acted on.
- made popup_queue_start_now (de)activate correctly when maximum
  number of downloads is reached (Richard)
- Missed out to hide notebook tabs after modifing the gui. 
- Rearranged widgets to reduce minimum window size. On my box this means
  604x503 (sorry 640x480 guys... maybe later). 
  Enabled both scrollbars on nodes list
  Closes #540610 (Richard)
- Changed lots of stuff on the gui layout (Richard)
- Changed menu from list to tree (Richard)
- Renamed lots of widgets (Richard)
- Fixed several popup action handlers to cope with multiple selections 
  (Richard)
- Can add searches from the monitor pane (only if monitoring is off, because
  otherwise the selection would be gone too fast).
  (Richard)
- Replace numeric text fields (like max no of downloads) with a spinbutton
  (Richard)
- Disable autoselection when more that one file is already selected (search).
  (Richard)
- Hidden old stats frame (Richard)
- Added menu bar and statusbar (both optional) (Richard)
- Added progress bars to display connection/upload/download stats (optional)
  (Richard)
- Made build-glade target in Makefile really regererate the code from the
  gtk-gnutella.glade file by calling src/Makefile glade_files
  (Richard)
- Updated Debian's control file.
- Now accounts for bytes transferred in interrupted uploads as well, and in
  particular at servent shutdown time.
- When not sharing, return HTTP error 503 instead of 410, since it is a
  server-side problem, not a client-side problem.
- When facing an HTTP/1.1 request, make sure there is a Host: header.
- Added routines for on-the-fly bandwidth settings, and access macros for
  getting the instantaneous and average bandwidth usage per second.
- Refactoring of network TX layer.
- Display the uptime as either "HH:MM:SS" or "d HH:MM" with blinking ":".
- Optionally favor local Gnet hosts over remote ones, per netmask [Mike Perry].

# v 0.85   2002.04.04  [stable]

- Changed bzero() into memset() in sockets.c for Solaris [patch #538619].
- Hidden useless gnutellaNet stats window.

# v 0.85   2002.03.30  [beta2]

Summary of changes (user-visible):

- Portability fixes.
- Memory leak fixes.
- Was moving to wrong pane when "jump-to-downloads" enabled.

Detailed changes:

- Define SOL_TCP as IPPROTO_TCP for non-linux machines.
- Added a return to shut up compiler warnings in bio_sendfile().
- Fixed memory leaks in queue.
- Shutdown TX side of socket after having sent Bye.
- Fixed memory leak in uploads, in push request handling (bug #534434).
- Was moving to wrong pane when "jump-to-downloads" enabled
  (bug #535000, with fix from Steven Walter).
- Increased receive buffer size for nodes from 48K to 112K.
- Fixed node_sent_ttl0(), which assumed node was kicked-out when Bye is sent,
  although it is no longer the case, unless Bye was already sent.
- Will now report error 414, "Requested URL Too Large", when encountered.
- Could mistakenly report 404, "Not Found" when rebuilding library.

# v 0.85   2002.03.23  [beta1]

Summary of changes (user-visible):

- Now support Gnutella traffic prioritization and flow-control for enhanced
  stability of connections.
- Can now use an HTTP proxy for outgoing connections, in addition to SOCKS
  v4 and v5 proxies.
- When "Force local IP" is ticked, gtk-gnutella will try to automatically
  update the value if it detects a change in your IP address.
- Added search statistics.
- Added persistent upload statistics, keeping track of which files were
  uploaded by users, and how many times.
- Will now show the size of the uploaded file and the requested range,
  under the form "request @ offset" in the Range column.
- Node servent names are now displayed in the gnutellaNet window, if known.
- Bandwidth management for input and output traffic is now possible.  It can
  only be configured via the config file though, not via the GUI.  It only
  accounts upload/download traffic, not Gnet traffic.
- Displayed transfer rates are now instantaneous transfer rates, not average.
- Upon completion, uploads and downloads show the time spent in transfer.

Detailed changes:

- Node send queue is now managed as a real queue.
- Added node transmission flow control.
- Routing decisions and actual routing are now two distinct operations.
- Some download control hardwired constants were made config parameters.
- Fixed downloading policy to avoid retrying ad infinitum when the connection
  cannot be made at the TCP/IP level (because there's nothing listening).
- Added support for the Bye packet.
- Dispatched heartbeat timer routines to the relevant files.
- Integrated HTTP proxy patch [From Szabolcs Sel�f].
- Properly handle Range requests such as "123-456" and "-567".  Still no
  handling for things like "123-456,457-789" though.
- Extract and log vendor information of nodes we connect to.
- Fixed improper counting of TX-dropped packets in flow-control as RX-dropped.
- All % completion figures now shown with 2 decimals.
- Since we can now automatically determine our IP correctly, make sure the
  "force local IP" parameter is true by default.
- Could be sending pongs with TTL=0 by mistake.
- Was always sending pings with TTL=1 by mistake.
- Initial take at bandwidth management -- can only be configured via the
  config file, i.e. once and for all.  Gnet traffic does not count.
- HTTP error code 408 is retryable.
- Include Date and Last-Modified headers in our HTTP success replies.
- Switched to real-time download/upload transfer rate and ETA computations.
- Fixed number of columns in search table to 5.
- Fixed bug in handling node_bye() for ponging-only connections (#518822).
- When current transfer rates are too low, switch to average rate for
  estimating time remaining.
- More cleanup in the routing code, which fixes a potentially harmful bug.
- Ensure original downloads are saved in downloads.orig, and protect against
  sudden death whilst saving.
- Turn on TCP_CORK for uploads, to optimize outgoing bandwidth.
- Makes use of sendfile(2) if available.
- Huge cleanup in routing.c: function renaming, signature changes, assertion
  cleanup and comment additions.  In particular, removed a wrong assertion,
  known as "m->nodes" when failing.
- Trace user interface, OS type, OS version and CPU type in User-Agent.
- In the "Config" page, show total size of files shared.
- Adapted proxy_connect() signature to be able to get it to compile on IRIX.
- Now detects and handles the situation wereby time goes backwards or forwards
  due to time synchronization (NTP deaemon).
- Display the time spent uploading or downloading when entry is completed.
- TCP reception buffer is raised to 112K for downloads.
- The default node queue size is now 96K (150% of 64K, the max message size).
- Added support for higher-priority control messages.
- Node statistics now show amount of messages in queue, and percentage of
  the send queue filled with messages.
- Alive pings are now replied to with a higher priority pong.
- Tuned flow control to avoid too many memory allocation/free, and saturation
  of the queue (lowered high watermark to 50%).
- Now also emits the Remote-IP header when connecting to other nodes.
- Node statistics are now updated once per second on the GUI.
- Added Morpheus (MRPH) to the list of vendor codes.
- Fixed bugs #524773, #524987, #523762, #524988.
- Added Size/Range columns to the upload screen.
- Added Vendor and protocol Ver(sion) columns in the node screen.
- The GUID of a servent is now made persistent and flagged as such, in order
  to prepare the possible implementation of gnet: URLs.
- Factorized generation of random numbers into random_value().
- Added search statistics pane [From Michael Tesch, patch #524921].
- When "Never send a push request" is ticked, don't bother showing results
  from explicitely firewalled servents.
- Disable the "Start now" menu entry if we don't have any more download slot.
- Removed broken support for computation of lower-cased directory paths in
  the shared library.
- Fixed broken recursive scan of the library, with help from Michael Tesch.
- Ensure we do not launch two copies of gtk-gnutella backed by the same
  configuration, and protect any configuration change made whilst the
  program was running by saving a copy of the old configuration if needed.
- Fixed push bug, by allowing several downloads to be recorded for the
  same (index, GUID) tuple.  This can happen if we don't notice a re-indexing
  on the remote host.
- Fobid the multicast IP range, and also the new 169.254/16 private range.
  Downloads at those addresses will be pushed.
- Don't remove queued downloads whose size is greater than the one we completed.
- When downloading a file bigger than the one in the done directory,
  and provided it's on the same filesystem as the tmp directory, move it out
  for resuming.  This is safe now that we perform range overlapping.
- Changed error message "Route lost" into "Push route lost".
- Don't abort with "Push route lost" when we only fell back to push, but the
  address does not seem to be private and there was no push indication in the
  query hit.
- Added upload statistics pane [From Michael Tesch, patch #529294].
- Attempt to flush upload statistics on a regular basis when changed.
- Try to flush queued messages on nodes as fast as possible by turning
  on TCP_NODELAY to disable Nagle's algorithm.
- Reworked on the shutdowning/bye code to maximize chances of proper delivery
  of the BYE indication.
- Must duplicate filenames in uploads in case library is rebuilt, or it will
  corrupt the upload statistics.
- Save config and host cache in a temporary file first, then rename as the
  final file when everything is OK to avoid corrupting precious data via an
  incomplete write.
- Be sure to disable a queue becoming empty in mq_clear() if it was enabled
  (fixes bug #530811).
- Split I/O vectors larger than the max allowed size (fixes bug #530106).
- Fixed off-by-one error in url_escape_cntrl() causing memory corruptions.
- When needed, must disable reading before calling node_bye(), in case we're
  facing a temporary "ponging" connection, which node_bye() happily removes
  (fixes bug #531167).
- Now handle parsing of 0.6 handshake headers on Ponging connections, to grab
  any Node: header and fake a pong.  This also allows Ponging 0.6 hosts to
  be seen in the GUI: they used to be discarded very early in the process,
  making display impossible.
- Was mistakenly displaying last offset as size in uploads.
- Negative range requests are offsets from the end of the file.
- Added upload stats "average count" [From Michael Tesch, patch #533257]
  (will convert existing stats to the new format).
- Ensure minimum value for node_sendqueue_size (1.5 * max packet size).
- Fixed cornercase, a leftover of bug #530811.
- Fixed crash when upload stats are cleared (bug #533904).

# v 0.80   2002.01.31  [stable]
# v 0.80   2002.01.22  [beta2]

- Fixed I/O memory leaks.
- Fixed filter memory leaks.
- Fixed ping/pong counting memory leaks (in obsolete code anyway).
- At end of download, also remove "Retry in 10s" entries bearing same name.
- Now makes accurate use of the HTTP "Connection:" header.
- Don't try to open local "config" directory as a file.
- Improved the download selection logic on pushes.
- Be sure to reinstall the SIGPIPE signal handler within the handler
- Fixed bug in header parsing when NUL is the first char on the line.
- Stop filling our Query Hit packets when we reach our own max size limit.

# v 0.80   2002.01.19  [beta]

Summary of changes (user-visible):

- Download queue made persistent: your pending downloads will be saved and
  resumed the next time gtk-gnutella is started.
- The download queue will now show the Host information.
- Pushes now work correctly, and gtk-gnutella can also serve push requests to
  others, so people behind firewalls may now share as well.
- Search results filtering has been implemented: until now, there was only
  the GUI part without any real work done.
- Sorting by host now works on search results.
- Supports the 0.6 handshaking protocol, both for incoming and outgoing
  connections.  Still accepts 0.4 incoming requests, or issues 0.4 outgoing if
  the remote node does not appear to support 0.6.
- Ping/pong traffic is now limited to a few hundred bytes per second on each
  connection, lowering the bandwidth usage: you should be able to open more
  connections than before for the same bandwidth used.

Detailed changes:

- gtk-gnutella.spec now generated at configure time. [From: Sam Varshavchik]
- LimeWire shut down their router.limewire.com pong cache.
- Trace IP of HTTP requests/replies we send or receive.
- Check for valid index/name combination before checking for upload slots.
- Automatically and silently ignore 0-byte files in search results.
- Silentlently ignore files located in private IPs if we don't send pushes
  (this is a temporary hack until someone adds a radio button to achieve this).
- Detect changes in indices for files we already found, and update the
  download queue accordingly (patch from Vladimir Klebanov).
- Improved hex dumping routine and use it to dump data on connection problems.
- Don't send user/password to proxy if none was configured
- Assume we're firewalled and advertise so until we get an incoming connection
- Try to parse all extended Query Hit Data (the open part) assuming BS compat.
- Started to reorganize GUI/callbacks in search.c, moving relevant code to
  callbacks.c and gui.c.  There is still a fair amount of mixing between the
  GUI stuff and the program logic, requiring further fine tuning.
- Rewrote NUL detection logic in search query, and now dumps yet unhandled
  extra query data.
- Constant refactoring: moved download/upload/socket constants and state
  inspection predicates into their respective headers.
- Now scan uploads for timeouts, and added configuration of the various
  time limits via two new config variables: "upload_connected_timeout" and
  "upload_connecting_timeout".
- Proxy connection errors were not reported (show_error() was not implemented).
- Now parses HTTP headers correctly.
- Handles HTTP "HEAD" requests correctly.
- Handles Gnet handshaking at the 0.6 level.  All handshakes are now made at
  the 0.6 level, and upon failure, retried at 0.4.  As for incoming
  connections, both 0.4 and 0.6 are supported.
- Cancelled uploads are now logged with details, since they don't appear
  in the GUI currently.
- Mark upload/download as stalled if no I/O within the last minute
- The amount of seconds between two automatic re-queries of the network
  now has to be at least of 300 seconds.
- Fixed memory leak in uploads (found by Nate).
- Connection statistics now show two figures, as "x/y": x is the amount of
  connected sockets, and y is the amount of attempts made in the background
  but not yet fully connected at the application level.
- Node connections statistics are dumped for debugging.
- Downloads now use the new HTTP header parsing code.
- Don't hammer host caches, allow a reasonable delay between two consecutive
  connection attemps to the same host.
- Now uses fresh pongs when the saved caught host list has been re-read.
- Send 10 fresh pongs to old 0.4 servents to whom we deny the connection.
- Sent Pushes now use the Gnet connection socket, so they will work when
  behind a masquerading+forwarding firewall with only the Gnet port opened.
- Fixed a couple of buglets introduced by the late re-organization of code.
- Added handling of push requests sent by remote servents, i.e gtk-gnutella
  will now reply when others request us to push a file to them.
- If search results say remote servent is firewalled, start immediately in
  push mode when downloading, provided pushes are authorized.
- Recognizes more vendor codes in QHD (Query Hit Descriptor).
- Implemented LimeWire's ping/pong reducing scheme.
- Created doc/gnutella directory, populated with reference on the recently
  implemented algorithms.
- Fixed index-updating bug for downloads in push mode: the mapping was
  not updated correctly, resulting in a failed assertion later on.
- Advertise "Pong-Caching: 0.1" in the 0.6 handshake reply.
- Factorized creation of version string, in a "version_string" global
  that is now used everywhere the name of the program and its version needs
  to be output in a header (User-Agent and Server headers).
- Forgot that search reissue timeout of 0 meant "no reissue".  Fixed, and
  adapted the label text in front of the entry textarea.  Also enlarged
  the area a bit.  [From: Nate]
- Fixed IP/port setups for socks4 and socks5 proxies: now use network order
  instead of native. [From: Robert Bihlmeyer]
- Was not validating config variable `min_dup_ratio'.  Adapted its comment,
  and made other cosmetic change to the config file output.
- Now initializes version string once and for all, at main() time.
  This string is then consistently used in all emitted headers.
- Parses remote "Pong-Caching:" hanshaking header.
- During download requests, force push immediately if the remote end's IP:port
  appears to be not connectible, even if the "Push" bit is not set in QHD.
- Created new "Stopped" state, which is used on retry-able error conditions,
  such as EOF or "Connection reset by peer" errors.  The retry timer was
  shortened from 60 to 15 seconds, awaiting to make it configurable.
- Detect and print as such a failed outgoing connection that sent us
  connection pongs nonetheless.
- Fixed improper trailer generation in query hits: the last flag byte was
  not copied at all.
- Suppressed md5 from the source, it's no longer used.
- Refactoring in routing logic, mainly for push packet handling.
- Push packets are now routed correctly, and no longer widely broadcasted.
- Pushed downloads will abort when the route to the remote servent is lost.
- Forgot to detect TTL=0 pings in our new ping/pong handling logic.
- In case the handshaking fails with a remote strange server, read more data
  to be able to trace more of their reply.
- Now parses the Query Hit packets only once, no matter how many searches open.
- Integrated filtering patch [From Robert Bihlmeyer].  You may now apply
  filters to your searches.
- Double-clicking on a file in the search window will request downloading
  of the selected files. [From Noel T.Nunkovich]
- Removed useless and memory hog host catcher list in the gnutellaNet screen:
  saves 2 MB of RAM plus avoids cost of updating it [From Mark Schreiber].
- Be tolerant on servents that do not send a Content-Length but send
  a proper Content-Range line instead (which we tolerantly parse as well).
- Accept searches even though we might not be connected to the net yet
  [From Mark Schreiber].
- Added Host indication in the download screen [From Mark Schreiber].
- Fixed buglet in has_same_active_download() where "waiting" downloads
  were not considered when looking for duplicates, which could lead to
  assertion failures for pushes later on.
- When not sharing, don't return query hits [From Mark Schreiber].
- When not sharing, send them a "410 Sharing currently disabled" error.
- Added X-Live-Since: to all our HTTP replies.
- Added download queue persistence.
- Download resuming now checks for proper file via an overlap of 512 bytes.
- Split hostcache into two distinct lists: the reserve, and the list of
  nodes we tried and are known to be valid Gnutella servers.  In an attempt
  to limit the tendency of the hostcache to remove hosts rapidly.
- Will now automatically determine that the forced local IP is obsolete
  and change it on the fly, provided we're connecting to modern servents,
  which make use of the Remote-IP header during handshaking.
- Compute IP address of public hostcaches once, to avoid many long DNS lookups.
- When low on hosts in cache, collect "semi-pongs" from Query Hits
  (an idea from Mike Green).  The "low" threshold is 12.5% of maximum.
- Added URL escaping routines.
- Now supports URL-escaped requests, but still sends un-escaped requests to
  remote servents.
- Advertise our node address/port using the Node: header on all outgoing
  handshakes.
- Minor reformatting of config file comments, and raising of default max
  messages to be more tolerent on replies, whilst reducing greatly the max
  size of queries to limit potential of abuse.

# v 0.18   2001.11.19

- Further improved auto-download to not request things we already got
- Refuse to record a download if we still have an identical active one
- Integrated search results limiting patch, from Brian St. Pierre
- Fixed incremental sort logic, which was not accurate for big values
- Made search results sortable by Host and by Info
- Integrated new manpage from Brian St. Pierre (in debian directory)
- Never overwrite files in "completed dir"; rename target file if needed
- Missed "return" statements in error path for "download resuming" checks
- Made auto-download.txt case sensitive, and leading '#' is treated as comment
- Auto-download flag made persistent, and file name set via config file
- Integrated auto-download.txt patch from Brian St. Pierre
- Integrated patch from Brian St. Pierre to burst gnutella.h into small files

# v 0.17   2001.10.24

- Integrated routing table optimization patch from Mark Schreiber
- Shortened default connecting timeouts, especially to other nodes
- Index shared files in an array for faster retrieval
- Enforce strict NUL termination of Query packets we process
- Integrated search table bin categorization patch from Kenn Brooks Hamm

# v 0.16   2001.10.03

- Further optimized library lookups to avoid useless matching operations
- Added two host caches: public.bearshare.net and gnotella.fileflash.com
- Was mistakenly using signed integer in GET requests for file indices
- Double check requested file names with those in our library for extra safety
- When download completes, remove all queued entries for same filename
- Results differing only by connection speed are now considered identical
- The payload size of query hits was written in native format, instead of LE!
- Optimized query hit packet construction, reducing mem fragmentation
- Now shows itself as "Gtk-Gnut" instead of "gtk-gnutella"
- Fixed important sharing bug where extensions were not matched for correctly
- Can now configure a max size for the host cache (defaults to 20480)
- Kicking policies for dup messages and high TTL now configurable
- Removed unneeded inclusion of <mcheck.h>
- Fixed broken "rm" in debian/rules, changed it to "rm -f"
- Show "<unparsed>" when results have an unparsed query hit trailer
- Ran all sources through "indent -kr", plus minimal reformating, ts=4 now

# v 0.15   2001.09.20

- No longer depends on having "glade" or "tcl" for building
- Try to simultaneously connect to as many hosts as permitted by min settings
- Can now stop and resume passive searches as well.
- Only resort to host catchers when host catch is empty
- Now uses 4 host catchers: router.limewire.com, connect[1..3].gnutellanet.com
- Fixed improper GUI dependency between min/max node connection settings
- Identify as a "modern" client in the GUID, handling protocol 0.4.
- Allocate node reception buffer once, not each time a >4K message is received.
- Avoid dropping replies on high TTL, adjust the field down
- Send back pongs and query hits using the hop count of request as TTL
  (since replies must be routed along the same path, it need not be greater)
- Kick out nodes sending us messages with TTL=0.
- Initial host catcher is now router.limewire.com.
- Ignore file count and sizes in pongs when high bits are set (obviously wrong!)

# v 0.14   2001.09.12

- New project admin Raphael Manfredi <Raphael_Manfredi@pobox.com>
- Integrated all pending (to date) patches on sourceforge.
- Fixed all memory leaks found by dmalloc.
- Fixed segmentation faults.
- Use more efficient pattern scanning to grep through the library file names
- Searches in local library now use begining-of-word matchings
- Configuration now saved in ~/.gtk-gnutella/config
- Many new configuration variables, none settable through GUI yet
- More efficient handling of host catching list to avoid long startup times
- Can limit uploads per IP address (from config file only)
- Better error reporting during read/write errors
- Show more information about connected nodes (TX/RX/Drop/Bad)
- Installed node kicking policies
- Avoid hammering hosts from which we download via smarter scheduling
- Handle upload and download resuming
- Uses much less CPU under stable operation, but can still be improved.
- Lots of other minor fixes and many hours of testing

# v 0.13   2001.05.25

- Searches now show client, busy and MP3 tag info
- Columns now saved correctly
- Downloads do not hammer host, wait 20 seconds+, same IP handled
- Downloads behave better and I found the segfault bug!
- Search select all feature added (config option)
- Search strict AND filter feature added (config option)
- Debug assist code added, prints hex, dbg variable added
- Some readme doc updates
- Client identifies itself properly as gtk-gnutella 'GTKG' to the net
- 503 and other returns handled better, queue is better
- Lots of other fixes and many hours testing

 stuff from Goswin:

- parse for any 2xx http header
- recognise 5xx busy headers
- check for non resuming clients
- don't download the same filename twice
- dequeue one download once a second in the main loop
- download_pickup_queued disabled
- move file from completed dir to partial dir when a bigger one with
  the same name is downloaded (both dirs should be on the same drive,
  otherwise the copying will take so long on big files that most
  connections will timeout).
- requeue on timeout
- don't remember that you gone into push mode, try a direct connect
  each time.
- accept long urls on uploads such as a proxy would send


# v 0.13      2001.01.05

- File Sharing (woohoo!)
- force_local_ip fixed (more than one fix)
- Max simultaneous uploads
- gui_update_upload moved into main timer
- Autoconnect to gnutellahosts.com on startup
- Automatically connect to new hosts when below "atleast connections" 
- Configure option to discard non-routable ip's
- Solaris (maybe win23?) build fix
- Allow passive search results
- Ignore duplicate search results
- "never send push request" option
- "Jump to Downloads" switch added
- "Clear Results" button added to search screen
- Auto-repeat searches on new control connections
- All sorts of other random fixes
 
* v 0.13          2000.07.??

- 32 bits overflow when computing the size of all files on the GnutellaNet
  (in the gnutellanet stats) should been fixed
- Currently implementing the multiple simultaneous searches and the search
  results filters
- The widths of the different clists's columns are now remembered
- You can now force your local IP to whatever you want [NEED TESTS PLEASE]
- 'Current port' label is now updated
- Automatic retry for failed downloads
- A new option limits the number of downloads from a single GnutellaNet host
- Users with big default fonts should now see all the menus
- A quit button has been added
- gtk-gnutella is now linked against libresolv if needed for inet_aton()

* v 0.12          2000.05.03

- All C++ style comments have been replaced by C style comments
- Incoming connections are now accepted again (lame bug created in 0.11 fixed)
- Slashes are replaced by backslashes in downloaded files names
- Downloaded files are no more created before we actually receive data for them
- Queued downloads can now be reordered by drag and drop
- Queued downloads can now be started at any time (using right mouse button on
  them)
- Active downloads can now be forced to push mode, moved back to the queue,
  or killed (with the output file removed) using right mouse button on them
- Preferences and configuration are now saved in a directory instead of a
  single file. You can choose the path of the directory to be used by setting
  the GTA_GNUTELLA_DIR environment variable before running gtk-gnutella.
  By default it will be ~/.gtk-gnutella/ 
- Estimated TR (Time Remaining) is displayed while downloading files
- Catched hosts are now saved in clear text in a separate file:
  GTA_GNUTELLA_DIR/hosts
- Catched hosts can be imported from and exported to any text file (using
  right mouse button on the gnutella host catcher)
- gtk-gnutella should now compile (using gcc) and run on more processors
- A few memory leaks removed, but some remain (I don't know where yet)
- Serious bug that made gtk-gnutella send garbage when the sendqueue for slow
  nodes excedeed 1024 bytes has been fixed
- Completed download files are now moved to a different directory, that can be
  choosen in the config screen
- gtk-gnutella now remembers the position and the size of the window
- Automatic sorting of search results can be stopped by right clicking in the
  search results list (GTK doesn't seem to handle well auto sorting)


* v 0.11          2000.04.19

- Sizes of files in the gnutellanet stats, in search results and in downloads
  lists are now displayed in B, KB, MB or GB. By the way, the gnutellanet
  stats will display the right number of shared bytes...
- Search results can now be sorted by File name, Size, or Speed.
- Buttons 'abort selected', 'resume selected' and 'clear completed' in the
  download section should be less randomly active / unactive.
- The numbers of active and completed downloads should be more accurate.
- The number of routing errors should be more accurate too.
- Some warnings about malformed packets have been removed (that happens too
  often to be displayed...)
- Do not allow more than one incoming connection from the same IP, to prevent
  connect flood attacks (Somebody tried to establish more than 32 simultaneous
  connections (from the same IP) to my client today...)
- Catched hosts are now saved, and reloaded next time gtk-gnutella is started.


* v 0.1           2000.04.16

- First release of gtk-gnutella :)
