Commit Graph

344 Commits

Author SHA1 Message Date
Sude
eda6c67854 Add .deb and .tar.gz to orphan check regex 2014-07-31 15:12:00 +03:00
Sude
4582884a0d Fix blacklisted file causing downloader to skip a game
Incorrect check for blacklisted file caused the downloader to skip a game instead of skipping just one file
2014-07-24 18:07:14 +03:00
Sude
027b25a5e8 Version 2.15 2014-07-24 17:26:26 +03:00
Sude
6ed5da2fb3 Treat tarball archives in patch nodes as installers 2014-07-24 16:49:02 +03:00
Sude
01d8479d18 Remove the ugly hack to get details for Linux installers
GOG fixed API response for Linux installers
2014-07-24 16:00:50 +03:00
Sude
5b879190fe Forgot to rename function argument in api.h 2014-07-24 15:50:53 +03:00
Sude
630d8a31c3 Add support for Linux installers 2014-07-24 15:36:50 +03:00
Sude
42a461ed55 Get patch details only for specified platforms 2014-07-12 00:36:04 +03:00
Sude
9c1fe65e81 Version 2.14 2014-07-07 15:59:14 +03:00
Sude
31c547be8a Fix saving config when init fails but --login was not used 2014-07-07 15:57:07 +03:00
Sude
92b8ef3750 Don't print config values when saving config file 2014-07-06 17:22:26 +03:00
Sude
ce26a4b020 Don't reset options set in config file on --login 2014-07-06 17:20:06 +03:00
Sude
2aeca35097 Tell the user to try --login if no games are found on the account. 2014-07-04 16:31:30 +03:00
Sude
c1e7adeb0b Display filepath for patches when downloading
Makes the behavior consistent with installers and extras
2014-07-03 21:38:53 +03:00
Sude
4e55b0677f Merge https://github.com/huancz/lgogdownloader 2014-07-02 19:57:53 +03:00
Petr Běhan
889ec93f72 man section for blacklist 2014-07-02 19:56:18 +03:00
Petr Běhan
95fd2bbff1 implemented blacklist for --download, --repair and --check-orphans 2014-07-02 19:56:18 +03:00
Petr Běhan
80cb7ee27a remove duplicated code in path initialization 2014-07-02 19:56:18 +03:00
Sude
3dd4a95896 Make login work with the new login form 2014-07-02 19:52:43 +03:00
Ismo Toijala
526aab5c05 Don't hash files after downloading for which remote XML is available 2014-06-21 16:00:36 +02:00
Sude
610f9da809 Version 2.13 2014-06-20 11:57:23 +03:00
Sude
ebb9aa61d4 Remove language id/code from urls as GOG no longer requires it. 2014-06-19 00:31:09 +03:00
Sude
23ded13050 Don't call usleep if it's not necessary 2014-06-10 12:55:38 +03:00
Sude
f25c37074a Added --wait option to set delay for http requests
May help with some errors that could be caused by too many requests in short time
2014-06-10 12:16:49 +03:00
Sude
dee83494c0 Make subdirectory for dlc based on the dlc gamename
gamename/dlc/dlc_gamename
2014-06-10 12:05:13 +03:00
Sude
5829f98a3b Added retry support to Downloader::getResponse 2014-06-10 12:01:28 +03:00
Ismo Toijala
6a5fe0b78e Only hash file if remote XML is available 2014-05-08 19:29:16 +03:00
Ismo Toijala
caacff9f22 Use remote XML for languagepacks 2014-05-08 18:07:33 +02:00
Sude
d591f08acd Fix using local xml for hashes in Downloader::downloadFile 2014-04-20 21:35:05 +03:00
Sude
c140156216 Check orphans regex matches the file path instead of filename 2014-04-18 20:09:22 +03:00
Sude
78fe112e5e Use secure.gog.com to get "buk" value for login form 2014-04-14 15:27:23 +03:00
Sude
e491c06780 Print more verbose error message in Downloader::getResponse 2014-04-14 00:37:57 +03:00
Sude
018a056e73 Possible fix for login issues 2014-04-13 23:07:22 +03:00
Geoffrey Biggs
da80d9c4c9 Fixed segfault when downloading non-dlc patches 2014-04-08 06:40:05 +09:00
Sude
50cc5a2565 Added DLC support 2014-03-29 01:51:39 +02:00
Sude
8435fb2566 Use duplicate handler for patches 2014-03-18 18:43:53 +02:00
Sude
8f5ef9a7a6 Urldecode extra links before getting pathname from links
Some extras had spaces in filename. This caused url encoded character %20 to be used instead of space in filenames.
2014-03-17 10:25:08 +02:00
Sude
3d102bf954 Version 2.12 2014-03-09 23:04:17 +02:00
Sude
4dba1c2890 Make --check-orphans work with --download 2014-02-28 12:54:40 +02:00
Sude
fd5d9a4b43 More integer overflow fixes in Util::createXML 2014-02-28 03:03:35 +02:00
Sude
d31613dee7 Fix integer overflow when creating xml data
TiXmlElement::SetAttribute casted "size_t" to "int" which caused it to overflow
2014-02-27 11:52:39 +02:00
Sude
8115e591ca Fix wrong condition in f671834 2014-02-26 15:34:31 +02:00
Sude
c70a6c3775 Save xml data to subdirectories
$XDG_CACHE_HOME/lgogdownloader/xml/gamename/filename.xml
Fixes problem with some games using same filenames for extras
2014-02-26 15:04:16 +02:00
Sude
f671834068 Retry failed/partially downloaded files
Added --retries option to set maximum number of retries
2014-02-26 14:59:23 +02:00
Sude
3f7669a775 Added --no-subdirectories option 2014-02-23 03:16:10 +02:00
Sude
c70356bf49 Include <sys/time.h> in api.h
Fixes compiling in some environments that didn't automatically include sys/time.h
2014-02-20 10:13:03 +02:00
Sude
66bd53b714 Possible fix for some extras having wrong path names
(for example: URL as path or NUL bytes in path)
2014-02-17 16:49:29 +02:00
Sude
cae29a1c1d Add XDG Base Directory Specification support to Util::createXML
I forgot to change Util::createXML in d430af6
2014-02-17 14:26:12 +02:00
Sude
1c26af48d2 Use subdirectories for extras, patches and languagepacks
The simple extras detection in Util::makeFilePath is replaced with argument for setting subdirectory
2014-02-17 14:19:40 +02:00
Sude
cfe4311209 Save to log after each file instead of waiting until destructor is called 2014-02-13 11:16:31 +02:00