Changelog for 0.3.17 / 0.4.3
dclib 0.3.17
- 16/06/2008 Add comparison function and operators <, <=, >, >= to CString.
- 16/06/2008 Now CString s can be a map key, so use them for the userlist map instead of std::string.
- 16/06/2008 Add SSL and XML CFLAGS to dclib.pc.
- 16/06/2008 Move dclib-ssl-use.h in the source tree and use it in dclib's headers instead of config.h.
- 16/06/2008 Do DLM_QueueCheck by TTH primarily, but fallback to size if either TTH given or TTH in queue is empty.
- 16/06/2008 Parse TTH from dcfile:// link.
- 16/06/2008 Fill in missing TTHs when sources are added to the queue. If source has no TTH, TTH from the queue is used, if file in queue had no TTH before, it gets set.
- 17/06/2008 Move file permissions check into CDir::ReadEntrys, compare effective uid/gid with file owner and permissions, avoids using the access system call.
- 17/06/2008 Replace all CThread objects being used as a mutex with the smaller CMutex.
- 17/06/2008 Reduce copying of CIconv input data. This is important, since all text goes through CIconv.
- 17/06/2008 Add GetResolvedIP() function to CSocket since CConnection::GetIP() usually returns a hostname. (Actually, GetHost(TRUE) which does getpeername() could have been used instead).
- 17/06/2008 Make CString::ToLower() and CString::ToUpper() const, since they are.
- 17/06/2008 Use GetResolvedIP() when sending search requests from CClient into CQueryManager instead of a really stupid use of a CStringList.
- 17/06/2008 Fix missing includes since cstringlist.h is no longer included by cclient.h.
- 17/06/2008 Tiny CString optimisation - remove a copy on operator =.
- 17/06/2008 Big CString optimisation - remove copy operations on == and != when one side is char * .
- 18/06/2008 Unbreak CString when memory areas overlap. It turns out all the copying that was removed was protection against this. Hopefully the pointer comparisions are faster than the copying.
- 18/06/2008 Fix CByteArray::Append() in case the memory areas overlap (although dclib/valknut does not require this).
- 18/06/2008 Optimise CXml to reduce data copying. The result of the optimisations is that the total number of CString objects used (not all at once, obviously), when opening and closing valknut with 1600 public hubs has fallen from 1,000,000 to 335,000.
- 19/06/2008 Optimise CTransfer a little, reduce repetitive mutex locking and unlocking.
- 20/06/2008 Remove the extra copy on appending a single character to a CString (performance improvement is very small).
- 20/06/2008 Load .bin files only once on startup, not twice.
- 20/06/2008 Remove questionable, and broken, test to not refresh share on startup if the total size is the same. Now your share will always be refreshed on startup if that setting is true. (The broken test added up the sizes of the files in your share, and compared it to the size from your filelist, but your filelist had not been created yet, so always returned zero.)
- 20/06/2008 Fix share not available (and so reported as 0B) during refresh on startup.
valknut 0.3.17 / 0.4.3
- 16/06/2008 Do not disable user command menu entries if the user is offline.
- 16/06/2008 Make the /pretend command a configure option, automatically enabled for svn builds and disabled for release builds. (The /pretend command makes valknut act as though it received that data from the hub, e.g. /pretend <fakenick> hello| makes valknut display hello from fakenick in public chat. Nothing is sent to the hub, it's just valknut sending data back to dclib.)
16/06/2008 Remove XML, SSL flags from Makefiles since they are now part of dclib's flags.
- 16/06/2008 Remove bzip2 configure test, valknut doesn't need it, and dclib fully wraps bzip2 functions.
- 16/06/2008 Add TTH column to transfer lists.
- 16/06/2008 Add file sources by TTH unless nothing matches, in which case falls back to size. This is needed to allow manually adding files with TTH to non-TTH sources and non-TTH sources to files with an existing TTH.
- 16/06/2008 Parse TTH from dcfile:// links (gui part).
- 16/06/2008 Update TTH in local files list, and printf a warning if an existing TTH is changed.
- 16/06/2008 Add .xml to the list of filetypes the filelist browser open file dialog has.
- 17/06/2008 Replace CThread used as mutex with smaller CMutex (even though dclib classes should be replaced with Qt classes as much as possible in valknut).
- 17/06/2008 Use GetResolvedIP() to put the actual IP address, not hostname, into hub IP tags in user commands.
- 17/06/2008 Fix another invalid QString == CString comparison, in the auto responder code.
- 18/06/2008 Remove CStringList and CString from translator, replace with Qt3 QIntDict / Qt4 QHash.
- 19/06/2008 Remove CStringList from DCClient, replace with QMap.
- 19/06/2008 Qt4: Optimise the search spy and user list models a little, instead of using QHash::contains() then QHash::value(), just use QHash::value() and check for a null pointer returned.
- 19/06/2008 New Serbian translation from Urosevic Aleksandar.
- 19/06/2008 Flags replaced with non-wavy images, from Freeciv, but with the 1 pixel black border removed, and converted to XPM format.
- 19/06/2008 Replace some CStrings in DCConfig with QStrings.
- 19/06/2008 Put back SSL and XML flags, dclib does not fully wrap them, valknut uses some libxml2 functions directly.
- 19/06/2008 Fix occasional invalid use of QObject::tr().
- 20/06/2008 Rename filelists saved by 0.3.13 or earlier to the new naming scheme of 0.3.14 and later.