Commit graph

209 commits

Author SHA1 Message Date
Sollace
72a676b4bb Fix lighting errors on the skins gui 2018-08-20 20:51:34 +02:00
Sollace
f4395e286a Sssecrets 2018-08-20 20:51:24 +02:00
Sollace
b84a38f465 Now I'm calling it 2018-08-20 14:59:33 +02:00
Sollace
ed44f0b4be Remove deprecated code 2.0 2018-08-20 14:45:08 +02:00
Sollace
bb39a312c6 Added a button to download your skin 2018-08-20 14:19:42 +02:00
Sollace
8ef6c30a6d Revert: Remove deprecated code 2018-08-20 14:18:50 +02:00
Sollace
940223dcf0 Fix typo 2018-08-20 14:16:33 +02:00
Sollace
f7debac354 Fixed a horrible mistake 2018-08-20 13:49:06 +02:00
Sollace
869f4b6b5f Don't skip if/when deleting assets folders fails 2018-08-20 12:51:11 +02:00
Sollace
304f521e51 Simplify callback handling 2018-08-20 12:46:45 +02:00
Sollace
993078ec40 Remove deprecated code 2018-08-20 10:37:43 +02:00
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
Matthew Messinger
77b8357f03 Add Valhalla implementation 2018-07-08 03:35:11 -04:00
Matthew Messinger
89ecc9f916 Update SkinServer to be more extensible. 2018-07-08 03:34:35 -04:00
Sollace
5aafc83fd9 Synchronize the create/destroy and instance access to GLWindow... -_- 2018-07-07 18:41:36 +02:00
Sollace
62a0be23ad Fixed preview players acting like they were holding an item after entering and leaving a world 2018-07-07 14:28:13 +02:00
Matthew Messinger
a92a121a5b Revert "Fix spelling mistake and apply custom panoramas to the title screen"
This reverts commit a5b0e187a0.
2018-07-05 22:49:28 -04:00
Sollace
b7d17d594c Synchronize access to GlWindow. This seems to help with freezing 2018-07-03 19:14:30 +02:00
Sollace
a5b0e187a0 Fix spelling mistake and apply custom panoramas to the title screen 2018-07-03 19:07:36 +02:00
Sollace
5e371b2037 Fixed various bugs with skin uploading 2018-07-03 19:06:14 +02:00
Sollace
ec8efcaa76 Remember the last opened location between picking files 2018-07-03 19:04:26 +02:00
Sollace
6cc8e95991 Added seapony support to the skins gui, and some mlp-themed panoramas 2018-07-01 17:33:30 +02:00
Sollace
ef76ae8034 Merge branch 'master' of https://github.com/MineLittlePony/MineLittlePony 2018-06-30 22:28:13 +02:00
Sollace
2a1078f486 Fixed the skins gui panorama looking like trash 2018-06-30 22:27:02 +02:00
PolyacovYury
8852f80171 Updated and fixed ru_ru.lang files (#73) 2018-06-30 11:54:39 +02:00
Sollace
cc92fe33bb Slim, not thin 2018-06-30 00:13:38 +02:00
Sollace
1e52830c91 Added proper alex model support to HDSkins. Skin servers should remember what the "model" parameter was when saving a skin and include it in their responses. 2018-06-29 23:33:05 +02:00
Sollace
9096a015c5 Removed the "InternalDialog" 2018-06-29 18:52:19 +02:00
PolyacovYury
9d73895f1e Commented out the line that causes Forge to whine 2018-06-12 20:33:45 +03:00
Sollace
7b9eaffdbf Fixed the double gui bug 2018-06-10 18:54:50 +02:00
Sollace
ca62866e95 Reimplement the checkbox for enabling/disabling GLWindow for performance 2018-06-10 09:28:48 +02:00
Sollace
0fb1c77137 Fixed 99.9% of the bugs and readd the mixin with clear warnings 2018-06-09 21:57:02 +02:00
Matthew Messinger
d031bb1f43 Remove the mixin from the skin drop and mark it as experimental.
It's disabled by default.
2018-06-09 02:38:40 -04:00
Sollace
9ad00347a9 Sort out some issues with the new window 2018-06-08 22:11:14 +02:00
Sollace
6cc976f1f8 Handle file drop events directly into the client 2018-06-07 19:56:34 +02:00
Sollace
f39d55826c Derpiderderderp 2018-06-06 21:49:12 +02:00
Sollace
b5d8492b31 Cache bust misbehaving servers 2018-06-06 21:05:38 +02:00
Sollace
44e38c0329 Fixed GLContext is not defined. 2018-06-06 19:51:56 +02:00
Sollace
0710d51b23 Properly delete both mojang's and _our_ skin cache 2018-06-06 19:28:53 +02:00
Sollace
086ff5a677 Fixed UI thread not being updated with new file drops 2018-06-03 14:28:59 +02:00
Sollace
28274b76fd Clear the pony cache alongside the skin cache, and fixed windows appearing behind the client 2018-06-03 11:57:22 +02:00
PolyacovYury
8a8feb5b2d Fixed typo in Content-Type request 2018-06-02 16:01:08 +03:00
Sollace
6335e206d9 Sneaky buggers 2018-04-28 12:48:51 +02:00
Sollace
e93c4784ee Build/silence warnings 2018-04-10 14:17:54 +02:00
Matthew Messinger
ae005e3323 Fix freezes for good. This also properly fixes network race issues. 2018-01-03 00:29:32 -05:00
Matthew Messinger
2c592768d3 Fix race condition where one server will respond first if it happens to be faster. 2018-01-02 03:02:08 -05:00
Matthew Messinger
b0e30dbcdc Fix freeze when skull texture payload has no id. 2018-01-02 03:01:24 -05:00
Matthew Messinger
18980c2ca2 First touches on multiple skin server support. 2018-01-02 00:18:50 -05:00
Matthew Messinger
056c0d8baa Update to 1.12.2 2017-10-06 13:22:16 -04:00
Matthew Messinger
6e1689cc66 Update to 1.12.1 2017-08-08 16:33:33 -04:00
Matthew Messinger
4fe2035f81 Update for mixins 0.7. Fixes #35 2017-07-28 14:25:26 -04:00