Commit graph

188 commits

Author SHA1 Message Date
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
Matthew Messinger
192ed73809 Fix skin menu not showing ponies 2017-06-16 04:07:07 -04:00
Matthew Messinger
825fc22f55 Fix mappings for hdskins 2017-06-16 02:11:38 -04:00
Matthew Messinger
a165477108 Fix entities not rendering after reloading resources 2017-06-13 05:10:34 -04:00
Matthew Messinger
df7c04ad30 Fix build error 2017-06-13 04:01:32 -04:00
Matthew Messinger
c9d7a394ad Update to 1.12
Changes:
 * Added a base layer class which can intelligently switch between pony and human.
 * Skins no longer are "converted" when they are already in the new format.
 * Illagers now use the existing model and texture format.
 * Metadata can now be read from the .mcmeta file (taken from old illagers)
 * Non-converted resources are no longer re-uploaded
 * (1.12) Parrots are rendered on the head instead of shoulders
2017-06-13 03:31:01 -04:00
Matthew Messinger
370e8e3af3 fix nullables and formatting 2017-06-13 01:27:30 -04:00
Matthew Messinger
4fbf5b8a22 Delete the cache file when a 404 error occurs.
This will prevent the file from being loaded again if the connection fails in the future.
2016-12-30 00:44:35 -05:00
Matthew Messinger
a194aed282 Add a status check for 404 in the skin download.
Should not load from the cache if the skin was deleted.
2016-12-30 00:06:39 -05:00
Matthew Messinger
e87c550f2b Use an etag for caching instead of md5.
Release for 1.11.2
2016-12-27 18:56:50 -05:00
Matthew Messinger
50e29823d7 put skin cache back in the skins folder and clear the internal cache when needed. 2016-12-27 01:57:58 -05:00
Matthew Messinger
08860dd13e Fix hanging when loading several skins at once.
Fixes #25
2016-12-25 20:28:08 -05:00
Matthew Messinger
d73f82173a Inline the skins localizations. 2016-12-21 01:22:55 -05:00
Matthew Messinger
8971183121 Add support for uploading elytras. 2016-12-21 01:20:02 -05:00
Matthew Messinger
3dce2be978 Don't "convert" a skin if it's an elytra or cape. 2016-12-20 01:36:34 -05:00
Matthew Messinger
e38611637a Fix forge issue by using a anonymous class for minecraft interfaces. 2016-12-20 01:35:20 -05:00
Matthew Messinger
33390c66d4 Fix missing wing when using optifine.
Why didn't I think of this earlier?
2016-12-08 04:02:22 -05:00
Matthew Messinger
bb469b725c Fix skin uploading 2016-12-02 10:50:46 -05:00
Matthew Messinger
ef0f069e34 Code cleanup. 2016-11-25 00:37:49 -05:00
Matthew Messinger
b972fda9af Remove remote player skin metadata XP
Also use java 8.
2016-11-24 02:26:02 -05:00
Matthew Messinger
7725da0710 Fix langs for hdskins. 2016-11-22 16:16:06 -05:00
Matthew Messinger
9fd9a1b7ec Add breezies as the vex. 2016-11-17 01:01:38 -05:00