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
Sude
899bc566a2
Make gzip overwrite files without asking
2014-02-13 10:08:08 +02:00
Sude
9dda0fccdc
Added --report option
2014-02-13 10:05:16 +02:00
Sude
13d3e5e25b
Minor change to uninstalling man page
2014-02-06 10:14:36 +02:00
Sude
77712eb8fe
Updated .gitignore
2014-02-06 10:04:31 +02:00
Sude
83e9954579
Added support for more installer languages and language packs
...
Dutch, Swedish, Norwegian, Danish and Finnish
2014-02-06 09:57:37 +02:00
Sude
1aebafb38d
Generate man page using help2man
2014-02-06 09:38:54 +02:00
Sude
d2421ba4f8
Added --version
2014-02-06 09:27:30 +02:00
Sude
3b4def2ebe
Add support for setting default options in config file
...
Added --save-config and --reset-config options
2014-02-03 19:28:48 +02:00
Sude
44220211d5
Fix segfault in cover download
2014-02-03 19:10:02 +02:00
Sude
d31a5c05b7
Version 2.11
2014-01-05 16:06:19 +02:00
Sude
1238f54143
Remove environment check because it's not used for anything
2014-01-05 16:04:23 +02:00
Sude
b59210c251
Changed --check-orphans to set regular expression filter for orphan check.
...
If no argument is given then the regex defaults to '.*\.(zip|exe|bin|dmg|old)$'
2013-12-22 13:02:48 +02:00
Sude
b49c12b88c
Fix automatic xml creation in Downloader::repairFile
2013-12-14 14:24:52 +02:00
Sude
d912a09b2b
More changes to Downloader::repairFile
2013-12-12 14:21:43 +02:00
Sude
b0f157c710
Some changes to Downloader::repairFile
2013-12-12 11:01:25 +02:00
Sude
d430af63d0
Support XDG Base Directory Specification
...
Configuration files and cookies are now stored in "$XDG_CONFIG_HOME/lgogdownloader"
if $XDG_CONFIG_HOME is not set it will use "$HOME/.config/lgogdownloader"
XML files are now stored in "$XDG_CACHE_HOME/lgogdownloader/xml"
if $XDG_CACHE_HOME is not set it will use "$HOME/.cache/lgogdownloader/xml"
2013-12-11 11:27:53 +02:00
Sude
65f407d076
Close the file on memory and read error in Downloader::repairFile
2013-12-11 10:38:32 +02:00
Sude
c998207e08
Version 2.10
2013-11-29 15:47:08 +02:00
Sude
388ea9e038
Call Downloader::getGameDetails() from the functions that need it instead of using conditions in Downloader::getGameList()
2013-11-26 12:59:42 +02:00
Sude
8d690a920e
Simplify output of update check
2013-11-26 12:31:20 +02:00
Sude
6b4010d9c5
Changed all remaining "negative" variables to "positive" in config.h
...
Code was becoming really confusing with all the double negatives in conditions, for example: if(!bNoInstallers)
Added some comments to code
2013-11-19 12:47:10 +02:00
Sude
c4585d3d61
API change: added duplicate handler for installers
...
API::getGameDetails now has a parameter to enable duplicate handling (default: false)
The duplicate handler applies a language id flag on the original installer so it shows support for multiple languages
Downloader uses duplicate handler by default
Added --no-duplicate-handling option to disable duplicate handler
2013-11-18 13:28:27 +02:00
Sude
1cd79a2292
Sort by title when using "--game free"
2013-11-17 11:01:35 +02:00
Sude
35e64bbe1e
Change url for cover xml data
2013-11-14 15:52:14 +02:00
Sude
0d9c27d20a
Added --status command and made createXML output easier to read
...
Version check before download now works without local XML data. However it is much slower without the XML data because it calculates MD5 for the files
Some changes to config.h
- Removed "bHelp" from config because it was not needed
- Changed "bNoColor" to "bColor"
- Changed "bNoUnicode" to "bUnicode"
2013-11-14 15:40:59 +02:00
Roman Kamyk
a63165d5a5
includes fix
2013-11-02 21:56:42 +02:00
Sude
1173aff367
Fix bug in Downloader::HTTP_Login
2013-11-02 21:10:01 +02:00
Sude
359df14b4a
Fix login bug
2013-10-20 02:20:04 +03:00
Sude
4584b81a4b
Version 2.9
2013-10-15 14:56:32 +03:00
Sude
f2794ededf
Added --check-orphans to check for orphaned files
...
Checks for orphaned files (files found on local filesystem that are not found on GOG servers) and prints their path
2013-10-14 22:31:12 +03:00
Sude
34236e3774
Don't try to get extras from account page if --no-extras is used
2013-10-13 12:53:44 +03:00
Sude
08b0e10429
API changes: preliminary support for the new "silent" flag
2013-10-13 12:21:14 +03:00
Sude
eb0208fffa
API changes: "#updated" flag is replaced by "notificated" flag
2013-10-13 12:16:25 +03:00
Sude
2a253f6357
Get details about game extras from account page
2013-10-13 11:55:46 +03:00
Sude
a183bb59e6
Allow automatic xml creation durring --repair --download
2013-09-04 21:03:43 +03:00
Sude
e6994d7f5f
Fix for downloading missing files with --repair --download without xml data
2013-09-04 20:52:22 +03:00
Sude
c9668c66d2
Fix listing/downloading free games using "--game free"
2013-09-04 19:58:03 +03:00
Sude
795a131c15
Show download rate in MB/s when it exceeds 1MB/s
2013-08-27 10:01:04 +03:00
Sude
a05f9f8d60
Version 2.8
2013-08-11 16:37:22 +03:00