68 Commits

Author SHA1 Message Date
comp500
ecaab219c2 Port hashing stuff to Kotlin 2019-12-19 14:58:07 +00:00
comp500
b45a2983e7 Start porting to Kotlin 2019-12-19 12:25:20 +00:00
comp500
c0c318772b Improve file check speed, apparently Files.exists is slow 2019-09-04 03:03:29 +01:00
comp500
580408b92a Accept optional mods on the server rather than throwing an exception 2019-08-30 14:52:06 +01:00
comp500
dbdd1fb9f3 Ensure CLI is closed when update is done 2019-08-30 13:57:43 +01:00
comp500
79a983bc2f Don't invalidate files that aren't on the current side 2019-08-30 03:39:15 +01:00
comp500
0cba5ba17b Ensure index and pack files are rechecked after errors 2019-08-12 02:17:28 +01:00
comp500
b314fc8e0b Fix case-sensitivity for standard hashes, add more hash support 2019-08-12 01:37:02 +01:00
comp500
ca4a13589d Fix crash on empty index file 2019-08-11 22:37:42 +01:00
comp500
d21668afa6 ALWAYS IMPLEMENT .hashCode() if its gonna be in a map 2019-08-11 18:08:40 +01:00
comp500
7946377159 Implement optional mods and cancel buttons 2019-08-11 17:49:56 +01:00
comp500
5a54a90f59 Create a wrapper around URIs to fix issues with spaces 2019-08-11 14:36:08 +01:00
comp500
465e4973ba Use ExceptionListWindow to present errors 2019-08-11 01:45:39 +01:00
comp500
ea60175514 Make handleExceptionAndExit better, fix some stuff 2019-08-11 01:14:39 +01:00
comp500
78f5d76fe9 Add showExceptions 2019-08-11 01:01:52 +01:00
comp500
452ab15cc7 Add new GUI code from windowbuilder, fix a thing 2019-08-11 00:53:29 +01:00
comp500
87b00f316a Fix ordering of locationing 2019-08-10 20:13:07 +01:00
comp500
1623c0f880 Correct dialog parentage 2019-08-10 20:08:02 +01:00
comp500
46bbc9b82e Enable text wrapping on the option description 2019-08-10 19:52:19 +01:00
comp500
02b50be782 Ensure files are removed when they need to be 2019-08-10 19:43:41 +01:00
comp500
e6637b9af8 Wrong use of boolean, should be different 2019-08-10 19:37:14 +01:00
comp500
afd8e85754 Change text 2019-08-10 19:30:39 +01:00
comp500
37a1464e11 Make intellij happy 2019-08-10 18:31:12 +01:00
comp500
54fd84a6d8 Add proper options dialog (I do GUI in Windowbuilder usually) 2019-08-10 18:29:40 +01:00
comp500
dcf8d21aad Whoops, I am bad programmer 2019-08-10 02:18:02 +01:00
comp500
b22edf920e whoops i java 11'd 2019-08-10 01:26:35 +01:00
comp500
4d8e695fc4 Add cancellation from options list 2019-08-09 20:17:01 +01:00
comp500
a9bd83e96b Implement some stuff, edge case checks, intellij optimisations 2019-08-09 18:15:47 +01:00
comp500
ae085743be Finally, there are no more errors in UpdateManager. Now to actually make it work 2019-08-09 18:03:34 +01:00
comp500
ad79cb3b21 Very fun indeed 2019-08-09 16:31:29 +01:00
comp500
320e56e74e Start rewrite of downloading system, THIS IS SCARY HELP 2019-08-09 15:40:18 +01:00
comp500
bd95bc15ad Thanks IntelliJ. ThintelliJ. 2019-08-07 13:21:15 +01:00
comp500
794b817eff
Check for cachedFiles existing 2019-07-04 01:08:24 +01:00
comp500
a5ff63c587
Correctly handle file invalidation 2019-07-03 23:12:11 +01:00
comp500
34a86ffb7d
Handle renamed files correctly, log invalidation 2019-07-03 22:49:08 +01:00
comp500
780efe2c9f
Remove files correctly, redownload when deleted 2019-07-02 23:32:00 +01:00
comp500
d1647764c4
Implement preserve and alias in index 2019-06-24 17:47:17 +01:00
comp500
12bf090895
Fix hash serialisation in JSON, check index hash 2019-06-24 17:27:28 +01:00
comp500
533c7a3ed5
Gson isn't broken, I'm broken 2019-06-24 03:41:33 +01:00
comp500
d18e134140
Better error reporting, fix NPE (stupid Gson) 2019-06-24 03:38:19 +01:00
comp500
165c8cc172
Add murmur2 support 2019-06-24 03:23:26 +01:00
comp500
d986b39aa5
Fix URI parsing, hash checking, NPEs, create dirs 2019-06-24 02:09:19 +01:00
comp500
040bb955ec
Download the right file 2019-06-21 16:36:39 +01:00
comp500
022af4b5c5
whoops, forgot to remove that one 2019-06-21 16:17:38 +01:00
comp500
442fb93ca8
Rewrite *everything* to use Okio 2019-06-21 16:14:25 +01:00
comp500
81c1ebaa15
Commit WIP downloading process 2019-06-21 14:28:41 +01:00
comp500
917d10c448
Add more deserialisation classes 2019-06-20 17:08:30 +01:00
comp500
26c3261848
uhhhhhhhhh Added IndexFile i guess 2019-06-20 14:22:15 +01:00
comp500
fbd54b4604
Redo hashing sytem, pack file reading, write json 2019-06-12 14:28:38 +01:00
comp500
8be5cb8e60
Null safety, better exception handling, check strm 2019-06-08 14:31:52 +01:00