Commit graph

225 commits

Author SHA1 Message Date
Sollace
10eda59bed Handle the futures stuff in one place 2018-09-06 14:12:28 +02:00
Sollace
dec6ad249f Re-organise package structure 2018-09-06 13:44:41 +02:00
Matthew Messinger
898f5c9ff9 Properly schedule updating the skin 2018-09-05 21:08:08 -04:00
Matthew Messinger
d8913ed245 Extract nullable stream to new util class. 2018-09-04 19:21:58 -04:00
Matthew Messinger
d664cabb1a Remove Flow. It could've just been a single method. 2018-09-04 19:09:24 -04:00
Matthew Messinger
5851b1b46f Don't clear the skins when reloading the textures.
All that really needs to be done is reparse.
2018-09-04 19:08:04 -04:00
Sollace
b8cc905868 Merge "Split up the skinclear stream with some methods" 2018-09-05 00:59:39 +02:00
Matthew Messinger
5d72c4f0b4 Fix parseSkin race condition (final2) 2018-09-04 18:51:07 -04:00
Matthew Messinger
953f17828c Split up the skinclear stream with some methods 2018-09-04 18:50:12 -04:00
Sollace
585912cdfa Random whitespace at the end of a file 2018-09-04 23:54:31 +02:00
Sollace
2c4a03d74b For god's sake space your code out. I can't stand these cramped conditions 2018-09-04 22:49:40 +02:00
Matthew Messinger
a308e0ce96 Improve the stream to reload skins.
Hopefully it's more readable this time.
2018-09-03 16:31:28 -04:00
Matthew Messinger
d84a2051c8 Make the texture null loop more safe.
If the texture isn't there after 1 second, it probably won't be.
2018-09-03 16:25:24 -04:00
Matthew Messinger
8d2caccd01 Move some more classes to util 2018-09-03 15:56:56 -04:00
Matthew Messinger
2bb9e9b61a Fix issues related to skin loading.
Turns out, the anonymous classes were having trouble being deserialized.
2018-09-03 15:56:04 -04:00
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