jacob1
4cf0fe5aab
Fix sim.deleteStamp not updating stamps.def
2019-03-25 23:52:48 -04:00
jacob1
c7ae820f1c
Add MotD when using a broken alternate update server
2019-03-23 11:01:32 -04:00
Tamás Bálint Misius
e07b133e5a
Another curl version-dependent feature thing
...
Seriously, who thought doubles were a good idea?
2019-03-23 10:30:26 +01:00
Tamás Bálint Misius
bd7aa33286
Only use curl mime feature if it actually exists
2019-03-22 22:27:11 +01:00
jacob1
ed2eac627b
Fix msvc compile
2019-03-18 23:50:38 -04:00
Tamás Bálint Misius
296b758193
Follow redirects and fix save loading by ptsave parameter
2019-03-18 23:50:38 -04:00
Tamás Bálint Misius
341e75cdfe
Fix thumbnails sometimes not being resized in the save browser
...
This was because ImageRequest::Finish used its Width and Height members after calling Request::Finish,
after which the ImageRequest object may get deleted at any time by RequestManager. One solution to this
is to copy (or preferably move) important members to local variables in the Finish functions of
objects derived from Request and use only those after calling Request::Finish (or anything that
in turn calls that).
2019-03-18 23:50:38 -04:00
Tamás Bálint Misius
5916c9db9c
Fix a bunch of threading-related issues
2019-03-18 23:50:38 -04:00
Tamás Bálint Misius
263f756a20
Add STATICSCHEME macro to be used with requests to STATICSERVER
...
Make up your mind, jacob1!
2019-03-18 23:50:38 -04:00
Tamás Bálint Misius
5bc3c03082
Change scheme to https everywhere
2019-03-18 23:50:38 -04:00
Tamás Bálint Misius
fc8740f7d5
Add curl, rework Request and RequestManager a bit
2019-03-18 23:50:38 -04:00
Tamás Bálint Misius
3d22c1ed4e
Fix dumb things that aren't necessarily lethal but are eyesores
2019-03-18 23:50:38 -04:00
Tamás Bálint Misius
d3fe7e39a5
Turn ThumbnailRendererTask into an AbandonableTask
2019-03-09 20:40:11 -05:00
jacob1
c09a7bb8d9
Fix compile error in some older versions of clang
2019-03-08 00:05:05 -05:00
Tamás Bálint Misius
7fb0b52d79
More renaming, remove a few useless .c_str()s and fix a URL that had previously contained Download and thus fell victim to my mindless text replacement tricks
2019-03-07 22:56:08 -05:00
Tamás Bálint Misius
d958adf487
Fix filename field in multipart content-disposition headers
...
All the multipart stuff is going to be handled by curl so this split-by-':' code is going to move into Request.cpp later.
2019-03-07 22:56:08 -05:00
Tamás Bálint Misius
30c7f6ded7
Rename Download* to Request* and move HTTP stuff inside src/client/http
2019-03-07 22:56:08 -05:00
Tamás Bálint Misius
1864a8649d
Turn RequestBroker::Get/SaveUserInfoAsync into a request derived from Download
...
Also move everything http_ into Download and DownloadManager and nuke RequestBroker.
2019-03-07 22:56:08 -05:00
Tamás Bálint Misius
af4d022087
Add RequestMonitor
2019-03-07 22:56:08 -05:00
Tamás Bálint Misius
66c49203f2
Use the new thumbnail renderer task everywhere
2019-03-07 22:56:08 -05:00
Tamás Bálint Misius
3a76a3a514
Turn RequestBroker::RetrieveThumbnail into a request derived from Download
...
Also start moving RenderThumbnail out of RequestBroker into its own Task. Add mutex to SaveRenderer to guard Render().
2019-03-07 22:56:08 -05:00
Tamás Bálint Misius
53f2018c7e
Turn RequestBroker::RetrieveAvatar into a request derived from Download
...
Also add http namespace because classes clashed a lot.
2019-03-07 22:56:08 -05:00
Tamás Bálint Misius
8b5cf394e0
Replace http_* calls with Download calls in non-RequestBroker stuff
2019-03-07 22:56:08 -05:00
jacob1
772148900e
Fix stamp and local save thumbnails being stretched
2019-03-03 23:45:33 -05:00
jacob1
768202ca9b
Version 94.1
2019-02-21 00:23:45 -05:00
jacob1
0c6ce20880
Add "Force Integer Scaling" option for fullscreen
...
Also:
recreate the window when enabling resizable window, same workaround I applied to my mod for jacob1/The-Powder-Toy#24
recreate the window when toggling fullscreen, to work around some bugs where the window is sized incorrectly or the mouse position doesn't match where the cursor is
Don't capture mouse cursor when this is a debug build
2019-02-18 22:18:29 -05:00
jacob1
240bb3bd92
restrict saves to version 94.0 when they use newer elements / features
2019-02-10 22:02:17 -05:00
wolfy1339
a2bb531c46
Remove inclusion of deprecated C++ headers
2019-01-31 20:09:15 -05:00
jacob1
87fb94ce94
Delete unused Thumbnail handling code
2018-11-27 22:13:29 -05:00
jacob1
48bc6e02ba
Fix gcc 8 warnings
2018-11-03 19:36:07 -04:00
nunom2005
31b45312b2
Add a message a message while fetching the motd ( #603 )
2018-10-30 21:01:17 -04:00
jacob1
3707ecd563
fix "publish" button in save browser
2018-08-24 23:11:09 -04:00
krawthekrow
11d33d5b77
call rayt linear detector
2018-06-24 10:37:11 -04:00
jacob1
38fac7046a
add #define NOMINMAX before windows.h includes
2018-05-17 21:49:46 -04:00
jacob1
6ef0f065a6
fix .what methods on exceptions
2018-05-17 20:55:29 -04:00
mniip
30dd49235d
Add ToLower/ToUpper
2018-05-14 05:12:32 +03:00
mniip
32aaafee94
Move data into either cpp files or const arrays
2018-05-08 07:38:55 +03:00
mniip
f8586ea3a2
Remove ByteString::Stream
2018-05-04 23:10:39 +03:00
mniip
1485ae5a21
Fix incorrect uses of String(char[])
2018-05-04 20:05:26 +03:00
mniip
6c9cb174fb
Change some uses of String::Stream to StringBuilder
2018-05-02 22:11:41 +03:00
mniip
a121c62c3b
Add some helper methods and rewrite some of the string manipulation code
2018-05-02 01:32:04 +03:00
mniip
ff27d69424
Switch from std::string to String/ByteString in most of the code
...
Also switch SimulationData from weird arrays to std::vector
2018-04-30 21:13:24 +03:00
jacob1
de757bc2c3
made sure the windows version actually compiled
2018-04-23 22:32:03 -04:00
jacob1
6731fa16b7
fix memory leaks when loading stamps ('l') and viewing saves
2018-04-21 00:15:15 -04:00
moonheart08
22b9bf4953
Adds RAYT ( #540 )
2018-04-10 21:32:19 -04:00
wolfy1339
27f6a6b297
Strip whitespace from files in repo ( #553 )
2018-04-03 21:46:01 -04:00
jacob1
dfc5bd1d85
don't restrict containing certain new 93.0 features to 93.0 (so renderer can render them)
2018-04-01 15:28:54 -04:00
jacob1
67bc12de97
Fix issue where TPT was bought by EA
2018-04-01 15:26:13 -04:00
jacob1
40d2850ff7
TPT has now gone free to play! Many elements are unlocked by default, but by using Powdercoins you can unlock new elements and promote your saves to front page!
2018-03-31 22:40:23 -04:00
jacob1
b89ea68acd
remove fromNewerVersion TODOs in GameSave.cpp
2018-03-24 14:38:26 -04:00