Changelog for 0.3.18 / 0.4.4
dclib 0.3.18
- 21/06/2008 Remove "dctransfer unknown message: 31" terminal output.
- 21/06/2008 Send messages to update the GUI on ADCSnd/Sending/Send messages (upload start).
- 22/06/2008 Really fill in the missing TTHs when a source with a TTH is added to a download without.
- 22/06/2008 Fix protection against sharing the same file/folder multiple times via symlinks.
- 24/06/2008 Remove some copying of large strings on sharelist generation.
- 24/06/2008 Do not TTHF and TTHL from client supports if hash list is disabled, because that setting only applies to hashing of new files, already hashed files remain available.
- 24/06/2008 Add "NOTTH" to description tag if hash list has been disabled.
- 25/06/2008 Optimize (heavily used) CDir functions (the directory separator character does not need converting before returning a string except on windows).
- 25/06/2008 Replace CStringList members of CFileManager with std::map and std::set.
- 26/06/2008 Fix missing cipher context cleanup on secure private chat (memory leak).
- 26/06/2008 Fix incorrect size calculation for openssl output buffers for secure private chat (buffer overrun for short messages).
- 27/06/2008 Replace CFileManager file name std::set with std::tr1::unordered_set because the std::set was actually slower than the CStringList is replaced.
- 27/06/2008 Add various configure tests and options for control use of std::tr1 classes.
- 28/06/2008 Fix things so that dclib API/ABI does not depend on if it was compiled with SSL support or not.
- 28/06/2008 Add runtime function to determine if dclib has SSL support.
- 29/06/2008 Fix problems with configure script such as --enable-lfs disabling largefile support.
- 29/06/2008 Fix std::tr1 usage so that it works woth gcc < 4.3.
- 01/07/2008 Add features to control the order of the hub bookmarks.
- 01/07/2008 Remove not needed includes of cfilemanager.h and cquerymanager.h from cconfig.cpp.
- 02/07/2008 Fix XML hublist parsing - location of column information may vary.
- 02/07/2008 Remove dchub:// prefixes from public hub addresses.
- 02/07/2008 Allow hubs with same name but different host by appending a number (2) etc. to the hubname.
- 02/07/2008 Remove invalid characters from the XML hublist data before sending it to the XML parser (fixes large numbers of missing hubs).
- 03/07/2008 Switch default hublists to a single XML hublist but include .config version is disabled backup in list.
- 03/07/2008 Only add default hublists if the hublist list is empty.
- 04/07/2008 Default to UTF-8 if system encoding cannot be determined (except on windows).
- 04/07/2008 Re-write build system, remove all files from KDE, fix/improve configure tests.
- 04/07/2008 Add dclib-uninstalled.pc to aid building valknut against an uninstalled copy of dclib.
- 04/07/2008 Add IP address validation function to CSocket.
- 04/07/2008 Support per-hub external IP addresses via UserIP2.
- 05/07/2008 Use inet_aton instead of inet_addr in CSocket.
- 05/07/2008 Cleanup TTH prefix (TTH: and TTH/) handling so that it is added or removed as necessary at the lowest level.
- 05/07/2008 Fix missing includes / forward declarations in csearchindex.h.
- 06/07/2008 Add pthread flags to dclib's flags in dclib.pc since you can't use dclib without them.
- 06/07/2008 Optimise empty string tests - CString::IsEmpty() is faster than == "".
- 06/07/2008 Remove CObject's object counter, which was unused and not threadsafe so probably totally wrong.
- 06/07/2008 Fix (special case) downloading of zero byte files so that they don't jam the download queue.
- 06/07/2008 Fix sharing and hashing of zero byte files.
- 06/07/2008 Update hashing files from DC++ to 0.707 to fix crash on trying to get hash when no data has been added (although this could have been worked around).
- 07/07/2008 Add CConfig function to get the number of public hubs in the list.
- 07/07/2008 Remove zlib.h / zlib dependency from CZlib.
- 07/07/2008 Tidy up all strings passed to perror.
- 07/07/2008 Use nl_langinfo(CODESET) instead of getenv("LANG") to determine local character set encoding.
- 07/07/2008 Fix inability to upload one byte files with compressed transfers enabled.
- 08/07/2008 Add function to get SSL library version string.
- 08/07/2008 Do not ignore write errors in CLogFile::Write.
- 08/07/2008 Fix CBase32/64 Decode return type.
- 08/07/2008 Fix variadic macros are a C99 / GNU extension warning (that define did not actually need any varying number of parameters).
- 08/07/2008 Fix handling of data from hub that has partial commands, broken since 0.3.14.
- 08/07/2008 Reduce terminal output, use -vv if you want to see each file name printed out.
valknut 0.3.18 / 0.4.4
- 21/06/2008 Fix incorrect fallback to using filesize if everything has a TTH and nothing matches.
- 21/06/2008 Fix bug disabling search for clones and file info from local files list.
- 22/06/2008 Update filled in TTHs in wait list now that dclib fills them in.
- 22/06/2008 Fix text about ignore function, it has applied to both public and private messages for a long time.
- 23/06/2008 Replace CStringList used by friends list with QMap.
- 24/06/2008 System tray icon is now controllable from the options dialog, can be shown or hidden without closing valknut.
- 25/06/2008 Replace CStringList with QMap for running transfers list.
- 26/06/2008 Remove unneeded takeItem() calls before deleting the item.
- 26/06/2008 Replace the remaining CStringLists used in the transfers list with QMaps.
- 26/06/2008 Fix sizing issues in auto response settings tab.
- 26/06/2008 Add double click / right click for editing shared folders and hublist urls.
- 26/06/2008 Cleanup right-click menu code for chat commands and auto responses.
- 26/06/2008 Add connected hub count to system tray icon tooltip.
- 26/06/2008 Explain the difference between reload and update public hubs in the button tooltips.
- 27/06/2008 Fix saving dot files setting if options dialog cancelled.
- 27/06/2008 Fix not using current hash list disable checkbox setting on share refresh from options dialog.
- 27/06/2008 Fix lots of unnecessary theme (and font) setting on using options dialog.
- 27/06/2008 Remove unneeded QFrame around transfers log text edit.
- 28/06/2008 Reduce CString usage in DCChat, use QString instead.
- 28/06/2008 Remove SSL tests/flags from configure/Makefiles now that dclib is fixed.
- 28/06/2008 Disable request secure chat menu item if no SSL support in dclib at runtime.
- 29/06/2008 Fix problems with configure script (various --enable-x options ignored the actual value so --enable-x --enable-x=no and --disable-x all did the same thing).
- 29/06/2008 Small search spy optimisation.
- 30/06/2008 Fix wrong text encoding conversion in the transfers list.
- 30/06/2008 Remove unneeded QRegExp in transfers list.
- 30/06/2008 Small nick completion optimisation.
- 30/06/2008 Use local encoding not hard-coded UTF-8 when saving search results to file.
- 30/06/2008 Qt3: Cleanup things in DCChat spotted doing Qt4 work.
- 30/06/2008 Qt4: Replace almost all Qt3 support functions with their Qt4 proper equivalents.
- 30/06/2008 Add space to smiley text inserted into chat input.
- 01/07/2008 Attempt to fix the code for the repair file download, throw up various error dialogs if necessary and use Qt functions not standard C library functions (but it still gives the variable possibly uninitialised warning).
- 01/07/2008 Tiny optimisation for dcwidget.
- 02/07/2008 Allow the order of bookmarks hub to be changed (coding this ending up extremely problematic because it is not possible to detect when the bookmarks have been sorted - you can detect when they are about to be sorted, but that doesn't help you get their new order).
- 02/07/2008 Split DCShellCommandRunner out of dcchat.h/.cpp into it's own files.
- 02/07/2008 Split various custom objects out of dctransferview.h.
- 03/07/2008 Split DCFriendObject out of dcuserslist.h.
- 03/07/2008 Split the custom QListViewItems/QtreeWidgetItem out of dchublistmanager.h.
- 03/07/2008 Split various custom objects and DCFilelistDecompressor out of dcfilebrowser.h/.cpp.
- 03/07/2008 Move various copied and pasted code into a new class called DCGuiUtils.
- 03/07/2008 Send chat with key and action on double clicking user settings storage changed from strings to numbers to avoid translation problems, old settings are lost.
- 04/07/2008 Add public chat status message on getting your IP address from the hub.
- 04/07/2008 Qt3: use the QDict to speed up some things instead of searching the QListView.
- 05/07/2008 Fix nick completion in multi-line messages.
- 05/07/2008 Adjust search and search spy now that dclib handles all TTH prefix adding/removal.
- 05/07/2008 Qt3: Remove custom column resizing code from the friends list because the default behaviour is OK.
- 05/07/2008 Friends list only needs to re-implement event() not an eventFilter().
- 05/07/2008 CThread to QMutex in transfers list.
- 05/07/2008 dcwidget only needs to include dcos.h not cmessagehandler.h (and that's only for the ulonglong typedef).
- 05/07/2008 Remove unused delete key press detection and accept drops property on the transfer wait list.
- 05/07/2008 The transfer list does not need to keep a list of open filelist browsers just to delete them, Qt can handle deleting widgets on close. This and the previous change removed all the code in DCTransferView's eventFilter so that was also removed. (However future changes may bring this back, plus a map of filelist browsers to handle jump to file and downloading folders from search.)
- 05/07/2008 Fix the rtti value used in dcwidget and don't provide a public variable to change it.
- 07/07/2008 Fix wrong use of forward declarations in dctransferviewitems.h.
- 07/07/2008 pthread flags are now part of dclib's flags so the configure test was removed.
- 07/07/2008 Break up very long lines in Makefile.am files.
- 07/07/2008 Improve column width handling on resize for hublist manager, search, transfers and friends list. In Qt3, using resizeMode AllColumns almost works fine but does not allow you to resize the last column. In Qt4, only the last column is resized. So both versions have custom column resizing code, which now preserves the width ratios set by the user. Also the hublist manager's columns total width was made to be about twice the width of the dialog it is in, with horizontal scrollbar present.
- 07/07/2008 Another attempt to fix uninitialised variable warning in dcfiletool, but it is still there. (Why not just initialise the variables? Well, in all cases the variables should be initialised, but the compiler disagrees.)
- 07/07/2008 Trim whitespace from ends of text copied from filebrowser, hubsearch, and hublist manager. Fixes e.g. copy and paste to search by TTH.
- 07/07/2008 Add show/hide column ability to right click menu of userlist.
- 07/07/2008 Remove type parameters from custom event constructors (there's no reason for creating an event and giving it the wrong type).
- 07/07/2008 Fix missing include of CByteArray in DCChat.
- 08/07/2008 Add dclib and Qt versions to about dialog.
- 08/07/2008 Replace CString with QString in config objects (emoticon, hubfilter, chat/menu commands, auto responses).
- 08/07/2008 Use QMap not CStringList to store list of hub filters.
- 08/07/2008 Fix not allowing a filter to be renamed to an already existing name, and add error dialogs.
- 08/07/2008 Fix the location of the new bookmark ordering buttons.
- 08/07/2008 DCFileItem does not need a virtual destructor.
- 08/07/2008 Minimize what dcchat.h includes.