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
9b560d786e
Some minor code cleanup
2015-09-01 13:59:54 +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
9db2b8f2b0
Use getFormattedErrorMessages instead of deprecated getFormatedErrorMessages
2015-07-06 06:59:54 +03:00
Erik Fleischer
0d73445e28
Some more small changes to handle files > 2GB on 32bit platforms.
2015-07-04 20:22:08 +02:00
Sude
671d3ed056
Show url for http error messages
2015-04-06 16:16:26 +03:00
Sude
a708f3d5b8
Show response of HTTP error in API::getResponse when using debug build
2015-03-19 10:02:29 +02:00
Sude
f039db5c65
Change jsoncpp include path
2015-01-22 09:22:48 +02:00
Gael Le Mignot
a46fad588b
First working version of priority handling
2014-10-26 10:47:13 +01:00
Sude
7a00b59345
Move gameFile and gameDetails classes to their own files
2014-09-19 20:23:21 +03:00
Sude
0d39bcb460
Add platform info to gameFile class
2014-09-07 23:09:08 +03:00
Sude
a51fb3ea26
Use boost regex in api if gcc/g++ < 4.9.0
2014-08-21 17:17:34 +03:00
Sude
6eba3c76cc
Use update/notification flags for patches
2014-08-18 07:47:52 +03:00
Sude
a3673a58a4
Use regex to find patch and language pack nodes in API response
2014-08-09 19:15:51 +03:00
Sude
ffab972430
Increased the maximum patch id number
...
Some games had patch id numbers that were higher than the current maximum
2014-08-09 04:32:46 +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
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
ebb9aa61d4
Remove language id/code from urls as GOG no longer requires it.
2014-06-19 00:31:09 +03:00
Sude
8435fb2566
Use duplicate handler for patches
2014-03-18 18:43:53 +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
359df14b4a
Fix login bug
2013-10-20 02:20:04 +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
fe238a2959
Added support for language packs and improved patch detection
2013-08-09 23:14:10 +03:00
Sude
e0a238b587
Fix crash caused by a change in API response for patches
...
Also fixes a bug that caused some patches to be ignored (patch file number was not reset after while loop that increased it)
2013-08-09 18:29:39 +03:00
Sude
b73a095f5f
Move the API constants from GlobalConstants to API as private members
2013-08-02 16:18:55 +03:00
Sude
b3792554bf
Added curlSetOpt() method to API for setting curl options
2013-06-28 16:06:08 +03:00
Sude
fe70090b74
Added --timeout option to set timeout for connection phase
2013-06-10 15:15:08 +03:00
Sude
5b2c4ae00a
Minor code cleanup, use std::to_string instead of stringstream
2013-05-23 16:04:31 +03:00
Sude
f11ff9e7e4
Added support for downloading patches
2013-05-15 01:28:37 +03:00
Sude
01430a5735
Code and comment cleanup
2013-04-28 18:46:37 +03:00
Sude
e27c585ed7
Verify authenticity of SSL certificates by default
...
Added option --unsecure to disable authenticity verification
2013-04-25 12:05:17 +03:00
Sude
9ee5f75bfb
Rename global constants to better describe what they mean
2013-04-25 10:48:10 +03:00
Sude
1593c58a01
Add trailing slash to API urls
2013-04-24 14:39:00 +03:00
Sude
55134979fb
Update the url for WTFPL license
2013-03-24 23:56:57 +02:00
Sude
3131b00589
Use global constants to simplify adding support for more languages/platforms
2013-03-23 20:12:49 +02:00
Sude
c40b4d96fe
Added support for more languages
...
Chinese, Czech, Spanish, Hungarian, Italian, Japanese and Turkish
2013-03-23 16:07:42 +02:00
Sude
97e948abb4
Add language to installer path if it is missing
2013-03-23 15:42:09 +02:00
Sude
fab2ab5b94
whitespace fix
2013-03-16 23:35:57 +02:00
Sude
5ad708e5b6
Use the new "#name" variable in the API for installers
2013-03-16 23:21:01 +02:00
Sude
6aa24207c3
--verbose now also sets curlhandle in API to verbose
2013-03-16 22:33:03 +02:00
Sude
57415af1c1
increase the connection timeout to 10 seconds in API
2013-03-16 22:22:05 +02:00
Sude
97273e8747
Fixed a typo that caused update flag to be set true for all installers
2013-03-16 03:47:38 +02:00
Sude
90c0b2be79
Use static memory allocation for extras and installers in gameDetails
2013-03-15 23:33:53 +02:00
Sude
2d045c4052
Initial commit
2013-03-15 22:46:16 +02:00