Sude
8736e3dec8
Merge branch 'patch-1' of https://github.com/skitt/lgogdownloader
2015-10-03 18:52:36 +03:00
Stephen Kitt
574a315c44
Check that stdin is a tty before reading
...
If stdin isn't a tty, the behaviour of std::getline(std::cin, email) and getpass() is different (the latter always uses /dev/tty). If input is redirected, it's probably best to just fail.
2015-09-13 15:15:21 +02:00
Sude
d9587e4544
Version 2.25
2015-09-05 11:15:15 +03:00
Sude
0a7e3a217e
Update help text of --download-file option
2015-09-05 11:11:12 +03:00
Sude
63145eef0d
Simplify string parsing for downloading with file ids
2015-09-03 13:18:30 +03:00
Sude
16b14d091b
Simplify "all" value calculation to make it easier to understand
...
No idea why I was shifting 2 instead of 1 here.
2015-09-03 12:42:00 +03:00
Sude
d8c66707cc
Fix retry on timeout
...
Don't delete the file on timeout
2015-09-02 16:11:03 +03:00
Sude
b4fd9fcf5c
Use regular expressions for getting language and platform option values
...
Selecting languages with --language and --language-priority
- Whatever code GOG happens to use in their API (mostly ISO 639-1)
- ISO 639-1
- ISO 639-2/T
- ISO 639-2/B
- English name
Selecting platforms with --platform and --platform-priority
- Windows: "w, win, windows"
- Linux: "l, lin, linux"
- Mac: "m, mac, osx"
2015-09-02 11:16:00 +03:00
Sude
2206e988a6
Initial support for using platform/language strings to set options
2015-09-01 14:45:34 +03:00
Sude
9b560d786e
Some minor code cleanup
2015-09-01 13:59:54 +03:00
Sude
129768743e
Add info to README
2015-08-29 16:54:36 +03:00
Sude
887ac52563
Some improvements to priority handling
...
Fixes issues with some strings that caused issues previously
For example: 4,,1 is now handled correctly
2015-08-29 16:18:20 +03:00
Sude
a8e09a7f48
Use same structure for language and platform structs
2015-08-29 15:03:20 +03:00
Sude
2473b6f24d
Remove tarball specific code from API
2015-08-29 14:31:59 +03:00
Sude
06d211f534
Simplify and remove duplicate code for getting config directory paths
2015-08-29 14:26:36 +03:00
Sude
f992466ddf
Fix priority handling with duplicate values
...
Having duplicate values in priority string caused platform/language to be set to wrong value
For example --platform 1 --platform-priority 4,1,1 caused platform to be set to 6 instead of 5
2015-08-29 14:22:18 +03:00
Sude
f9c15dfaca
Make automatic xml creation default for --create-xml
2015-08-29 14:18:10 +03:00
Sude
fc5d54ca63
Merge https://github.com/eroux/lgogdownloader
2015-08-29 14:14:48 +03:00
Elie Roux
3ea8cd6edb
reorganize README
...
Answering remarks on https://github.com/Sude-/lgogdownloader/pull/63/files
2015-08-27 16:47:41 +02:00
Elie Roux
4f0e2a4789
add a few useful infos in README
2015-08-27 12:32:22 +02:00
Sude
535bbc52e3
Merge branch 'default_login' of https://github.com/bwrsandman/lgogdownloader
2015-08-18 02:47:45 +03:00
Sandy Carter
9c2f35bb27
Only return if --save-config is specified
...
Continue running commands if login was forced due to missing configuration
Allow downloading of files even if config is missing with only one prompt
for username and password
2015-08-17 19:27:23 -04:00
Sandy Carter
a066e99bad
If no login method is defined default to api
2015-08-17 19:20:57 -04:00
Sandy Carter
5c9488fc13
Prevent the use of --output-file when downloading multiple files
2015-08-15 07:57:43 +03:00
Sude
b6d07f5343
Merge branch 'outname' of https://github.com/bwrsandman/lgogdownloader
2015-08-15 07:56:53 +03:00
Sude
9b594416f4
Merge branch 'protocol' of https://github.com/bwrsandman/lgogdownloader
2015-08-15 07:55:00 +03:00
Sandy Carter
bc92655702
Add output filename option
...
Add -o option to specify path and downloaded file name when using
--download-file
Overrides --directory
2015-08-14 23:15:15 -04:00
Sandy Carter
b19314af78
Enable multiple file download with protocol address
...
Implement download of gog addresses containing commas of the form:
gogdownloader://GAME_NAME_1/FILE_ID1,GAME_NAME_2/FILE_ID2,...
2015-08-14 21:48:58 -04:00
Sandy Carter
04251776d3
Interpret protocol-prefixed argument as download argument
2015-08-14 21:48:58 -04:00
Sandy Carter
1eb2e8deaa
Strip out protocol substring for file download
2015-08-14 21:48:55 -04:00
Sandy Carter
fe314869c1
Factor out protol string as a constant
2015-08-14 21:09:27 -04:00
Sude
6132b7a96c
Add .sh to orphan check regex
2015-08-14 20:36:23 +03:00
Sude
b65084dd65
Remove --no-deb and --no-targz options
...
GOG no longer provides deb and tarball archives
2015-08-12 17:15:14 +03:00
Sude
ceef80167c
Add support to ignore dlc count using game specific config with --list
2015-08-12 17:01:15 +03:00
Sude
64cae133cf
Change path to look for game specific config files
...
Old path: $XDG_CONFIG_HOME/lgogdownloader/gamename.conf
New path: $XDG_CONFIG_HOME/lgogdownloader/gamespecific/gamename.conf
2015-08-12 16:53:25 +03:00
Sude
374453b806
Detect reCAPTCHA on login form
2015-08-12 16:47:17 +03:00
Sude
f51cca5dff
Add options to login separately to website and API
2015-08-12 16:42:54 +03:00
Sude
4c6ac86619
Version 2.24
2015-07-11 14:51:11 +03:00
Sude
9db2b8f2b0
Use getFormattedErrorMessages instead of deprecated getFormatedErrorMessages
2015-07-06 06:59:54 +03:00
Sude
6e5a0870e8
Delete old cookies when using --login
2015-07-06 06:47:09 +03:00
Sude
011cd2c116
Merge https://github.com/erikfleischer/lgogdownloader
2015-07-06 06:45:22 +03:00
Erik Fleischer
fb23318d5a
Fix --repair on 32 bit platforms for files > 2 GB.
2015-07-05 19:23:11 +02:00
Erik Fleischer
7e8f707846
Fixed segmentation fault on startup on 32 bit platforms.
...
Fixed downloading files > 2GB on 32 bit systems.
2015-07-05 15:50:16 +02:00
Erik Fleischer
9fbf791a78
Fixed createXML declaration.
2015-07-04 20:52:12 +02:00
Erik Fleischer
0d73445e28
Some more small changes to handle files > 2GB on 32bit platforms.
2015-07-04 20:22:08 +02:00
Erik Fleischer
23df30d7be
Continued replacing size_t with uintmax_t in order to handle file larger than 2GB on 32 bit platforms.
2015-07-03 22:09:50 +02:00
Erik Fleischer
095492942e
Replaced size_t with uintmax_t for file size data types.
2015-07-02 18:27:28 +02:00
Sude
3f7fbc5bd1
Show DLC gamename instead of base gamename in --status output for DLCs
2015-07-02 03:04:04 +03:00
Sude
64690d0368
Add status code for file size mismatch
2015-07-02 03:01:21 +03:00
Sude
84e8ab8dab
Tell user to try --login if JSON parsing fails in Downloader::getGames
2015-07-01 04:03:27 +03:00