Commit graph

260 commits

Author SHA1 Message Date
Matthew Messinger
d82af57b3c Revert "The result shouldn't be null, and if it is null you REALLY SHOULDN'T LOOP ON IT INDEFINITELY"
This reverts commit 5ab8126
2018-09-03 15:52:35 -04:00
Matthew Messinger
e8217aa9c0 Revert "Revert "Fix legacy skin changing issue. The ETag is now included in the hash.""
This reverts commit 74c1e6f
2018-09-03 15:52:14 -04:00
Sollace
5ab8126b70 The result shouldn't be null, and if it is null you REALLY SHOULDN'T LOOP ON IT INDEFINITELY 2018-09-03 19:24:53 +02:00
Matthew Messinger
9956824861 No 2018-09-03 19:23:33 +02:00
Sollace
db4d9132e5 This class exists 2018-09-03 18:47:26 +02:00
Sollace
e03343b8ae You don't need to do this
# Conflicts:
#	src/hdskins/java/com/voxelmodpack/hdskins/mixin/MixinNetworkPlayerInfo.java
2018-09-03 18:46:14 +02:00
Sollace
74c1e6ffe1 Revert "Fix legacy skin changing issue. The ETag is now included in the hash."
This reverts commit 0b30c127c4.
2018-09-03 18:44:41 +02:00
Matthew Messinger
e6b6a61176 Fix race issue related to skin parsing. 2018-09-03 11:52:51 -04:00
Matthew Messinger
aa8ba2b3a6 Legacy doesn't support metadata. 2018-08-31 21:11:43 -04:00
Matthew Messinger
0b30c127c4 Fix legacy skin changing issue. The ETag is now included in the hash. 2018-08-31 20:21:10 -04:00
Matthew Messinger
fb20785d55 Fix NPE and clean up cache clear stream. 2018-08-30 18:19:46 -04:00
Matthew Messinger
031d1ddd33 Fix model updating on NPCs that are not in the player list. 2018-08-29 23:03:50 -04:00
Matthew Messinger
1dc22f4ed4 Fix console spam when server sends a broken texture profile. 2018-08-26 18:31:02 -04:00
Matthew Messinger
91f741fa08 Fix PonyLevel.PONIES not working correctly. 2018-08-26 18:30:04 -04:00
Matthew Messinger
f54e54da40 Fix skulls causing Pony to load before the texture is loaded. 2018-08-26 16:35:15 -04:00
Matthew Messinger
dfcae69ab7 Fix warnings when reloading vanilla client skin. 2018-08-26 15:31:46 -04:00
Matthew Messinger
8b779f57b2 Fixup mixin warnings 2018-08-25 22:54:06 -04:00
Matthew Messinger
e38856aee7 Add skin parser used to populate metadata based on the image data 2018-08-25 22:40:07 -04:00
Sollace
75b6c21b56 Don't do this. The line breaks mess with logging 2018-08-26 03:39:59 +02:00
Matthew Messinger
8eb19c117f Quick fix for mixin conflict which caused ponies to be broken 2018-08-25 16:53:42 -04:00
Matthew Messinger
ca48785add Clear all skins and actually re-load them when clearing the cache. 2018-08-24 23:35:18 -04:00
Matthew Messinger
c10c61b73b Don't know how this didn't get committed. 2018-08-24 21:58:35 -04:00
Matthew Messinger
981cd002b3 Slightly rewrite texture loading so it is better adaptable.
Also exposes metadata more
2018-08-24 21:55:45 -04:00
Matthew Messinger
72324feaf3 Fix file lock issues with the skin cache 2018-08-24 21:38:29 -04:00
­Sollace
dccd41a804
Merge pull request #94 from PolyacovYury/patch-1
Yet another ru_ru update
2018-08-23 15:08:21 +02:00
Sollace
dc05d1baad Reword the skin save dialog as an actual saving dialogue 2018-08-23 15:07:33 +02:00
Matthew Messinger
58b0fd2630 Speed up loading of save dialog.
Pick save location, then download.
Also removes the callback because the button is updated in updateScreen
2018-08-22 20:11:17 -04:00
Matthew Messinger
6ef13d9e9a Make DummyWorld singleton. 2018-08-22 20:11:16 -04:00
Sollace
0ef8f810d7 Properly detect when a server's texture is in use 2018-08-23 01:35:39 +02:00
Sollace
68fcde4c2c Move cache busting to legacy server itself 2018-08-23 01:26:50 +02:00
Sollace
ee00330c83 Latter check is always true :/ 2018-08-23 01:13:33 +02:00
Sollace
fef22c8223 .equals 2018-08-23 01:13:08 +02:00
Sollace
b46c082ae3 Only offer a save dialog if the response was ok 2018-08-23 00:49:58 +02:00
Sollace
f90814a730 Bust the cache. Always bust the cache. Serious I am sick of this cache. 2018-08-23 00:45:53 +02:00
Sollace
ee61b56ceb Only enable the clear/download buttons when there is something to clear/download 2018-08-23 00:42:54 +02:00
PolyacovYury
bb2b7b935b
Yet another ru_ru update
Terribly sorry for spam. Noticed these only when IDEA's MCDev plugin shouted at me..
2018-08-22 23:57:01 +03:00
PolyacovYury
dbecf63e75 ru_ru.lang: too long text for that tiny button (#93)
Also removed redundand lines that were moved to MineLP's lang.
2018-08-22 16:26:44 -04:00
Sollace
6648655830 Fixed legacy skin servers not running asynchronously 2018-08-22 16:34:49 +02:00
Sollace
67e756f6dd Reload the remote after doing an upload/clear 2018-08-22 16:25:36 +02:00
Sollace
a4f93686df Fixed completable future not completable futuring 2018-08-22 16:12:35 +02:00
Sollace
3cc26b7cd1 Fixed fetching skin message never being cleared 2018-08-22 15:45:18 +02:00
Sollace
488523670f Fixed gl error when load a skin from the server 2018-08-22 15:00:21 +02:00
Sollace
57688aab0d Fixed steve model not sneaking correctly 2018-08-22 15:00:00 +02:00
Sollace
60fbd430b3 Update all the buttons together 2018-08-22 14:59:48 +02:00
­Sollace
fb767c698d
Merge pull request #91 from PolyacovYury/patch-1
Update ru_ru.lang
2018-08-22 01:07:00 +02:00
Sollace
3b27044f6c Translate the status message from the uploader 2018-08-22 01:05:13 +02:00
PolyacovYury
159782df69
Update ru_ru.lang
This was kinda unexpected. Had to pull out my A-game at 2 A.M...
2018-08-22 01:57:38 +03:00
Sollace
baa5982889 By the magic of trignometry, let them be.... really dang creepy. 2018-08-22 00:10:44 +02:00
Sollace
9c10efe6ec Don't forget to clear the online status! That was almost a very minor bug 2018-08-21 23:25:35 +02:00
Sollace
d9e9d6ddec Update lang files (sort of) 2018-08-21 21:22:43 +02:00
Sollace
475d545887 Split up the GuiSkins by concern (There is now a skin chooser and an uploader, and the gui only has gui stuff) 2018-08-21 21:18:20 +02:00
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