Commit Graph

282 Commits

Author SHA1 Message Date
c20f34de41 Made game options container have a darkened color and edge border to stand out more 2022-05-03 11:40:47 -05:00
c735ffc5f4 Updated Community news to use new format, updated Game page redesign to use 300x300 instead of 346x346 so that the image is integer scaled by 2x 2022-05-03 11:34:34 -05:00
ef477cfdd5 Improvements 2022-05-02 19:09:53 -05:00
ed2c1929e7 Reenabled update and download icons for games list, fixed game banner clipped on right side, channel selector is now hidden if there is less than 2 available 2022-04-26 12:48:07 -05:00
3271f20b97 Improve appearance of Install Update, Install, and Import buttons 2022-04-26 09:47:33 -05:00
50fc8ab6ff More Game page UI reworking 2022-04-25 20:10:35 -05:00
26a3d98d67 Tweaked layout for Interface and Games page, initial work on offline mode (will crash atm if offline mode is triggered) 2022-04-25 16:24:22 -05:00
4216a2d580 Testing OWA's design out, stubbed VK_HUD and MANGO_HUD methods in ApplicationManager which need to be connected to a setting 2022-04-23 13:48:41 -05:00
b230ba88c8 Updated dialogs and welcome screen 2022-04-04 10:55:10 -05:00
095edbbe36 Numerous tweaks to layouts to make them format nicer for a resizable window 2022-04-04 09:55:17 -05:00
d057dc96ec Fixed crash when fetching user avatar on login 2022-04-04 08:02:56 -05:00
b73826ed1f Progress towards a resizable launcher window 2022-04-03 13:08:28 -05:00
4e469cb12c Improved server nickname validation 2022-03-23 23:04:03 -05:00
4e0b013a93 Don't log server updates, way to verbose 2022-03-23 21:34:24 -05:00
b5fc3e9239 Use proper logging, more errors from tasks should now trigger showing the error dialog instead of siliently failing 2022-03-23 15:09:51 -05:00
57bcff8019 Added some net locks to prevent fetching news while a fetch is already in progress 2022-03-20 18:28:19 -05:00
8766ed7d86 Fixed race condition where images for user avatar or news icons were not blocking execution until after they were downloaded causing a possible crash due to trying to save and load at the same time (sometimes also causing images to be only partly saved making them corrupt causing another crash) 2022-03-20 13:51:52 -05:00
76ca7e369f Added packaging support for windows (windows is still glitchy/crashy when it comes to downloading images) 2022-03-18 18:33:44 -05:00
8ba577d5fd Fixed boot saving in a thread causing png based icons to be blank, improvements to server browser to show same team and score data as android app, fixed settings page not using a find height for containers causing them to not position properly on initial gui regeneration, task fail fast now checks for write access to target path, fail fast now raises an exception to prevent incorrect fail fast check from being reported. 2022-02-21 09:29:40 -06:00
9be118b1ad Added prototype welcome screen 2022-02-19 15:56:54 -06:00
a5fa7507b5 Fixed infinite stack dive 2022-02-13 08:54:31 -06:00
3ffbc2892c Auto import any game installed by the official launcher at start up, should also pick up updated version strings now that it is run for 'installed' games. 2022-02-12 20:05:34 -06:00
f2edc30bbb Fixed crashes, added W3DHUB_DEBUG constant, reduced size of Excon download buffer from 4 MB to ~50KB to make ui able to more accurately show download activity 2022-02-12 12:40:08 -06:00
232ed2032f Window is no longer a fiber, should prevent window from locking up due to a fiber not yielding, replaced ui's direct async calls with BackgroundWorker.foreground_job, show pulsing circle behind app logo on boot 2022-02-12 09:03:46 -06:00
202966fd08 Drafted async-http downloader, fixed not correctly fetching icons at startup 2022-02-10 22:40:51 -06:00
e267a17c76 Fixed crash on Windows due to not ensuring file mode is binary for saving app icons 2022-02-07 13:31:35 -06:00
a9f5c29a18 Fixed ICO implementation having a top and left offset for bitmap images, icons are now fetched at start up instead of statically being included (More work needed to fetch them after logging), fixed importer incorrectly storing executable basename instead of dirname 2022-02-07 10:18:40 -06:00
fd7c858bd8 Stubbed multicast server, require ico parser 2022-02-06 09:29:40 -06:00
aef62b423f ICO parsing of 32-bit icons now possible, added default_icon image for missing app icon 2022-02-06 08:35:38 -06:00
af95acbd4d Downgrade async gem to 1.30.1 until 2.0+ is more stable (getting: Errno::EPERM: Operation not permitted - IO_Event_Selector_EPoll_io_wait:epoll_ctl, when trying to cache a file) 2022-02-05 20:10:48 -06:00
ff1ffca3c5 Fixed crash due to encoding error while patching a certain always.dat 2022-02-05 10:56:24 -06:00
d709e86e14 Updated gemfile.lock, fixed crash on windows when trying to repair data/ -> Data/ when windows thinks they're the same. 2022-02-05 08:09:02 -06:00
610bee05eb Initial ICO parsing 2022-02-04 20:15:10 -06:00
e3cb9805fe Fixed token refresh happening to often at startup, replace missing game icon image with question mark, add support for more wwconfig.exe naming funkiness... 2022-02-04 18:36:20 -06:00
7da254fd61 Changed how account data is stored, authorization header is now sent when logged in, adjusted spacing game filters for server list, fixed crashing when trying to load icon for game whos icon is not present, a bit of code cleanup to Api to use Async::HTTP::Client over Async::Internet directly (for everything except get requests), probably a few misc. changes 2022-02-04 08:59:15 -06:00
4996315aeb Made games list and game menu scrollable, added ENV["SDL_VIDEO_ALLOW_SCREENSAVER"] to enable system to sleep when idle with launcher still open 2022-01-18 18:56:31 -06:00
484c5891f4 Use gosu's new Window#gain/lose_focus callbacks to reduce update interval when window is not focused 2022-01-10 20:14:11 -06:00
1b91191d90 Server Browser is now properly updated like the offical launcher- just a bit more flashy due to taking 100+ ms to regenerate ui elements 2021-12-30 18:56:56 -06:00
1214c35fb5 Fixed application taskbar not hiding after task completion, implemented basic uninstaller task, server browser is only told to update from updater if server data has actually changed, added Interface.instance method- fixes assuming window.current_state is a Interface instance. 2021-12-30 15:47:42 -06:00
d880d1525f Put a bandaid on Api.package_details by using Async::HTTP::Client instead of directly using Async::HTTP::Internet- TODO: use :Client instead of ::Internet, enabled verify_files task in installer 2021-12-29 08:37:54 -06:00
82add3cc9d Brought back Excon for package downloading as the method recommended by async-http is unreliable, added support for importing games, repairer and updater tasks are both now simple subclasses of installer, implemented verify_files for checking installed files to prune download package list (currently causes Api.package_details to fail..., so disabled for now), misc. changes. 2021-12-28 17:55:40 -06:00
f4aa666386 Removed settings and download manager icon buttons and moved to proper navigation 'links', Cache.install_path checks settings for games install path before defaulting 2021-12-27 22:15:17 -06:00
0f943252c5 Websocket based server list updater now works, gui needs a bit of work to not flash when refreshing list 2021-12-27 20:48:30 -06:00
92f6a76381 Almost functional websocket based server list updater 2021-12-27 18:37:02 -06:00
822a9a8971 Added some comments 2021-12-27 17:08:46 -06:00
93cc161f4c Finished removing usage of Excon- package download reimplemented (TODO: see if it's possibly to not need to make n requests to endpoint to emulate excon's chunked downloading), raise Async::Stop when window is closed to shutdown reactor 2021-12-27 09:56:09 -06:00
55191f143a Added option to force fetch to Cache.fetch, force user profile picture to be fetched on start up or on login 2021-12-26 21:32:54 -06:00
e87f14079d Added semi-functional websocket implementation of signalR for live server list changes (seems a bit chatty though with some servers only having time remaining changing, fixed crash when a user has an active login but their profile picture was removed, fixed not explicitly saving Cache.fetch'ed items as binary 'wb' resulting in corrupt profile image. 2021-12-26 21:23:53 -06:00
52e46eced5 Finished evicting Thread- probably more fiber scheduling to do while I figure out how to put Tasks into a Ractor 2021-12-26 13:46:48 -06:00
2bbb2acc6e Replaced most Excon + Thread calls with Async 2021-12-26 09:20:25 -06:00