summaryrefslogtreecommitdiff
path: root/games/nethack
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2017-01-15 09:29:08 +0000
committerwiz <wiz@pkgsrc.org>2017-01-15 09:29:08 +0000
commit3cd256941d870148ef9255d21a08e399b1c7f6e5 (patch)
treea7fc219ec97552e2b7e88fe8ef33763d38c99a93 /games/nethack
parentb4cf41645ca56e472d0766e4b055f5cd0dbb4c5c (diff)
downloadpkgsrc-3cd256941d870148ef9255d21a08e399b1c7f6e5.tar.gz
Updated lgogdownloader to 3.1.
LGOGDownloader 3.1 - Make libcurl usage thread-safe (Patch by: Philipp Kerling) * libcurl internally uses signals by default, which will crash the application when using multiple threads. * Setting CURLOPT_NOSIGNAL on all handles avoids the crashes and is recommended in the libcurl documentation. - Made getTerminalWidth detect if it is running in a terminal before trying to get the width (Patch by: Steffan Byrne) * Before this change, if you tried to pipe the standard out to a file or run this as a process, it would fail. - Moved global curl init/cleanup and ssl thread setup out of the Downloader class * Allows using libcurl calls before calling Downloader::init() which can be useful in future - Some code restructuring * Moved some code from Downloader::init() to constructor * Added function API::isLoggedIn() * Added function Downloader::isLoggedIn() * Downloader::init() no longer calls Downloader::getGameList() it is now called from other functions when needed - Fixed some login issues - Limit download thread count to number of items in download queue - Rewrote and removed lots of duplicate code from Downloader::checkStatus() * --status now tries to get remote file hash for patches and language packs * GOG doesn't provide xml data for extras so we still have to rely on local xml data for those - Made --list show number of updates for games that have been updated * Allows user to check for updated games more easily - Replaced all printf and sprintf calls using new Util::formattedString() function * Util::formattedString creates formatted std::string using std::snprintf * Fixes possible buffer overflow in Downloader::printProgress() caused by sprintf call
Diffstat (limited to 'games/nethack')
0 files changed, 0 insertions, 0 deletions