Changelog for 0.3.21 / 0.4.7
dclib 0.3.21
- 05/09/2008 Remove "None" special encoding value because it cannot possibly work.
- 05/09/2008 Simplify CDownloadManager::InitSearch() - no need for a separate list of TTHs because there already is a list of search results and a list of search requests being made - both contain the TTH.
- 06/09/2008 Re-write database rebuild and hash leaf validation. Changes:
- The 0.3.20 code did lots of stuff which is not necessary because it is done on a normal filelist refresh.
- The functionality was split up. There is now a rebuild function which just removes data about not currently shared files, and a validate function which just checks each set of hash leaves matches the root.
- The validate function does not need to rehash any files itself, just remove invalid entries from the database. Any re-hashing is done after during the normal filelist refresh.
- The maximum size of hash leaf data generated is 12KiB, any hash leaf data that claims to be greater than 24KiB is deemed invalid.
- The new functions do not need to do a filelist refresh if no problems were found.
- If you did /rebuild with no folders shared, a mutex gets unlocked twice most likely crashing, if not the file manager is stuck forever in create share list mode.
- 06/09/2008 Add work around for PtokaX hubs which do not send a complete supports string. Because dclib was not told that ZLine and UserIP2 are enabled these features would not work correctly.
- 06/09/2008 Remove incorrect "callback failed" printf on receiving auto search result.
- 06/09/2008 Remove a few unused variables from CShareList::CreateList() and lock the mutex earlier.
- 06/09/2008 Fix CStringList remove without delete for lists deeper than the default.
- 07/09/2008 Use mkstemp for saving config files via temp files.
- 07/09/2008 Check close() return value in CFile::Close(). The man page describes not checking as "a common but nevertheless serious programming error". TODO: check all CFile::Close() calls.
- 07/09/2008 Make saving CByteArray to file go via a temp file to avoid destroying the hash database on failed write.
- 08/09/2008 Remove all $Capabilities related stuff. Unused.
- 08/09/2008 Ignore whatever $Supports message a hub sends and assume all features requested have been understood and enabled. Forum thread.
- 08/09/2008 Remove all unused members from CMessageSupports (all hub supports and a few unused client ones).
- 08/09/2008 Fix all references to zline, due to hubs not sending supports and the general lack of documentation, the code is for zpipe, but calls it zline. Included within dclib.cfg, so the setting for enabling it is reset to false.
- 08/09/2008 Do not send $GetINFO on receiving $Hello - never needed.
- 08/09/2008 Remove CClientSSL::JoinHub() - it was not being called on all modern (NoHello) hubs, and can't possibly be necessary since LeaveHub() is sufficient. It was for resetting the ssl private chat state, which LeaveHub() does.
- 08/09/2008 Remove ignored supports strings from parser, remove printf on unknown supports strings.
- 09/09/2008 Add some code for debugging CClient buffering to CConnection. It is not compiled by default (#if 0).
- 09/09/2008 Fix yet another ZPipe bug.
- 09/09/2008 Remove CMessageZOn. CClient already found the ZOn, no point leaving it for CMessageHandler to find again.
- 09/09/2008 Due to the hub-client supports issues, the code for handling $ZOn| must always be enabled regardless of if you wanted it or not.
- 11/09/2008 Add 5 tests for "make check" - calculate a tth root, check CString Find functions, CString append / assign to self, tests for CIconv, test for CCaseFolder.
- 11/09/2008 Fix compile with libxml2 < 2.6.17.
- 11/09/2008 Revert CDownloadManager::UpdateTransferList to 0.3.19.
- 11/09/2008 Update CDownloadManager::UpdateTransferList for the dclib API changes without breaking it like last time. Should fix hopelessly broken transfer list handling.
- 11/09/2008 Do not ask passive users who do not support TLS transfers to do TLS transfers.
- 12/09/2008 Fix --disable-ssl build, CClientSSL::JoinHub was not removed.
- 12/09/2008 Fix CTraffic constructor causing very early segfault on startup with Qt 4.4.1 and static dclib.
valknut 0.3.21
- 05/09/2008 Remove "None" special encoding value because it cannot possibly work.
- 05/09/2008 Add a magnet link dialog.
- 05/09/2008 Leave the file manager progress percentage visible until finished, instead of being set empty, while the XML/HE3 lists are being created.
- 06/09/2008 Add /validate chat command since validation is no longer done in /rebuild.
- 06/09/2008 Remove "update user" menu item on NoGetINFO hubs (all modern hubs) since it is not needed, likely doesn't work, and PtokaX will disconnect you.
- 06/09/2008 Fix "browse user files" from wait list menu. It now queues the filelist. If it was trying to load a filelist from disk, well, valknut never does that automatically, and it was broken.
- 07/09/2008 Improve /pretend command so it can test data buffering.
- 08/09/2008 Re-write SIGTERM handling so that it complies with the list of functions you can use in a signal handler.
- 09/09/2008 The options dialog will no longer allow you to enable ZPipe support. The check box disables itself when unchecked.
- 09/09/2008 Fix restoring the width of the userlist vs the width of the chats. The userlist was getting smaller.
- 10/09/2008 Fix spacer names in hub search .ui file and give them heights of 10 so they can be seen in Qt3 designer.