Sude
0dfa610c28
Merge branch 'exit-status' of https://github.com/chewi/lgogdownloader
2016-11-03 20:54:04 +02:00
Sude
3baefaa96f
Merge branch 'respect-umask' of https://github.com/chewi/lgogdownloader
2016-11-03 20:53:27 +02:00
James Le Cuirot
1388c00a4e
Exit with non-zero status when --list or --list-details fails
2016-09-23 22:20:37 +01:00
James Le Cuirot
d8b8d6da96
Exit with non-zero status when at least one --download-file fails
2016-09-23 22:20:08 +01:00
James Le Cuirot
e36552c6ed
Add --respect-umask option to prevent adjusting permissions
...
I would like to use LGOGDownloader in conjunction with Gentoo's
package manager, which may execute it as root, portage, or some other
user in the portage group. A shared configuration under /etc will be
used to avoid sandboxing issues. This will not be world readable.
2016-09-21 23:49:32 +01:00
Sude
4ee63f7e87
Set some curl options for API handle in Downloader::processDownloadQueue
...
Some curl options which were used for API handle in Downloader::init weren't set for the API handle in Downloader::processDownloadQueue
2016-08-30 21:34:58 +03:00
Sude
24bd3a7c0e
Set CA cert path in Downloader::processDownloadQueue
...
Forgot to set CURLOPT_CAINFO in 0b455ddedc
for curl handles that Downloader::processDownloadQueue creates
2016-08-30 21:21:52 +03:00
Sude
0b455ddedc
Add option to set CA certificate path
...
Adds options to set path to CA certificate bundle in PEM format.
CURL_CA_BUNDLE environment variable is used if it is set and CA certificate path is not set with --cacert option.
2016-08-30 19:34:47 +03:00
Sude
8f800c602f
Make sure that website handle has updated config in Downloader::updateCheck
2016-08-27 23:27:01 +03:00
Sude
97169cef97
Get rid of getpass
...
Use termios to control terminal ECHO and read password with std::getline instead of using obsolete getpass()
2016-08-26 23:24:04 +03:00
Sude
e47a14836f
Merge branch 'master' of https://github.com/timohaas/lgogdownloader
2016-07-22 20:10:08 +03:00
timohaas
9c58141e4e
update README, added pkg-config package
2016-07-22 19:06:42 +02:00
Sude
31ebaee54c
Fix issue with some GOG XML data files
...
Some GOG XML data files contain additional nodes/elements that were not handled properly and caused issues.
We only care about the "chunk" elements so lets ignore all other xml elements.
2016-07-15 18:33:03 +03:00
Sude
116f9d88f2
Fix error in ca436a9927
...
This caused average download rate to be always 0 because it was never set
2016-07-04 12:51:01 +03:00
Sude
ca436a9927
Add average download rate to progressInfo struct
2016-07-01 18:37:23 +03:00
Sude
d1a59a7d46
Merge branch 'patch-1' of https://github.com/skitt/lgogdownloader
2016-06-12 19:25:23 +03:00
Stephen Kitt
f17bb189ef
Add missing spaces in the apt install command-line
...
Without the spaces, the command-line produces an error (see http://unix.stackexchange.com/questions/289162 for an example).
2016-06-12 18:22:38 +02:00
Sude
8845b6fb56
Update README.md
...
Debian/Ubuntu package list was missing libssl-dev
2016-06-03 17:56:45 +03:00
Sude
0c89f13b10
Fix indentation
...
Fixes the indentation in 60fb4db339
2016-06-01 14:29:16 +03:00
Sude
60fb4db339
Add DLC language packs to orphan check
...
Forgot to add DLC language packs to Downloader::checkOrphans in ff2264763e
2016-06-01 14:25:05 +03:00
Sude
ff2264763e
Add support for DLC language packs
2016-06-01 14:17:55 +03:00
Sude
4f5300be75
Delete file on failed download
...
File is deleted if the download wasn't a resume attempt or the result is zero length file
2016-05-30 14:54:57 +03:00
Sude
21699adc45
CMake: Work around FindThreads bug for CMake < 3.4.0
...
https://cmake.org/Bug/view.php?id=14905
2016-05-29 12:56:49 +03:00
Sude
afa5d3c5da
Update README.md
2016-05-20 20:40:53 +03:00
Sude
442fad04db
Add support for parallel downloads
...
New option "--threads" can be used to set how many parallel downloads to run. The default is 4 threads.
Changes to behavior:
- Serials and changelogs are saved and covers downloaded for all games that match the "--game" filter before any other files are downloaded.
- Automatic XML creation is run after all files are downloaded. Previously xml data was automatically created right after download finished.
- The "--limit-rate" option sets rate limit for thread not global rate limit.
2016-05-20 20:33:07 +03:00
Sude
b7846e8bd5
Show progress for getting game names from account page
2016-05-20 12:25:29 +03:00
Sude
06fd4d496c
Fix issue caused by 730c1ffe58
...
Util::getFileHash was called instead of Util::getLocalFileHash
This caused librhash error for files that didn't exist
2016-05-20 10:13:20 +03:00
Sude
730c1ffe58
Move code from Downloader::getLocalFileHash to Util::getLocalFileHash
2016-05-18 14:11:37 +03:00
Sude
4c02de5d24
Add language: Bulgarian
2016-05-18 13:06:28 +03:00
Sude
d2dcffb86b
Merge https://github.com/susnux/lgogdownloader
2016-05-18 13:05:40 +03:00
Ferdinand Thiessen
8ad2d5d5cf
Links in Readme
2016-05-13 14:44:30 +02:00
Ferdinand Thiessen
c83f6294ab
Ported code to use tinyxml2 instead of tinyxml
2016-05-13 14:37:02 +02:00
Sude
f0f670845e
Version 2.28
2016-05-05 07:04:20 +03:00
Sude
2bdd485e5e
CMake: set minimum required version of curl to 7.32.0
2016-05-03 17:12:23 +03:00
Sude
112ad17e18
Drop support for libcurl < 7.32.0
2016-05-03 16:48:54 +03:00
Sude
037582d3b1
Progressbar: add function to get bar as string
2016-04-27 20:47:15 +03:00
Sude
3fe58a06a1
Fix downloading language packs with file id
2016-04-26 18:22:34 +03:00
Sude
7b1127a85e
Use CURLOPT_XFERINFOFUNCTION instead of obsolete CURLOPT_PROGRESSFUNCTION
...
CURLOPT_XFERINFOFUNCTION was introduced in libcurl 7.32.0
Newer libcurl prefers the new callback even if both CURLOPT_PROGRESSFUNCTION and CURLOPT_XFERINFOFUNCTION are set. Therefore we can still support older versions libcurl.
2016-04-25 19:26:02 +03:00
Sude
51026efec0
Fix issue with cache update
...
Fixes an issue caused by 33fb004cdd
Website handle didn't have updated config which caused overridden values to be ignored
2016-04-25 18:20:00 +03:00
Sude
5bfb00bb31
Changed gameFile format and gamedetails cache format
...
gameFile now contains gamename and file type info
Game details cache format has been changed to match gameFile changes
Cache also has a new "gamedetails-cache-version" field that can be used to detect cache format changes
2016-04-25 18:14:04 +03:00
Sude
2538825fb2
Add missing WTFPL license text to gameDetails and gameFile classes
2016-04-18 20:39:31 +03:00
Sude
33fb004cdd
Move GOG website related members of Downloader class to new Website class
...
Downloader::HTTP_Login --> Website::Login
Downloader::getGames --> Website::getGames
Downloader::getFreeGames --> Website::getFreeGames
Downloader::getGameDetailsJSON --> Website::getGameDetailsJSON
Getting wishlist details is split from Downloader::showWishlist to Website::getWishlistItems function
2016-04-18 20:33:19 +03:00
Sude
519cb78d38
Fix compiling with JsonCpp 1.7.1
2016-03-25 23:09:17 +02:00
Sude
3e61a94d1e
Version 2.27
2016-03-12 20:36:35 +02:00
Sude
a0650129f7
Don't print help text after login
2016-03-12 09:37:30 +02:00
Sude
0be499db7f
Add support for two-step login
2016-03-12 09:30:43 +02:00
Sude
987e053ad4
Add option to save changelogs
2016-03-06 15:45:22 +02:00
Sude
852cb563ba
Reduce the amount HTTP requests
...
Save game details json for later use when DLC info is downloaded in Downloader::getGames.
This reduces the amount of HTTP requests because we don't need to download the info again in Downloader::getGameDetails.
2016-03-06 14:02:30 +02:00
Sude
173481a6f6
Make --update-cache ignore dlc count information
2016-03-06 13:20:04 +02:00
Sude
ca97148827
Make sure that file exists before trying to automatically create xml data in Downloader::getLocalFileHash
2016-02-29 03:15:53 +02:00