Desour
7f6b09dce8
Use json forward-declarations
2023-04-27 18:50:33 +02:00
sfan5
34888a914e
Sort out cURL timeouts and increase default
2021-04-02 00:19:39 +02:00
sfan5
531e7ef8eb
Serialize tool capabilities JSON without whitespace
...
fixes #11087
2021-03-20 22:06:17 +01:00
rubenwardy
87ad4d8e7f
Add online content repository
...
Replaces mods and texture pack tabs with a single content tab
2018-04-19 20:14:53 +01:00
Loïc Blot
50423d8c72
Update JsonCPP to 1.8.3 ( #6466 )
...
* Update JsonCPP to 1.8.3
* Fix deprecated functions
Json::FastWriter, Json::StyledWriter and Json::Reader are marked deprecated since 1.1 and are deprecated in 0.8 but not shown at compilation time.
Use new methods to serialize/deserialize
2017-09-26 20:30:14 +02:00
Elijah Duffy
dc3ca09e0e
Remove remaining modstore code ( #6120 )
2017-07-14 20:37:58 +02:00
est31
860d70bd0e
Don't print whole json data buffer to errorstream on error
...
`errorstream` must not be overly verbose as clientside it is directly printed
onto the ingame chat window. These days, the serverlist can contain > 200k bytes,
so better print it to warningstream if the data buffer is too long.
2016-01-28 23:53:58 +01:00
ShadowNinja
d36067fda5
Fix mod store rating
2015-04-20 22:48:14 -04:00
Craig Robbins
9527984dbc
Move globals from main.cpp to more sane locations
...
Move debug streams to log.cpp|h
Move GUI-related globals to clientlauncher
Move g_settings and g_settings_path to settings.cpp|h
Move g_menuclouds to clouds.cpp|h
Move g_profiler to profiler.cpp|h
2015-04-01 23:04:25 +10:00
ShadowNinja
86a3c8ce56
Reduce indentation of HTTPFetchOngoing
...
Also clean up some related things.
2014-09-18 21:54:22 -04:00
sfan5
5357a17bac
Don't include cmake_config_githash.h into files that don't need it
2014-07-25 10:48:03 +02:00
sapier
8af44f8163
Remove ugly curl struct pointer from jsonFetchValue signature
2014-06-19 21:24:53 +02:00
sapier
9a39848ba9
Remove a lot of superfluous ifndef USE_CURL checks
2014-06-19 19:05:37 +02:00
Selat
7cac34c807
Pass arguments by reference
2014-03-12 17:34:48 -04:00
BlockMen
18fd913e69
Fix MSVC build
2014-02-26 14:21:38 +01:00
proller
c62bab010f
Send long announce as POST, show OS in useragent
...
Add lag reporting to masterserver (average dtime)
StyledWriter -> FastWriter in masterserver announce
2014-01-07 02:50:45 +04:00
sapier
0d990bd189
Replace any direct curl usage by httpfetch
2013-12-13 18:05:46 +01:00
sapier
4ccaa6d0af
Implement search tab and version picker
2013-12-11 23:07:38 +01:00
proller
8903c68460
Correct useragent in http queries
...
Net struct init
2013-11-06 00:50:32 +04:00
sapier
1a96987d0f
Fix invalid use of pointer to temporary object in json2lua conversion
2013-11-04 19:11:11 +01:00
proller
e65d8ad655
Dont announce server in singleplayer
2013-07-27 17:51:34 +04:00
sapier
5160be91ae
Add configurable curl timeout
2013-07-22 18:09:59 +02:00
sapier
5c7ecdb7c5
Add support for modstore screenshots
...
Add error output on invalid mmdb entries
2013-07-22 18:09:59 +02:00
proller
ac7a44792c
Masterserver mods announse, ipv6, better curl errors
2013-07-13 00:19:05 +04:00
sapier
967121a34b
Replace C++ mainmenu by formspec powered one
2013-07-02 19:58:20 -04:00