--- - branch: MAIN date: Sun Jan 15 09:29:08 UTC 2017 files: - new: '1.26' old: '1.25' path: pkgsrc/games/lgogdownloader/Makefile pathrev: pkgsrc/games/lgogdownloader/Makefile@1.26 type: modified - new: '1.22' old: '1.21' path: pkgsrc/games/lgogdownloader/distinfo pathrev: pkgsrc/games/lgogdownloader/distinfo@1.22 type: modified id: 20170115T092908Z.4867b5f406b3e7f629d953afbe441c0ed446b652 log: | 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 module: pkgsrc subject: 'CVS commit: pkgsrc/games/lgogdownloader' unixtime: '1484472548' user: wiz