Commit graph

148 commits

Author SHA1 Message Date
Matthew Messinger
f8e54dfd90 Remove pointless instance field from GuiSkins 2018-08-19 18:09:39 -04:00
Matthew Messinger
99eed8570d GuiSkins no longer has a concept of a gateway server.
Servers are now selectable by clicking the "?" button.
2018-08-19 17:55:38 -04:00
Matthew Messinger
95107ddeed Fix error when downloading new skins. 2018-08-19 16:52:47 -04:00
Matthew Messinger
fbd7528993 Rewrite a bulk of ThreadDownloadImageETag to be more modern. 2018-08-19 14:52:24 -04:00
Matthew Messinger
1b8333e130 Delete unused Later class 2018-08-19 13:40:17 -04:00
Matthew Messinger
af398e6d85 Revert "Refactors for AvatarAPI Won't compile yet because AvatarAPI isn't on maven yet."
This reverts commit a24b6a1
2018-08-18 23:44:32 -04:00
Matthew Messinger
a24b6a108c Refactors for AvatarAPI
Won't compile yet because AvatarAPI isn't on maven yet.
2018-08-18 23:41:30 -04:00
Sollace
902571198b Remove more unused imports 2018-08-15 17:45:43 +02:00
Matthew Messinger
38a2fcd7c0 Fix mappings (forgot to build) 2018-08-14 20:00:16 -04:00
Sollace
79f7de8f51 Properly render tooltips inside litepanes and add a warning label to the experimental skin drop 2018-08-14 23:46:27 +02:00
Sollace
73ff4bdec1 Fix compile errors due to rebase (Killjoy) 2018-08-13 08:23:58 +02:00
Sollace
d5efe0d3f6 (reported by Poly) Fix head position and vertical alignment issues when sneaking 2018-08-13 08:14:38 +02:00
Sollace
20cec41037 Store last chosen file in the config 2018-08-13 08:14:38 +02:00
Sollace
9dbd80ca8e Added jumping and sneaking when previewing a skin 2018-08-13 08:14:37 +02:00
Sollace
fe06800823 Fixed lighting and rendering shenanigans 2018-08-13 08:14:37 +02:00
Sollace
78a756f9c3 Move the GuiItemStackButton to live with the rest of the gui classes and improved error message handling 2018-08-13 08:14:36 +02:00
Sollace
29c72f654c Split the elytra button into its own toggle 2018-08-13 08:14:36 +02:00
Sollace
24934638fd (requested by Poly) Use translation strings for all the options! 2018-08-13 08:14:35 +02:00
Sollace
25230a384c Fix layering of tooltips and make buttons more hmmmhmmmhmmm 2018-08-13 08:14:35 +02:00
Sollace
063d9bfbd0 Arrange buttons 2018-08-13 08:14:35 +02:00
Sollace
73f0eddf01 Rewrite SkinsGui using the new-age gui classes 2018-08-13 08:14:34 +02:00
Sollace
485ef8e3fc Add some colour to the skin server info window 2018-08-13 08:14:33 +02:00
Sollace
01bdac7ed8 Split duplicated code out to LocalTexture 2018-08-13 08:14:33 +02:00
Sollace
40866cc22b Fixed remote preview player not being scaled correctly 2018-08-10 20:18:28 +02:00
Sollace
4770585685 Make the reflections slightly more reflection-y 2018-08-10 19:57:58 +02:00
Sollace
9780379a9e Check for empty-ish strings, not just null 2018-08-10 19:54:11 +02:00
Sollace
d19b649d6d Fix and update error handling for bethlehem 2018-08-10 19:54:11 +02:00
Matthew Messinger
6f1837a46f MoreHttpResponses : use getReader() more 2018-08-07 22:03:12 -04:00
Matthew Messinger
f8ee05ca11
SkinServer updates (#83)
SkinServer update:
 * loadProfileData was unwrapped from Optional. Now it throws an exception.
 * getPreviewTextures is now a CompletableFuture so it won't lag GuiSkins
 * arguments for uploadSkin were condensed into a single object
 * Added a class wrapper for getting different http response types
 * HttpClient is now a singleton which lives in SkinServer.httpClient
2018-08-05 18:35:13 -04:00
Matthew Messinger
74fef1a240 Re-authorize if token has expired. 2018-07-28 01:47:16 -04:00
Matthew Messinger
c60cd9dae6 Show the root cause on upload failed. 2018-07-28 01:22:36 -04:00
Matthew Messinger
4db140c973 Content encoding might be null. It doesn't really matter anyway. 2018-07-28 01:22:21 -04:00
Sollace
7b5f99028b Correct typo 2018-07-25 17:32:19 +02:00
Matthew Messinger
a72fdfdf7f
Fix other logic error in legacy 2018-07-23 18:18:20 -04:00
Matthew Messinger
ea3971dd50 fix logic error in legacy 2018-07-22 16:52:06 -04:00
Matthew Messinger
5b837150aa Fix error in legacy skin uploads 2018-07-22 16:02:27 -04:00
Matthew Messinger
8c03c42a3a Merge branch 'master' of https://github.com/MineLittlePony/MineLittlePony
# Conflicts:
#	src/hdskins/java/com/voxelmodpack/hdskins/skins/ValhallaSkinServer.java
2018-07-22 15:52:09 -04:00
Matthew Messinger
7af8fa50e1 Better error handling for valhalla 2018-07-22 15:47:34 -04:00
Matthew Messinger
c5fca4c977 Hide the file dropper on exit. 2018-07-22 15:45:29 -04:00
­Sollace
0d9b599c56 Bethlehem (#77) 2018-07-22 15:25:55 -04:00
Sollace
f48080a755 Move GLWindow creation to onInitComplete() instead of init(). Now THERE'S yer problem 2018-07-22 17:33:11 +02:00
Matthew Messinger
8e663c81d3
Merge pull request #74 from MineLittlePony/valhalla
Valhalla Implementation
2018-07-14 10:54:30 -04:00
Matthew Messinger
540ed43178 Make SkinServer json serializable and add a button go skins menu to show current gateway server. 2018-07-13 23:05:21 -04:00
Sollace
910dbd43c0 Move DWorld -> DummyWorld 2018-07-11 20:53:26 +02:00
Sollace
534f1642ab I Identify as a client world! 2018-07-11 20:49:42 +02:00
Sollace
11ce47f3de Fixed crash due to the preview entity's world being null 2018-07-11 10:50:33 +02:00
Sollace
808efacfbe Reimplement the old file dropper as a fallback and dispose all window frames when the GLWindow is disposed 2018-07-10 19:41:03 +02:00
Sollace
2b1ef25f96 Fixed file select sppearing behind the window when experimental skin drop is disabled 2018-07-10 18:30:18 +02:00
Matthew Messinger
a34cfed3bf Prevent preview textures from calling the skin server multiple times for each skin time. 2018-07-09 11:53:22 -04:00
Matthew Messinger
d802e5335d Merge branch 'master' of https://github.com/MineLittlePony/MineLittlePony into valhalla 2018-07-08 18:05:44 -04:00