Commit Graph

5147 Commits

Author SHA1 Message Date
jacob1
2e17b848b1 Make element names a String (unicode support)
This won't be used by official elements, but mods or lua scripts could and do use unicode
2019-03-12 00:10:43 -04:00
jacob1
45b391d9ea Fix updater 2019-03-09 22:09:08 -05:00
jacob1
55e6074942 use override in all possible places 2019-03-09 21:07:32 -05: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
9e110cba73 zoom api changes: throw errors instead of returning bools, zoomEnabled takes book as arg, some small refactoring 2019-03-05 23:43:41 -05:00
ssccsscc
a06124a5a9 Fixed typo
Fixed typo in function for detection mouse inside zoom
2019-03-05 23:43:41 -05:00
ssccsscc
1355a4363e Added Lua function for working with zoom 2019-03-05 23:43:41 -05:00
ssccsscc
a9b862645a Added Lua function for working with zoom 2019-03-05 23:43:41 -05:00
jacob1
d4c638869f Increase local browser ui size 2019-03-03 23:48:12 -05:00
jacob1
3bb75ca951 Tick Client 10 times a second, makes thumbnails appear way faster 2019-03-03 23:47:54 -05:00
jacob1
772148900e Fix stamp and local save thumbnails being stretched 2019-03-03 23:45:33 -05:00
jacob1
d021cbb5cf USE_SDL is no longer used 2019-03-01 09:58:07 -05:00
jacob1
dd3d9dfaad change a bunch of virtual to override (should fix annoying mac compile warnings) 2019-03-01 00:07:31 -05:00
jacob1
79aef1dab6 prevent weirdness when ctrl/shift/alt key event is canceled 2019-02-24 15:29:02 -05:00
jacob1
1536736b33 allow using element names as argument 2 to tpt.set_property again 2019-02-23 18:05:11 -05:00
jacob1
768202ca9b Version 94.1 2019-02-21 00:23:45 -05:00
jacob1
28bfa9dfc9 GoL is now affected by stasis wall 2019-02-20 23:25:28 -05:00
jacob1
45ee6780d9 Recreate window when toggling "altFullscreen" while fullscreen is enabled
Fixes bug where half of the window gets cut off
2019-02-20 22:20:49 -05:00
jacob1
3fb134f814 Fix issue on qwertz keyboard layouts where the first key input after opening the console would be ignored
This seems like a hack, but I think it's the intended way to do this?
2019-02-20 22:12:22 -05:00
jacob1
646935edb3 Fix local saves with "." having their name cut off, add a warning for a few invalid file names 2019-02-19 23:24:39 -05:00
jacob1
16d686e949 fix replace mode semicolon shortcut 2019-02-19 21:53:44 -05:00
jacob1
08cd32abbe use scancode instead of keycode for most keyboard shortcuts
keys like 0-9, tab, enter, ctrl/shift/alt, ins, and del are still looking for keys instead of scan codes, just in case (but I expect them to be always equivalent anyway)
2019-02-19 21:46:56 -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
a979917744 Version 94.0.342 2019-02-17 14:08:04 -05:00
jacob1
a1caa44107 Linux: put old tpt icon back (128x128 version) 2019-02-16 19:44:38 -05:00
jacob1
46cd49ba24 Fix uncaught exception in console when trying to parse invalid numbers 2019-02-16 19:20:55 -05:00
jacob1
25c1b13bd4 improve find tool handling with GoL, can now find specific life elements
Reverts most of LBPHacker's previous commit, lol
2019-02-16 19:13:05 -05:00
Tamás Bálint Misius
4ff1dc0bc3 Fix a few more random PMAPBITS issues 2019-02-16 18:57:51 -05:00
jacob1
240bb3bd92 restrict saves to version 94.0 when they use newer elements / features 2019-02-10 22:02:17 -05:00
jacob1
edba703aab don't allow right click -> select a save when you aren't logged in 2019-02-07 23:30:09 -05:00
jacob1
6869612561 Update README date 2019-02-03 12:49:16 -05:00
wolfy1339
a2bb531c46 Remove inclusion of deprecated C++ headers 2019-01-31 20:09:15 -05:00
jacob1
abce030d5d ignore mouse button 4/5 when drawing, fixes #626
perhaps in the future we'll add a use to these
2019-01-31 20:06:09 -05:00
jacob1
4593a95405 going back to old icon for now. Also Windows icon is now centered, and linux icon has higher 128x128 resolution. 2019-01-26 00:46:43 -05:00
jacob1
28d7b56bda Change MotD links to https 2019-01-24 00:03:14 -05:00
jacob1
dcd08a343e newer icon, @Mrprocom added a gradient and I removed the shadow
.svg files were used to generate the .png files but are both out of date
android icon will likely be a brown circle with a SAND colored pile
2019-01-23 22:56:15 -05:00
jacob1
82bdf4a777 Fix macOS data directory (for real this time, I think) 2019-01-22 00:26:29 -05:00
jacob1
af20029e08 Files for new icon
Still not entirely final, may change android (circle) icon a bit, and not sure if the mac icon works
2019-01-20 12:53:39 -05:00
jacob1
87f17fd7c3 in mac version, download the update file using a browser
not possible to update executable inside app packages anymore
TODO: update website to serve .dmg link instead
2019-01-19 11:54:43 -05:00
jacob1
e8b4256503 Fix gravity sometimes persisting a frame after ctrl+z / clearing sim, fixes #571 2019-01-14 21:11:06 -05:00